Generate image for disabled toolbar buttons and menu items.

Fixes #13.

Removed IconMenu class, use add_menu_item/add_menu_item_tr instead.
Added _tr variants that automatically do locale translation
This commit is contained in:
Twan van Laarhoven
2020-05-01 03:26:02 +02:00
parent 8468c5bd93
commit 1fb3f15aff
37 changed files with 355 additions and 414 deletions
+1 -2
View File
@@ -16,7 +16,6 @@ class StatCategoryList;
class StatDimensionList;
class GraphControl;
class FilteredCardList;
class IconMenu;
// Pick the style here:
#define USE_DIMENSION_LISTS 1
@@ -57,7 +56,7 @@ class StatsPanel : public SetWindowPanel {
#endif
GraphControl* graph;
FilteredCardList* card_list;
IconMenu* menuGraph;
wxMenu* menuGraph;
CardP card; ///< Selected card
bool up_to_date; ///< Are the graph and card list up to date?