mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Implemented NewSetWindow, added events to GalleryList
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@48 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+5
-3
@@ -12,6 +12,7 @@
|
||||
#include <data/set.hpp>
|
||||
#include <data/settings.hpp>
|
||||
#include <data/format/formats.hpp>
|
||||
#include <gui/welcome_window.hpp>
|
||||
#include <gui/set/window.hpp>
|
||||
#include <gui/symbol/window.hpp>
|
||||
|
||||
@@ -41,9 +42,10 @@ bool MSE::OnInit() {
|
||||
settings.read();
|
||||
//Window* wnd = new SymbolWindow(nullptr);
|
||||
//GameP g = Game::byName(_("magic"))
|
||||
SetP s = new_shared<Set>();
|
||||
s->open(_("test.mse-set"));
|
||||
Window* wnd = new SetWindow(nullptr, s);
|
||||
//SetP s = new_shared<Set>();
|
||||
//s->open(_("test.mse-set"));
|
||||
//Window* wnd = new SetWindow(nullptr, s);
|
||||
Window* wnd = new WelcomeWindow();
|
||||
wnd->Show();
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user