Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
7194a0fd
Commit
7194a0fd
authored
Jun 03, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added RandomPackPanel, for now it is empty.
parent
5bcb6cda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
src/gui/set/window.cpp
src/gui/set/window.cpp
+7
-6
src/mse.vcproj
src/mse.vcproj
+6
-0
src/util/window_id.hpp
src/util/window_id.hpp
+1
-0
No files found.
src/gui/set/window.cpp
View file @
7194a0fd
...
...
@@ -14,6 +14,7 @@
#include <gui/set/style_panel.hpp>
#include <gui/set/keywords_panel.hpp>
#include <gui/set/stats_panel.hpp>
#include <gui/set/random_pack_panel.hpp>
#include <gui/control/card_list.hpp>
#include <gui/control/card_viewer.hpp>
#include <gui/control/gallery_list.hpp>
...
...
@@ -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
...
...
src/mse.vcproj
View file @
7194a0fd
...
...
@@ -575,6 +575,12 @@
<File
RelativePath=
".\gui\set\panel.hpp"
>
</File>
<File
RelativePath=
".\gui\set\random_pack_panel.cpp"
>
</File>
<File
RelativePath=
".\gui\set\random_pack_panel.hpp"
>
</File>
<File
RelativePath=
".\gui\set\set_info_panel.cpp"
>
</File>
...
...
src/util/window_id.hpp
View file @
7194a0fd
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment