mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
Put card notes below the card editor if they fit there (dynamically)
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1127 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -72,12 +72,21 @@ class CardsPanel : public SetWindowPanel {
|
||||
|
||||
private:
|
||||
// --------------------------------------------------- : Controls
|
||||
wxSizer* s_left;
|
||||
wxSplitterWindow* splitter;
|
||||
DataEditor* editor;
|
||||
ImageCardList* card_list;
|
||||
Panel* nodes_panel;
|
||||
TextCtrl* notes;
|
||||
HoverButton* collapse_notes;
|
||||
wxTextCtrl* filter;
|
||||
bool notes_below_editor;
|
||||
|
||||
/// Move the notes panel below the editor or below the card list
|
||||
void updateNotesPosition();
|
||||
// before Layout, call updateNotesPosition.
|
||||
// NOTE: docs say this function returns void, but the code says bool
|
||||
virtual bool Layout();
|
||||
|
||||
// --------------------------------------------------- : Menus & tools
|
||||
IconMenu* menuCard, *menuFormat;
|
||||
|
||||
Reference in New Issue
Block a user