mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Console panel sets "card" variable to selected card
This commit is contained in:
@@ -19,7 +19,7 @@ class TextCtrl;
|
||||
// ----------------------------------------------------------------------------- : ConsolePanel
|
||||
|
||||
class ConsolePanel : public SetWindowPanel {
|
||||
public:
|
||||
public:
|
||||
ConsolePanel(Window* parent, int id);
|
||||
|
||||
// --------------------------------------------------- : UI
|
||||
@@ -37,12 +37,15 @@ class ConsolePanel : public SetWindowPanel {
|
||||
virtual bool canCopy() const;
|
||||
virtual void doCopy();
|
||||
|
||||
protected:
|
||||
virtual void onChangeSet();
|
||||
protected:
|
||||
void onChangeSet() override;
|
||||
void selectCard(const CardP& card) override;
|
||||
|
||||
private:
|
||||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
|
||||
CardP card;
|
||||
|
||||
wxSplitterWindow* splitter;
|
||||
MessageCtrl* messages;
|
||||
wxPanel* entry_panel;
|
||||
|
||||
Reference in New Issue
Block a user