| 112 | } |
| 113 | |
| 114 | void enable() |
| 115 | { |
| 116 | // Ui begin/render is called so we have a "UI Frame" in which to setup UI state. |
| 117 | s_editorMode = EDIT_ASSET_BROWSER; |
| 118 | s_exitEditor = false; |
| 119 | s_programExiting = false; |
| 120 | loadFonts(); |
| 121 | loadIcons(); |
| 122 | loadConfig(); |
| 123 | AssetBrowser::init(); |
| 124 | TFE_RenderShared::modelDraw_init(); |
| 125 | thumbnail_init(64); |
| 126 | TFE_Polygon::clipInit(); |
| 127 | s_msgBox = MessageBox{}; |
| 128 | s_gpuImages.clear(); |
| 129 | } |
| 130 | |
| 131 | bool disable() |
| 132 | { |
no test coverage detected