Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
苍蓝
rd-ygopro
Commits
cd8ffbc2
Commit
cd8ffbc2
authored
Oct 22, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-listtip' into test
parents
80f87984
583d3884
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gframe/event_handler.cpp
gframe/event_handler.cpp
+6
-6
strings.conf
strings.conf
+4
-0
No files found.
gframe/event_handler.cpp
View file @
cd8ffbc2
...
...
@@ -2279,12 +2279,12 @@ void ClientField::ShowCardInfoInList(ClientCard* pcard, irr::gui::IGUIElement* e
}
if
(
str
.
length
()
>
0
)
{
parent
->
addChild
(
mainGame
->
stCardListTip
);
irr
::
core
::
rect
<
s32
>
e
p
os
=
element
->
getRelativePosition
();
s32
x
=
(
e
pos
.
UpperLeftCorner
.
X
+
ep
os
.
LowerRightCorner
.
X
)
/
2
;
s32
y
=
e
p
os
.
LowerRightCorner
.
Y
;
irr
::
core
::
dimension2d
<
unsigned
int
>
dtip
=
mainGame
->
textFont
->
getDimension
(
str
.
c_str
())
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
mainGame
->
stCardListTip
->
setRelativePosition
(
recti
(
x
-
dtip
.
Width
/
2
,
y
-
10
,
x
+
dtip
.
Width
/
2
,
y
-
10
+
dtip
.
Height
)
);
mainGame
->
stCardListTip
->
set
Text
(
str
.
c_str
(
));
irr
::
core
::
rect
<
s32
>
e
P
os
=
element
->
getRelativePosition
();
s32
x
=
(
e
Pos
.
UpperLeftCorner
.
X
+
eP
os
.
LowerRightCorner
.
X
)
/
2
;
s32
y
=
e
P
os
.
LowerRightCorner
.
Y
;
mainGame
->
SetStaticText
(
mainGame
->
stCardListTip
,
160
,
mainGame
->
guiFont
,
str
.
c_str
()
);
irr
::
core
::
dimension2d
<
unsigned
int
>
dTip
=
mainGame
->
guiFont
->
getDimension
(
mainGame
->
stCardListTip
->
getText
())
+
irr
::
core
::
dimension2d
<
unsigned
int
>
(
10
,
10
);
mainGame
->
stCardListTip
->
set
RelativePosition
(
recti
(
x
-
dTip
.
Width
/
2
,
y
-
10
,
x
+
dTip
.
Width
/
2
,
y
-
10
+
dTip
.
Height
));
mainGame
->
stCardListTip
->
setVisible
(
true
);
}
}
...
...
strings.conf
View file @
cd8ffbc2
...
...
@@ -552,6 +552,8 @@
!
counter
0
x48
指示物(连接死亡炮塔)
!
counter
0
x1049
警逻指示物
!
counter
0
x4a
运动员指示物
!
counter
0
x4b
枪管指示物
!
counter
0
x4c
召唤指示物
#setnames, using tab for comment
!
setname
0
x1
正义盟军
A
・
O
・
J
!
setname
0
x2
次世代 ジェネクス
...
...
@@ -838,6 +840,7 @@
!
setname
0
xd7
巴斯达·布雷达 バスター・ブレイダー
!
setname
0
xd8
雾动机龙 ダイナミスト
!
setname
0
xd9
不知火
!
setname
0
x10d9
妖刀-不知火 妖刀-不知火
!
setname
0
xda
龙魔王 竜魔王
!
setname
0
xdb
幻影 ファントム
!
setname
0
x10db
幻影骑士团 幻影騎士団
...
...
@@ -925,3 +928,4 @@
!
setname
0
x120
调皮宝贝 プランキッズ
!
setname
0
x121
魔妖
!
setname
0
x122
女武神
Valkyrie
!
setname
0
x123
蔷薇龙 ローズ・ドラゴン
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