mirror of https://github.com/axmolengine/axmol.git
Merge pull request #8827 from cocoscodeide/v3
don't show runtime on top by default
This commit is contained in:
commit
8318b16922
|
@ -81,6 +81,13 @@
|
|||
"*.dll"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "external/sqlite3/libraries/win32",
|
||||
"to": "runtime/win32",
|
||||
"include": [
|
||||
"*.dll"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "external/tiff/prebuilt/win32",
|
||||
"to": "runtime/win32",
|
||||
|
|
|
@ -37,7 +37,7 @@ using namespace cocos2d;
|
|||
|
||||
WNDPROC g_oldProc=NULL;
|
||||
bool g_landscape=false;
|
||||
bool g_windTop = true;
|
||||
bool g_windTop = false;
|
||||
CCSize g_screenSize;
|
||||
GLView* g_eglView=NULL;
|
||||
INT_PTR CALLBACK AboutDialogCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
@ -339,7 +339,7 @@ void createSimulator(const char* viewName, float width, float height, bool isLan
|
|||
width = height;
|
||||
height = tmpvalue;
|
||||
}
|
||||
g_windTop = true;
|
||||
g_windTop = ConfigParser::getInstance()->isWindowTop();
|
||||
|
||||
g_eglView = GLViewImpl::createWithRect(viewName,Rect(0,0,width,height),frameZoomFactor);
|
||||
auto director = Director::getInstance();
|
||||
|
|
|
@ -34,8 +34,6 @@ local function main()
|
|||
--set FPS. the default value is 1.0/60 if you don't call this
|
||||
director:setAnimationInterval(1.0 / 60)
|
||||
|
||||
cc.FileUtils:getInstance():addSearchPath("src")
|
||||
cc.FileUtils:getInstance():addSearchPath("res")
|
||||
cc.Director:getInstance():getOpenGLView():setDesignResolutionSize(480, 320, 0)
|
||||
|
||||
--create scene
|
||||
|
|
Loading…
Reference in New Issue