OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::IconManager::Icon Struct Reference

Data for render texture with icon. More...

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/IconManager.hpp>

Public Member Functions

bool is_valid () const

Public Attributes

ImVec2 size = ImVec2(-1, -1)
ImVec2 tl
ImVec2 br
unsigned int tex_id = 0

Detailed Description

Data for render texture with icon.

Member Function Documentation

◆ is_valid()

bool Slic3r::GUI::IconManager::Icon::is_valid ( ) const
inline
63{ return tex_id != 0;}
unsigned int tex_id
Definition IconManager.hpp:62

References tex_id.

Referenced by Slic3r::GUI::draw(), and priv::draw_transparent_icon().

Here is the caller graph for this function:

Member Data Documentation

◆ br

◆ size

ImVec2 Slic3r::GUI::IconManager::Icon::size = ImVec2(-1, -1)

◆ tex_id

◆ tl


The documentation for this struct was generated from the following file: