Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
List
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
fallenstardust
YGOMobile
Commits
49ca46ba
Commit
49ca46ba
authored
Dec 22, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初步添加ygopro的genesys计分板布局
parent
f64a2ac2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
5 deletions
+24
-5
Classes/gframe/deck_con.cpp
Classes/gframe/deck_con.cpp
+4
-4
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+11
-1
Classes/gframe/game.h
Classes/gframe/game.h
+9
-0
No files found.
Classes/gframe/deck_con.cpp
View file @
49ca46ba
...
...
@@ -1885,10 +1885,10 @@ void DeckBuilder::ShowDeckManage() {
mainGame
->
cbDBDecks
->
setSelected
(
prev_deck
);
irr
::
gui
::
IGUIListBox
*
lstCategories
=
mainGame
->
lstCategories
;
lstCategories
->
clear
();
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1450
));
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1451
));
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1452
));
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1453
));
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1450
));
// 卡包展示
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1451
));
// 人机卡组
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1452
));
// 未分类卡组
lstCategories
->
addItem
(
dataManager
.
GetSysString
(
1453
));
//--------(分割线)
FileSystem
::
TraversalDir
(
L"./deck"
,
[
lstCategories
](
const
wchar_t
*
name
,
bool
isdir
)
{
if
(
isdir
)
{
lstCategories
->
addItem
(
name
);
...
...
Classes/gframe/game.cpp
View file @
49ca46ba
...
...
@@ -999,10 +999,20 @@ bool Game::Initialize(ANDROID_APP app, irr::android::InitOptions *options) {
//deck edit
wDeckEdit
=
env
->
addWindow
(
Resize
(
310
,
1
,
600
,
130
),
false
,
L""
);
wDeckEdit
->
getCloseButton
()
->
setVisible
(
false
);
wDeckEdit
->
setDraggable
(
false
);
wDeckEdit
->
setDrawTitlebar
(
false
);
wDeckEdit
->
setVisible
(
false
);
ChangeToIGUIImageWindow
(
wDeckEdit
,
&
bgDeckEdit
,
imageManager
.
tDialog_L
);
btnManageDeck
=
env
->
addButton
(
Resize
(
10
,
35
,
220
,
75
),
wDeckEdit
,
BUTTON_MANAGE_DECK
,
dataManager
.
GetSysString
(
1460
));
btnManageDeck
=
env
->
addButton
(
Resize
(
10
,
35
,
220
,
75
),
wDeckEdit
,
BUTTON_MANAGE_DECK
,
dataManager
.
GetSysString
(
1460
)
/*卡组管理(其实它实际会显示分类名\n卡组名)*/
);
stGenesysLimit
=
env
->
addStaticText
(
L"限"
,
Resize_Y
(
25
,
5
,
50
,
30
),
true
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysLimit_Num
=
env
->
addStaticText
(
L"000"
,
Resize_Y
(
55
,
5
,
85
,
30
),
false
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysCount
=
env
->
addStaticText
(
L"计"
,
Resize_Y
(
90
,
5
,
115
,
30
),
true
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysCount_Num
=
env
->
addStaticText
(
L"000"
,
Resize_Y
(
120
,
5
,
150
,
30
),
false
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysRemain
=
env
->
addStaticText
(
L"余"
,
Resize_Y
(
155
,
5
,
180
,
30
),
true
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysRemain_Num
=
env
->
addStaticText
(
L"000"
,
Resize_Y
(
185
,
5
,
215
,
30
),
false
,
false
,
wDeckEdit
,
-
1
,
true
);
stGenesysSignal
=
env
->
addStaticText
(
L"GENESYS"
,
Resize_Y
(
220
,
5
,
290
,
30
),
true
,
false
,
wDeckEdit
,
-
1
,
true
);
//deck manage
wDeckManage
=
env
->
addWindow
(
Resize
(
530
,
10
,
920
,
460
),
false
,
dataManager
.
GetSysString
(
1460
),
0
,
WINDOW_DECK_MANAGE
);
wDeckManage
->
setVisible
(
false
);
...
...
Classes/gframe/game.h
View file @
49ca46ba
...
...
@@ -611,6 +611,15 @@ public:
irr
::
gui
::
IGUIButton
*
btnSideSort
;
irr
::
gui
::
IGUIButton
*
btnSideReload
;
irr
::
gui
::
IGUIEditBox
*
ebDeckname
;
// Genesys计分板
irr
::
gui
::
IGUIStaticText
*
stGenesysLimit
;
irr
::
gui
::
IGUIStaticText
*
stGenesysLimit_Num
;
irr
::
gui
::
IGUIStaticText
*
stGenesysCount
;
irr
::
gui
::
IGUIStaticText
*
stGenesysCount_Num
;
irr
::
gui
::
IGUIStaticText
*
stGenesysRemain
;
irr
::
gui
::
IGUIStaticText
*
stGenesysRemain_Num
;
irr
::
gui
::
IGUIStaticText
*
stGenesysSignal
;
irr
::
gui
::
IGUIStaticText
*
stDBCategory
;
irr
::
gui
::
IGUIStaticText
*
stDeck
;
irr
::
gui
::
IGUIStaticText
*
stCategory
;
...
...
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