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
2a8e941c
Commit
2a8e941c
authored
Jun 16, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图形化分类展示
parent
e618f125
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
57 additions
and
23 deletions
+57
-23
Classes/gframe/drawing.cpp
Classes/gframe/drawing.cpp
+35
-22
Classes/gframe/image_manager.cpp
Classes/gframe/image_manager.cpp
+7
-0
Classes/gframe/image_manager.h
Classes/gframe/image_manager.h
+7
-0
mobile/assets/data/textures/card/fusion.png
mobile/assets/data/textures/card/fusion.png
+0
-0
mobile/assets/data/textures/card/link.png
mobile/assets/data/textures/card/link.png
+0
-0
mobile/assets/data/textures/card/monster.png
mobile/assets/data/textures/card/monster.png
+0
-0
mobile/assets/data/textures/card/spell.png
mobile/assets/data/textures/card/spell.png
+0
-0
mobile/assets/data/textures/card/synchro.png
mobile/assets/data/textures/card/synchro.png
+0
-0
mobile/assets/data/textures/card/trap.png
mobile/assets/data/textures/card/trap.png
+0
-0
mobile/assets/data/textures/card/xyz.png
mobile/assets/data/textures/card/xyz.png
+0
-0
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
...rc/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
+7
-0
No files found.
Classes/gframe/drawing.cpp
View file @
2a8e941c
This diff is collapsed.
Click to expand it.
Classes/gframe/image_manager.cpp
View file @
2a8e941c
...
@@ -29,6 +29,13 @@ bool ImageManager::Initial(const path dir) {
...
@@ -29,6 +29,13 @@ bool ImageManager::Initial(const path dir) {
tHand
[
2
]
=
driver
->
getTexture
((
dir
+
path
(
"/textures/f3.jpg"
)).
c_str
());
tHand
[
2
]
=
driver
->
getTexture
((
dir
+
path
(
"/textures/f3.jpg"
)).
c_str
());
tBackGround
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg.jpg"
)).
c_str
());
tBackGround
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg.jpg"
)).
c_str
());
tBackGround_menu
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg_menu.jpg"
)).
c_str
());
tBackGround_menu
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg_menu.jpg"
)).
c_str
());
tMonster
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/monster.png"
)).
c_str
());
tSpell
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/spell.png"
)).
c_str
());
tTrap
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/trap.png"
)).
c_str
());
tFusion
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/fusion.png"
)).
c_str
());
tSynchro
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/synchro.png"
)).
c_str
());
tXyz
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/xyz.png"
)).
c_str
());
tLink
=
driver
->
getTexture
((
dir
+
path
(
"/textures/card/link.png"
)).
c_str
());
if
(
!
tBackGround_menu
)
if
(
!
tBackGround_menu
)
tBackGround_menu
=
tBackGround
;
tBackGround_menu
=
tBackGround
;
tBackGround_deck
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg_deck.jpg"
)).
c_str
());
tBackGround_deck
=
driver
->
getTexture
((
dir
+
path
(
"/textures/bg_deck.jpg"
)).
c_str
());
...
...
Classes/gframe/image_manager.h
View file @
2a8e941c
...
@@ -50,6 +50,13 @@ public:
...
@@ -50,6 +50,13 @@ public:
irr
::
video
::
ITexture
*
tRScale
[
14
];
irr
::
video
::
ITexture
*
tRScale
[
14
];
irr
::
video
::
ITexture
*
tLScale
[
14
];
irr
::
video
::
ITexture
*
tLScale
[
14
];
irr
::
video
::
ITexture
*
tClock
;
irr
::
video
::
ITexture
*
tClock
;
irr
::
video
::
ITexture
*
tMonster
;
irr
::
video
::
ITexture
*
tSpell
;
irr
::
video
::
ITexture
*
tTrap
;
irr
::
video
::
ITexture
*
tFusion
;
irr
::
video
::
ITexture
*
tSynchro
;
irr
::
video
::
ITexture
*
tXyz
;
irr
::
video
::
ITexture
*
tLink
;
std
::
list
<
std
::
string
>
support_types
;
std
::
list
<
std
::
string
>
support_types
;
};
};
...
...
mobile/assets/data/textures/card/fusion.png
0 → 100644
View file @
2a8e941c
926 Bytes
mobile/assets/data/textures/card/link.png
0 → 100644
View file @
2a8e941c
1.37 KB
mobile/assets/data/textures/card/monster.png
0 → 100644
View file @
2a8e941c
1.11 KB
mobile/assets/data/textures/card/spell.png
0 → 100644
View file @
2a8e941c
1.08 KB
mobile/assets/data/textures/card/synchro.png
0 → 100644
View file @
2a8e941c
1.05 KB
mobile/assets/data/textures/card/trap.png
0 → 100644
View file @
2a8e941c
1.14 KB
mobile/assets/data/textures/card/xyz.png
0 → 100644
View file @
2a8e941c
898 Bytes
mobile/build.gradle
View file @
2a8e941c
...
@@ -8,7 +8,7 @@ android {
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
applicationId
"cn.garymb.ygomobile"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
22
targetSdkVersion
22
versionCode
3302061
5
versionCode
3302061
6
versionName
"3.3.2"
versionName
"3.3.2"
flavorDimensions
"versionCode"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
View file @
2a8e941c
...
@@ -54,6 +54,13 @@ public class X5WebView extends WebView {
...
@@ -54,6 +54,13 @@ public class X5WebView extends WebView {
// this.getSettingsExtension().setPageCacheCapacity(IX5WebSettings.DEFAULT_CACHE_CAPACITY);//extension
// this.getSettingsExtension().setPageCacheCapacity(IX5WebSettings.DEFAULT_CACHE_CAPACITY);//extension
// settings 的设计
// settings 的设计
webSetting
.
setSaveFormData
(
true
);
webSetting
.
setDatabaseEnabled
(
true
);
webSetting
.
setJavaScriptCanOpenWindowsAutomatically
(
true
);
setScrollBarStyle
(
WebView
.
SCROLLBARS_OUTSIDE_OVERLAY
);
setHorizontalScrollBarEnabled
(
false
);
webSetting
.
setAllowContentAccess
(
true
);
webSetting
.
setMixedContentMode
(
WebSettings
.
LOAD_NORMAL
);
}
}
@Override
@Override
...
...
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