Module dcanvas.platforms.common.startup
Functions
| Name | Description |
|---|---|
DCANVAS_VERSION()
|
|
findFontsInDirectory(dir)
|
|
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()
|
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()
|
call this on application initialization |
initSharedResourceManagers()
|
call this from shared static this() |
registerFonts(ft, path)
|
|
registerFontsFromDirectory(ft, dir)
|
|
registerStandardWidgets()
|
register standard widgets to use in DML |
releaseResourcesOnAppExit()
|
call this when all resources are supposed to be freed to report counts of non-freed resources by type |