Finished up splash screen implementation.

* Added stub methods for non-Windows platforms
 * Move canvas show to after tools have loaded
 * Fix a tab
This commit is contained in:
Daniel Buckmaster 2014-08-16 11:28:53 +10:00
parent 5a1f6967ce
commit 346ad5bdaa
9 changed files with 43 additions and 13 deletions

View file

@ -2716,6 +2716,6 @@ ConsoleMethod( GuiCanvas, hideWindow, void, 2, 2, "" )
return;
object->getPlatformWindow()->hide();
WindowManager->setDisplayWindow(false);
WindowManager->setDisplayWindow(false);
object->getPlatformWindow()->setDisplayWindow(false);
}

View file

@ -70,6 +70,11 @@ bool Platform::displaySplashWindow()
return false;
}
bool Platform::closeSplashWindow()
{
return false;
}
#pragma mark ---- File IO ----
//-----------------------------------------------------------------------------
bool dPathCopy(const char* source, const char* dest, bool nooverwrite)

View file

@ -93,6 +93,7 @@ void Platform::openFile(const char *path) { }
// window
bool Platform::displaySplashWindow(String path) { return false; }
bool Platform::closeSplashWindow() { return false; }
// font
PlatformFont *createPlatformFont(const char *name, U32 size, U32 charset) { return NULL; }