dlangui.platforms.common.startup

Undocumented in source.

Members

Functions

UIAppMain
int UIAppMain(string[] args)

entry point for dlangui based application

findFontsInDirectory
string[] findFontsInDirectory(string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
initFontManager
bool initFontManager()

initialize font manager - default implementation On win32 - first it tries to init freetype, and falls back to win32 fonts. On linux/mac - tries to init freetype with some hardcoded font paths

initFontManager
bool initFontManager()

initialize font manager - default implementation On win32 - first it tries to init freetype, and falls back to win32 fonts. On linux/mac - tries to init freetype with some hardcoded font paths

initLogs
void initLogs()

initialize logging (for win32 - to file ui.log, for other platforms - stderr; log level is TRACE for debug builds, and WARN for release builds)

initResourceManagers
void initResourceManagers()

call this on application initialization

initSharedResourceManagers
void initSharedResourceManagers()

call this from shared static this()

registerFonts
bool registerFonts(FreeTypeFontManager ft, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
registerFontsFromDirectory
void registerFontsFromDirectory(FreeTypeFontManager ft, string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
registerStandardWidgets
void registerStandardWidgets()

register standard widgets to use in DML

releaseResourcesOnAppExit
void releaseResourcesOnAppExit()

call this when all resources are supposed to be freed to report counts of non-freed resources by type

Mixins

__anonymous
mixin APP_ENTRY_POINT
Undocumented in source.

Meta