|
imgui-platform-kit 2.0.0
Cross-platform Dear ImGui application framework
|
Background image drawn behind all windows. More...
#include <user_interface_parameters.h>
Public Member Functions | |
| BackgroundImageParameters (std::string path="", ImageFitType fitType=ImageFitType::KEEP_ASPECT_RATIO) | |
| Constructs background image parameters. | |
Public Attributes | |
| std::string | path |
| Path to the image file; empty means no background image. | |
| ImageFitType | fitType |
| How the image is scaled to the window. | |
| int | width |
| Native image width in pixels (set when the image is loaded). | |
| int | height |
| Native image height in pixels (set when the image is loaded). | |
Background image drawn behind all windows.
| imgui_kit::BackgroundImageParameters::BackgroundImageParameters | ( | std::string | path = "", |
| ImageFitType | fitType = ImageFitType::KEEP_ASPECT_RATIO |
||
| ) |
Constructs background image parameters.
| path | Path to the image file; empty means no background image. |
| fitType | How the image is scaled to the window. |
| ImageFitType imgui_kit::BackgroundImageParameters::fitType |
How the image is scaled to the window.
| int imgui_kit::BackgroundImageParameters::height |
Native image height in pixels (set when the image is loaded).
| std::string imgui_kit::BackgroundImageParameters::path |
Path to the image file; empty means no background image.
| int imgui_kit::BackgroundImageParameters::width |
Native image width in pixels (set when the image is loaded).