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
1
Merge Requests
1
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
5a4ac03e
Commit
5a4ac03e
authored
Feb 05, 2026
by
水濑真白
Browse files
Options
Browse Files
Download
Plain Diff
Merge PR #2965 (refactor ImageManager)
parents
16a2406a
afd7fbf4
Pipeline
#42855
failed with stages
in 11 minutes and 21 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
95 additions
and
89 deletions
+95
-89
gframe/image_manager.cpp
gframe/image_manager.cpp
+91
-89
gframe/image_manager.h
gframe/image_manager.h
+4
-0
No files found.
gframe/image_manager.cpp
View file @
5a4ac03e
This diff is collapsed.
Click to expand it.
gframe/image_manager.h
View file @
5a4ac03e
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
namespace
ygo
{
namespace
ygo
{
class
ImageManager
{
class
ImageManager
{
private:
irr
::
video
::
ITexture
*
addTexture
(
const
char
*
name
,
irr
::
video
::
IImage
*
srcimg
,
irr
::
s32
width
,
irr
::
s32
height
);
public:
public:
std
::
vector
<
std
::
wstring
>
ImageList
[
7
];
std
::
vector
<
std
::
wstring
>
ImageList
[
7
];
int
saved_image_id
[
7
];
int
saved_image_id
[
7
];
...
@@ -23,6 +25,8 @@ public:
...
@@ -23,6 +25,8 @@ public:
void
ClearTexture
();
void
ClearTexture
();
void
ResizeTexture
();
void
ResizeTexture
();
irr
::
video
::
ITexture
*
GetTextureFromFile
(
const
char
*
file
,
irr
::
s32
width
,
irr
::
s32
height
);
irr
::
video
::
ITexture
*
GetTextureFromFile
(
const
char
*
file
,
irr
::
s32
width
,
irr
::
s32
height
);
irr
::
video
::
IImage
*
GetImage
(
int
code
);
irr
::
video
::
ITexture
*
GetTexture
(
int
code
,
irr
::
s32
width
,
irr
::
s32
height
);
irr
::
video
::
ITexture
*
GetTexture
(
int
code
,
bool
fit
=
false
);
irr
::
video
::
ITexture
*
GetTexture
(
int
code
,
bool
fit
=
false
);
irr
::
video
::
ITexture
*
GetBigPicture
(
int
code
,
float
zoom
);
irr
::
video
::
ITexture
*
GetBigPicture
(
int
code
,
float
zoom
);
irr
::
video
::
ITexture
*
GetTextureThumb
(
int
code
);
irr
::
video
::
ITexture
*
GetTextureThumb
(
int
code
);
...
...
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