Skip to content

GUIFramework settings

Semyon Gritsenko edited this page Jun 17, 2021 · 9 revisions

GUIFramework needs to initialize some variables, so it's read next gui_framework.json settings file

{
  "Settings": {
    "usingDefaultCreators": true
  },

  "Threading": {
    "threadsCount": 4
  }
}

Settings

This section contains main settings for GUIFramework.

  • usingDefaultCreators(bool) - GUIFramework has standard creators for all components such as buttons, edit controls, etc. If this settings is on all this creators is loading to GUIFramework class.

Threading

This section contains settings for ThreadPool submodule.

  • threadsCount(int64_t) - GUIFramework class has addTask method for adding tasks in thread pool for doing them asynchronously, so you can set amount of threads to run this tasks. 0 value - takes all available threads.
Clone this wiki locally