#include <operatingsystem.h>
Represents a single icon in a large bitmap array.
Public Attributes | |
| BaseBitmap * | bmp | 
| Int32 | x | 
| Int32 | y | 
| Int32 | w | 
| Int32 | h | 
| ICONDATAFLAGS | flags | 
Constructors | |
| IconData () | |
| IconData (BaseBitmap *t_bmp, Int32 t_x, Int32 t_y, Int32 t_w, Int32 t_h) | |
Part | |
| BaseBitmap * | GetClonePart () const | 
| BaseBitmap * | GetGuiScalePart () const | 
GUI Scale | |
| Int32 | GetGuiW () const | 
| Int32 | GetGuiH () const | 
| IconData | ( | ) | 
Default constructor.
Fills the icon data.
| [in] | t_bmp | The bitmap. The caller owns the pointed base bitmap. | 
| [in] | t_x | The X coordinate of the upper-left corner of the icon. | 
| [in] | t_y | The Y coordinate of the upper-left corner of the icon. | 
| [in] | t_w | The width of the icon. | 
| [in] | t_h | The height of the icon. | 
| BaseBitmap* GetClonePart | ( | ) | const | 
Gets a copy of the bitmap's part for the icon data.
| BaseBitmap* GetGuiScalePart | ( | ) | const | 
| Int32 GetGuiW | ( | ) | const | 
Gets the GUI scaled width of the icon data.
| Int32 GetGuiH | ( | ) | const | 
Gets the GUI scaled height of the icon data.
| BaseBitmap* bmp | 
The bitmap. Can be nullptr.
| Int32 x | 
The X coordinate of the upper-left corner of the icon.
| Int32 y | 
The Y coordinate of the upper-left corner of the icon.
| Int32 w | 
The width of the icon.
| Int32 h | 
The height of the icon.
| ICONDATAFLAGS flags | 
The flags: ICONDATAFLAGS.