diff --git a/src/gui/set/window.cpp b/src/gui/set/window.cpp index 3e1f608f..6c578091 100644 --- a/src/gui/set/window.cpp +++ b/src/gui/set/window.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -140,12 +141,12 @@ SetWindow::SetWindow(Window* parent, const SetP& set) SetSizer(s); // panels - addPanel(menuWindow, tabBar, new CardsPanel (this, wxID_ANY), 0, _("window_cards"), _("cards tab")); - addPanel(menuWindow, tabBar, new SetInfoPanel (this, wxID_ANY), 1, _("window_set_info"), _("set info tab")); - addPanel(menuWindow, tabBar, new StylePanel (this, wxID_ANY), 2, _("window_style"), _("style tab")); - addPanel(menuWindow, tabBar, new KeywordsPanel(this, wxID_ANY), 3, _("window_keywords"), _("keywords tab")); - addPanel(menuWindow, tabBar, new StatsPanel (this, wxID_ANY), 4, _("window_statistics"), _("stats tab")); -// addPanel(menuWindow, tabBar, new DraftPanel (this, wxID_ANY), 5, _("window_draft"), _("draft tab")) + addPanel(menuWindow, tabBar, new CardsPanel (this, wxID_ANY), 0, _("window_cards"), _("cards tab")); + addPanel(menuWindow, tabBar, new SetInfoPanel (this, wxID_ANY), 1, _("window_set_info"), _("set info tab")); + addPanel(menuWindow, tabBar, new StylePanel (this, wxID_ANY), 2, _("window_style"), _("style tab")); + addPanel(menuWindow, tabBar, new KeywordsPanel (this, wxID_ANY), 3, _("window_keywords"), _("keywords tab")); + addPanel(menuWindow, tabBar, new StatsPanel (this, wxID_ANY), 4, _("window_statistics"), _("stats tab")); + addPanel(menuWindow, tabBar, new RandomPackPanel(this, wxID_ANY), 5, _("window_cards"), _("random pack tab")); // TODO: Get me an icon selectPanel(ID_WINDOW_CARDS); // select cards panel // loose ends diff --git a/src/mse.vcproj b/src/mse.vcproj index f084ff7d..b12c11b8 100644 --- a/src/mse.vcproj +++ b/src/mse.vcproj @@ -575,6 +575,12 @@ + + + + diff --git a/src/util/window_id.hpp b/src/util/window_id.hpp index 57f98429..45594531 100644 --- a/src/util/window_id.hpp +++ b/src/util/window_id.hpp @@ -64,6 +64,7 @@ enum MenuID { , ID_WINDOW_STYLE = ID_WINDOW_MIN + 2 , ID_WINDOW_KEYWORDS = ID_WINDOW_MIN + 3 , ID_WINDOW_STATS = ID_WINDOW_MIN + 4 +, ID_WINDOW_RANDOM_PACK = ID_WINDOW_MIN + 5 , ID_WINDOW_MAX = 220 // Help menu (MainWindow)