Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
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
nanahira
ygopro
Commits
a4580238
Commit
a4580238
authored
Feb 09, 2025
by
Chen Bill
Committed by
GitHub
Feb 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use override in ClientField, MenuHandler (#2665)
parent
37cb3cea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gframe/client_field.h
gframe/client_field.h
+2
-2
gframe/menu_handler.h
gframe/menu_handler.h
+1
-1
No files found.
gframe/client_field.h
View file @
a4580238
...
@@ -144,8 +144,8 @@ public:
...
@@ -144,8 +144,8 @@ public:
ClientCard
*
menu_card
{
nullptr
};
ClientCard
*
menu_card
{
nullptr
};
int
list_command
{
0
};
int
list_command
{
0
};
virtual
bool
OnEvent
(
const
irr
::
SEvent
&
event
)
;
bool
OnEvent
(
const
irr
::
SEvent
&
event
)
override
;
virtual
bool
OnCommonEvent
(
const
irr
::
SEvent
&
event
);
bool
OnCommonEvent
(
const
irr
::
SEvent
&
event
);
void
GetHoverField
(
int
x
,
int
y
);
void
GetHoverField
(
int
x
,
int
y
);
void
ShowMenu
(
int
flag
,
int
x
,
int
y
);
void
ShowMenu
(
int
flag
,
int
x
,
int
y
);
void
HideMenu
();
void
HideMenu
();
...
...
gframe/menu_handler.h
View file @
a4580238
...
@@ -7,7 +7,7 @@ namespace ygo {
...
@@ -7,7 +7,7 @@ namespace ygo {
class
MenuHandler
:
public
irr
::
IEventReceiver
{
class
MenuHandler
:
public
irr
::
IEventReceiver
{
public:
public:
virtual
bool
OnEvent
(
const
irr
::
SEvent
&
event
)
;
bool
OnEvent
(
const
irr
::
SEvent
&
event
)
override
;
s32
prev_operation
;
s32
prev_operation
;
int
prev_sel
;
int
prev_sel
;
...
...
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