|
imgui-platform-kit 2.0.0
Cross-platform Dear ImGui application framework
|
Window icon settings. More...
#include <user_interface_parameters.h>
Public Member Functions | |
| IconParameters (std::string path="", int width=0, int height=0) | |
| Constructs icon parameters. | |
Public Attributes | |
| std::string | path |
| Path to the icon file (.ico on Windows, .png on Linux). | |
| int | width |
| Icon width in pixels (0 keeps the file's native size). | |
| int | height |
| Icon height in pixels (0 keeps the file's native size). | |
Window icon settings.
On Windows an .ico file is expected; on Linux a .png file.
| imgui_kit::IconParameters::IconParameters | ( | std::string | path = "", |
| int | width = 0, |
||
| int | height = 0 |
||
| ) |
Constructs icon parameters.
| path | Path to the icon file; empty means no icon. |
| width | Icon width in pixels; 0 keeps the native size. |
| height | Icon height in pixels; 0 keeps the native size. |
| int imgui_kit::IconParameters::height |
Icon height in pixels (0 keeps the file's native size).
| std::string imgui_kit::IconParameters::path |
Path to the icon file (.ico on Windows, .png on Linux).
| int imgui_kit::IconParameters::width |
Icon width in pixels (0 keeps the file's native size).