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
d81ef7e3
Commit
d81ef7e3
authored
Jul 27, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加主要功能窗口背景
parent
6dbde56b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
119 additions
and
104 deletions
+119
-104
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+111
-104
Classes/gframe/game.h
Classes/gframe/game.h
+6
-0
Classes/gframe/image_manager.cpp
Classes/gframe/image_manager.cpp
+1
-0
Classes/gframe/image_manager.h
Classes/gframe/image_manager.h
+1
-0
No files found.
Classes/gframe/game.cpp
View file @
d81ef7e3
This diff is collapsed.
Click to expand it.
Classes/gframe/game.h
View file @
d81ef7e3
...
...
@@ -271,6 +271,7 @@ public:
//Settings
irr
::
gui
::
CGUIImageButton
*
imgSettings
;
irr
::
gui
::
IGUIWindow
*
wSettings
;
irr
::
gui
::
IGUIImage
*
bgSettings
;
irr
::
gui
::
IGUIButton
*
btnCloseSettings
;
//hint text
irr
::
gui
::
IGUIStaticText
*
stHintMsg
;
...
...
@@ -322,6 +323,7 @@ public:
irr
::
gui
::
IGUIStaticText
*
textModeExit
;
//lan
irr
::
gui
::
IGUIWindow
*
wLanWindow
;
irr
::
gui
::
IGUIImage
*
bgLanWindow
;
irr
::
gui
::
IGUIEditBox
*
ebNickName
;
irr
::
gui
::
IGUIListBox
*
lstHostList
;
irr
::
gui
::
IGUIButton
*
btnLanRefresh
;
...
...
@@ -333,6 +335,7 @@ public:
irr
::
gui
::
IGUIButton
*
btnCreateHost
;
//create host
irr
::
gui
::
IGUIWindow
*
wCreateHost
;
irr
::
gui
::
IGUIImage
*
bgCreateHost
;
irr
::
gui
::
IGUIComboBox
*
cbLFlist
;
irr
::
gui
::
IGUIComboBox
*
cbMatchMode
;
irr
::
gui
::
IGUIComboBox
*
cbRule
;
...
...
@@ -349,6 +352,7 @@ public:
irr
::
gui
::
IGUIButton
*
btnHostCancel
;
//host panel
irr
::
gui
::
IGUIWindow
*
wHostPrepare
;
irr
::
gui
::
IGUIImage
*
bgHostPrepare
;
irr
::
gui
::
IGUIButton
*
btnHostPrepDuelist
;
irr
::
gui
::
IGUIButton
*
btnHostPrepOB
;
irr
::
gui
::
IGUIStaticText
*
stHostPrepDuelist
[
4
];
...
...
@@ -364,6 +368,7 @@ public:
irr
::
gui
::
IGUIButton
*
btnHostPrepCancel
;
//replay
irr
::
gui
::
IGUIWindow
*
wReplay
;
irr
::
gui
::
IGUIImage
*
bgReplay
;
irr
::
gui
::
IGUIListBox
*
lstReplayList
;
irr
::
gui
::
IGUIStaticText
*
stReplayInfo
;
irr
::
gui
::
IGUIButton
*
btnLoadReplay
;
...
...
@@ -374,6 +379,7 @@ public:
irr
::
gui
::
IGUIEditBox
*
ebRepStartTurn
;
//single play
irr
::
gui
::
IGUIWindow
*
wSinglePlay
;
irr
::
gui
::
IGUIImage
*
bgSinglePlay
;
//TEST BOT MODE
irr
::
gui
::
IGUIListBox
*
lstBotList
;
irr
::
gui
::
IGUIStaticText
*
stBotInfo
;
...
...
Classes/gframe/image_manager.cpp
View file @
d81ef7e3
...
...
@@ -42,6 +42,7 @@ bool ImageManager::Initial(const path dir) {
tTalk
=
driver
->
getTexture
((
dir
+
path
(
"/textures/extra/ttalk.png"
)).
c_str
());
tShut
=
driver
->
getTexture
((
dir
+
path
(
"/textures/extra/tshut.png"
)).
c_str
());
tTitleBar
=
driver
->
getTexture
((
dir
+
path
(
"/textures/extra/stitlebar.png"
)).
c_str
());
tWindow
=
driver
->
getTexture
((
dir
+
path
(
"/textures/extra/sWindow.png"
)).
c_str
());
if
(
!
tBackGround_menu
)
tBackGround_menu
=
tBackGround
;
tBackGround_deck
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg_deck.jpg"
)).
c_str
());
...
...
Classes/gframe/image_manager.h
View file @
d81ef7e3
...
...
@@ -64,6 +64,7 @@ public:
irr
::
video
::
ITexture
*
tTalk
;
irr
::
video
::
ITexture
*
tShut
;
irr
::
video
::
ITexture
*
tTitleBar
;
irr
::
video
::
ITexture
*
tWindow
;
std
::
list
<
std
::
string
>
support_types
;
};
...
...
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