GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
Draw.cpp File Reference
#include "Draw.h"

Go to the source code of this file.

Namespaces

namespace  gui_framework
 
namespace  gui_framework::utility
 
namespace  gui_framework::utility::paint
 

Functions

template<typename T >
bool drawImplementation (const gui_framework::BaseWindow *window, const gui_framework::utility::BaseLoadableHolder &holder, int x, int y, const T &index)
 
GUI_FRAMEWORK_API_FUNCTION bool gui_framework::utility::paint::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.
 
GUI_FRAMEWORK_API_FUNCTION bool gui_framework::utility::paint::drawImageByPath (const BaseWindow *window, const ImagesHolder &holder, int x, int y, const filesystem::path &pathToImage)
 
GUI_FRAMEWORK_API_FUNCTION bool gui_framework::utility::paint::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.
 
GUI_FRAMEWORK_API_FUNCTION bool gui_framework::utility::paint::drawIconByPath (const BaseWindow *window, const IconsHolder &holder, int x, int y, const filesystem::path &pathToImage)
 

Function Documentation

◆ drawImplementation()

template<typename T >
bool drawImplementation ( const gui_framework::BaseWindow * window,
const gui_framework::utility::BaseLoadableHolder & holder,
int x,
int y,
const T & index )

Definition at line 38 of file Draw.cpp.