Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
a243d4d0
Commit
a243d4d0
authored
Jun 21, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卡片信息取消tab选项卡
parent
7f5b217b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
41 deletions
+49
-41
Classes/gframe/event_handler.cpp
Classes/gframe/event_handler.cpp
+2
-2
Classes/gframe/game.cpp
Classes/gframe/game.cpp
+41
-38
Classes/gframe/game.h
Classes/gframe/game.h
+6
-1
No files found.
Classes/gframe/event_handler.cpp
View file @
a243d4d0
...
...
@@ -1882,7 +1882,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
case
LISTBOX_LOG
:
{
int
sel
=
mainGame
->
lstLog
->
getSelected
();
if
(
sel
!=
-
1
&&
(
int
)
mainGame
->
logParam
.
size
()
>=
sel
&&
mainGame
->
logParam
[
sel
]
&&
is_selectable
)
{
mainGame
->
wInfos
->
setActiveTab
(
0
);
//
mainGame->wInfos->setActiveTab(0);
}
return
true
;
break
;
...
...
@@ -2134,7 +2134,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
if
(
pos
<
0
)
pos
=
0
;
if
(
pos
>
max
)
pos
=
max
;
mainGame
->
scrCardText
->
setPos
(
pos
);
mainGame
->
SetStaticText
(
mainGame
->
stText
,
mainGame
->
stText
->
getRelativePosition
().
getWidth
()
-
2
5
,
mainGame
->
guiFont
,
mainGame
->
showingtext
,
pos
);
mainGame
->
SetStaticText
(
mainGame
->
stText
,
mainGame
->
stText
->
getRelativePosition
().
getWidth
()
-
3
5
,
mainGame
->
guiFont
,
mainGame
->
showingtext
,
pos
);
}
if
(
is_dragging_lstLog
)
{
if
(
!
mainGame
->
lstLog
->
getVerticalScrollBar
()
->
isVisible
())
{
...
...
Classes/gframe/game.cpp
View file @
a243d4d0
This diff is collapsed.
Click to expand it.
Classes/gframe/game.h
View file @
a243d4d0
...
...
@@ -255,12 +255,16 @@ public:
//card image
irr
::
gui
::
IGUIStaticText
*
wCardImg
;
irr
::
gui
::
IGUIImage
*
imgCard
;
//bgm image
irr
::
gui
::
IGUIImage
*
imgVol
;
irr
::
gui
::
IGUIImage
*
imgSettings
;
irr
::
gui
::
IGUIImage
*
imgLog
;
//hint text
irr
::
gui
::
IGUIStaticText
*
stHintMsg
;
irr
::
gui
::
IGUIStaticText
*
stTip
;
irr
::
gui
::
IGUIStaticText
*
stCardListTip
;
//infos
irr
::
gui
::
IGUI
TabControl
*
wInfos
;
irr
::
gui
::
IGUI
StaticText
*
wInfos
;
irr
::
gui
::
IGUIStaticText
*
stName
;
irr
::
gui
::
IGUIStaticText
*
stInfo
;
irr
::
gui
::
IGUIStaticText
*
stDataInfo
;
...
...
@@ -270,6 +274,7 @@ public:
irr
::
gui
::
IGUIListBox
*
lstLog
;
irr
::
gui
::
IGUIButton
*
btnClearLog
;
irr
::
gui
::
IGUIButton
*
btnSaveLog
;
irr
::
gui
::
IGUIWindow
*
wSettings
;
irr
::
gui
::
IGUIWindow
*
tabHelper
;
irr
::
gui
::
IGUIElement
*
elmTabHelperLast
;
irr
::
gui
::
IGUIScrollBar
*
scrTabHelper
;
...
...
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