Stats panel stays up to date when cards change;

Shift+Enter inserts soft line break in text editor (TODO: cursor is moved incorrectly)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@508 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-07-06 16:32:17 +00:00
parent 1ca8c9ec99
commit b3d0d69437
3 changed files with 40 additions and 5 deletions
+9 -1
View File
@@ -26,6 +26,10 @@ class StatsPanel : public SetWindowPanel {
// --------------------------------------------------- : UI
virtual void onChangeSet();
virtual void onAction(const Action&, bool undone);
virtual void initUI (wxToolBar*, wxMenuBar*);
virtual void destroyUI(wxToolBar*, wxMenuBar*);
virtual void onCommand(int id);
// --------------------------------------------------- : Selection
@@ -40,8 +44,12 @@ class StatsPanel : public SetWindowPanel {
GraphControl* graph;
FilteredCardList* card_list;
void onCategorySelect();
bool up_to_date; ///< Are the graph and card list up to date?
bool active; ///< Is this panel selected?
void onChange();
void onGraphSelect(wxCommandEvent&);
void showCategory();
void filterCards();
};