all card lists share the widths of the columns

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@398 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-05-19 18:12:30 +00:00
parent 7a66256ebd
commit 4fc8f88d77
2 changed files with 34 additions and 6 deletions
+7 -4
View File
@@ -112,17 +112,20 @@ class CardListBase : public ItemList, public SetView {
/// Find the field that determines the color, if any.
ChoiceFieldP findColorField();
/// Store the column sizes in the settings
void storeColumns();
public:
public:
/// Open a dialog for selecting columns to be shown
void selectColumns();
private:
private:
/// Store the column sizes in the settings
void storeColumns();
/// All card lists; used to exchange column sizes
static vector<CardListBase*> card_lists;
// --------------------------------------------------- : Window events
DECLARE_EVENT_TABLE();
void onColumnRightClick(wxListEvent& ev);
void onColumnResize (wxListEvent& ev);
void onSelectColumns (wxCommandEvent& ev);
void onChar (wxKeyEvent& ev);
void onDrag (wxMouseEvent& ev);