GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
Draw.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace gui_framework
8{
9 namespace utility
10 {
11 namespace paint
12 {
21 GUI_FRAMEWORK_API_FUNCTION bool drawImageByIndex(const BaseWindow* window, const ImagesHolder& holder, int x, int y, uint16_t index);
22
31 GUI_FRAMEWORK_API_FUNCTION bool drawImageByPath(const BaseWindow* window, const ImagesHolder& holder, int x, int y, const std::filesystem::path& pathToImage);
32
41 GUI_FRAMEWORK_API_FUNCTION bool drawIconByIndex(const BaseWindow* window, const IconsHolder& holder, int x, int y, uint16_t index);
42
51 GUI_FRAMEWORK_API_FUNCTION bool drawIconByPath(const BaseWindow* window, const IconsHolder& holder, int x, int y, const std::filesystem::path& pathToIcon);
52 }
53 }
54}
#define GUI_FRAMEWORK_API_FUNCTION
Base class for composite windows.
Definition BaseWindow.h:13
GUI_FRAMEWORK_API_FUNCTION bool drawIconByIndex(const BaseWindow *window, const IconsHolder &holder, int x, int y, uint16_t index)
Draw single icon from holder. Multiple calls doesn't work. Better use BaseWindow drawing.
Definition Draw.cpp:24
GUI_FRAMEWORK_API_FUNCTION bool drawImageByPath(const BaseWindow *window, const ImagesHolder &holder, int x, int y, const filesystem::path &pathToImage)
Definition Draw.cpp:19
GUI_FRAMEWORK_API_FUNCTION bool drawIconByPath(const BaseWindow *window, const IconsHolder &holder, int x, int y, const filesystem::path &pathToImage)
Definition Draw.cpp:29
GUI_FRAMEWORK_API_FUNCTION bool drawImageByIndex(const BaseWindow *window, const ImagesHolder &holder, int x, int y, uint16_t index)
Draw single image from holder. Multiple calls doesn't work. Better use BaseWindow drawing.
Definition Draw.cpp:14