imgui-platform-kit 2.0.0
Cross-platform Dear ImGui application framework
Loading...
Searching...
No Matches
user_interface_parameters.h File Reference

Configuration structures used to set up an imgui_kit::UserInterface. More...

#include <algorithm>
#include <cstdint>
#include <stdexcept>
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <utility>
#include <vector>
#include <Windows.h>
#include "imgui.h"
#include "themes.h"
Include dependency graph for user_interface_parameters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  imgui_kit::WindowParameters
 Geometry and title of the top-level platform window. More...
 
struct  imgui_kit::FontParameters
 Fonts to load at startup. More...
 
struct  imgui_kit::StyleParameters
 Visual style of the user interface (theme and window styling). More...
 
struct  imgui_kit::IconParameters
 Window icon settings. More...
 
struct  imgui_kit::BackgroundImageParameters
 Background image drawn behind all windows. More...
 
struct  imgui_kit::UserInterfaceParameters
 Aggregates all configuration passed to imgui_kit::UserInterface. More...
 

Namespaces

namespace  imgui_kit
 

Enumerations

enum class  imgui_kit::ImageFitType : uint8_t { imgui_kit::KEEP_ASPECT_RATIO = 0 , imgui_kit::ZOOM_TO_FIT }
 How a background image is scaled to the window. More...
 

Variables

constexpr char imgui_kit::defaultWindowParametersFilename [] = "imgui_window_parameters.ini"
 Default INI filename used by WindowParameters::save() and WindowParameters::load().
 
constexpr char imgui_kit::defaultThemeParametersFilename [] = "imgui_theme_parameters.ini"
 Default INI filename reserved for persisting theme parameters.
 

Detailed Description

Configuration structures used to set up an imgui_kit::UserInterface.

All parameters are aggregated in imgui_kit::UserInterfaceParameters, which is passed to the UserInterface constructor. Window geometry can be persisted to and restored from an INI file.