Commit 2a8e941c authored by fallenstardust's avatar fallenstardust

图形化分类展示

parent e618f125
This diff is collapsed.
...@@ -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());
......
...@@ -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;
}; };
......
...@@ -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 33020615 versionCode 33020616
versionName "3.3.2" versionName "3.3.2"
flavorDimensions "versionCode" flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment