[Commits] [wesnoth/wesnoth] 6cc2c9: Better errormessage when failing to read schema.cf...
GitHub
noreply at github.com
Fri Aug 7 11:52:21 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 6cc2c93853311a637dc9c6293ef76215a2aa8b3b
https://github.com/wesnoth/wesnoth/commit/6cc2c93853311a637dc9c6293ef76215a2aa8b3b
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-08-06 (Thu, 06 Aug 2015)
Changed paths:
M src/serialization/schema_validator.cpp
Log Message:
-----------
Better errormessage when failing to read schema.cfg
Commit: 1359e6a88573b39eba1b0fdc5c0c8a2f1f0dc3e0
https://github.com/wesnoth/wesnoth/commit/1359e6a88573b39eba1b0fdc5c0c8a2f1f0dc3e0
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M data/gui/default/widget/toggle_button_default.cfg
M data/gui/default/widget/toggle_button_icon.cfg
M data/gui/default/widget/toggle_button_listbox_text.cfg
M data/gui/default/widget/toggle_button_listbox_text_with_icon.cfg
M data/gui/default/widget/toggle_button_radio.cfg
M data/gui/default/widget/toggle_button_tree_view_node.cfg
M data/gui/default/widget/toggle_panel_default.cfg
M data/gui/default/widget/toggle_panel_wml_message.cfg
M data/gui/schema.cfg
M src/gui/auxiliary/widget_definition/toggle_button.cpp
M src/gui/auxiliary/widget_definition/toggle_panel.cpp
M src/gui/dialogs/addon/uninstall_list.cpp
M src/gui/dialogs/campaign_selection.cpp
M src/gui/dialogs/campaign_settings.cpp
M src/gui/dialogs/field.hpp
M src/gui/dialogs/lobby_main.cpp
M src/gui/dialogs/mp_alerts_options.cpp
M src/gui/widgets/control.cpp
M src/gui/widgets/selectable.hpp
M src/gui/widgets/toggle_button.cpp
M src/gui/widgets/toggle_button.hpp
M src/gui/widgets/toggle_panel.cpp
M src/gui/widgets/toggle_panel.hpp
Log Message:
-----------
tristate buttons for gui2
This commit adds the c++ code to add tristate buttons: toggle_buttons and
toggle_panels can now have an arbitrary number of states instead of just 2
(selected and not selected). The number of states is determined by the number
of [state] tags in the widgets definition.
This doesn't add tristate definitions yet, but the plan is to use tristate
buttons later for the headers of sortable lists (No-Sort, Sort-Up, Sort-Down
buttons)
TODO: figure out whether to remove the parameter from tcontrols constructor.
Commit: a4806343f5ca0e17b8b67640a8c6fdd0a38c460b
https://github.com/wesnoth/wesnoth/commit/a4806343f5ca0e17b8b67640a8c6fdd0a38c460b
Author: gfgtdf <f492343 at rmqkr.net>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
A data/gui/default/widget/toggle_button_listbox_header.cfg
M data/gui/default/window/game_load.cfg
M src/gui/dialogs/game_load.cpp
M src/gui/dialogs/game_load.hpp
M src/gui/widgets/generator.cpp
M src/gui/widgets/generator.hpp
M src/gui/widgets/generator_private.hpp
M src/gui/widgets/listbox.cpp
M src/gui/widgets/listbox.hpp
Log Message:
-----------
sortable listboxes for gui2
Fixes http://gna.org/bugs/index.php?23751
Gui2 listboxes can now be sorted. As an example how to use it i changed the
gui2 loadgame dialog to use this new feature.
To make your listbox sortable you have to add togglebuttons/panels with the
id sort_n where n is a number in [0, numer_of_columns) to the [header] of
the listbox, then the listbox will be sorted when a user clicks on that
togglebutton/panel. Also you have to register the comparision functions for
each column with listbox::set_column_order.
Alternatively you can sort the listbox manually by calling listbox::order_by
This feautre still suffers from http://gna.org/bugs/?15763 . But for small
listboxes without scrollbars this is already a good feature.
Commit: d87b8457ed943e526932f70173f4bfaf9cc3d04a
https://github.com/wesnoth/wesnoth/commit/d87b8457ed943e526932f70173f4bfaf9cc3d04a
Author: gfgtdf <tischpapier at gmail.com>
Date: 2015-08-07 (Fri, 07 Aug 2015)
Changed paths:
M data/gui/default/widget/toggle_button_default.cfg
M data/gui/default/widget/toggle_button_icon.cfg
A data/gui/default/widget/toggle_button_listbox_header.cfg
M data/gui/default/widget/toggle_button_listbox_text.cfg
M data/gui/default/widget/toggle_button_listbox_text_with_icon.cfg
M data/gui/default/widget/toggle_button_radio.cfg
M data/gui/default/widget/toggle_button_tree_view_node.cfg
M data/gui/default/widget/toggle_panel_default.cfg
M data/gui/default/widget/toggle_panel_wml_message.cfg
M data/gui/default/window/game_load.cfg
M data/gui/schema.cfg
M src/gui/auxiliary/widget_definition/toggle_button.cpp
M src/gui/auxiliary/widget_definition/toggle_panel.cpp
M src/gui/dialogs/addon/uninstall_list.cpp
M src/gui/dialogs/campaign_selection.cpp
M src/gui/dialogs/campaign_settings.cpp
M src/gui/dialogs/field.hpp
M src/gui/dialogs/game_load.cpp
M src/gui/dialogs/game_load.hpp
M src/gui/dialogs/lobby_main.cpp
M src/gui/dialogs/mp_alerts_options.cpp
M src/gui/widgets/control.cpp
M src/gui/widgets/generator.cpp
M src/gui/widgets/generator.hpp
M src/gui/widgets/generator_private.hpp
M src/gui/widgets/listbox.cpp
M src/gui/widgets/listbox.hpp
M src/gui/widgets/selectable.hpp
M src/gui/widgets/toggle_button.cpp
M src/gui/widgets/toggle_button.hpp
M src/gui/widgets/toggle_panel.cpp
M src/gui/widgets/toggle_panel.hpp
M src/serialization/schema_validator.cpp
Log Message:
-----------
Merge pull request #446 from gfgtdf/sortable_listbox
sortable gui2 listboxes
Compare: https://github.com/wesnoth/wesnoth/compare/2559f9706377...d87b8457ed94
More information about the Commits
mailing list