mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Added toolbar and menu for switching between graph layouts
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@914 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -16,6 +16,7 @@ class StatCategoryList;
|
||||
class StatDimensionList;
|
||||
class GraphControl;
|
||||
class FilteredCardList;
|
||||
class IconMenu;
|
||||
|
||||
// ----------------------------------------------------------------------------- : StatsPanel
|
||||
|
||||
@@ -23,6 +24,7 @@ class FilteredCardList;
|
||||
class StatsPanel : public SetWindowPanel {
|
||||
public:
|
||||
StatsPanel(Window* parent, int id);
|
||||
~StatsPanel();
|
||||
|
||||
// --------------------------------------------------- : UI
|
||||
|
||||
@@ -31,6 +33,7 @@ class StatsPanel : public SetWindowPanel {
|
||||
|
||||
virtual void initUI (wxToolBar*, wxMenuBar*);
|
||||
virtual void destroyUI(wxToolBar*, wxMenuBar*);
|
||||
virtual void onUpdateUI(wxUpdateUIEvent&);
|
||||
virtual void onCommand(int id);
|
||||
|
||||
// --------------------------------------------------- : Selection
|
||||
@@ -45,6 +48,7 @@ class StatsPanel : public SetWindowPanel {
|
||||
StatDimensionList* dimensions[3];
|
||||
GraphControl* graph;
|
||||
FilteredCardList* card_list;
|
||||
IconMenu* menuGraph;
|
||||
|
||||
bool up_to_date; ///< Are the graph and card list up to date?
|
||||
bool active; ///< Is this panel selected?
|
||||
|
||||
Reference in New Issue
Block a user