|
Blender V5.3
|
#include <GHOST_Types.hh>
Public Attributes | |
| void(*) | generate_fn (const struct GHOST_IconGenerator *icon_generator, GHOST_IWindow *window, uint8_t *pixels, int icon_size) |
| GHOST_TUserDataPtr | user_data |
Definition at line 83 of file GHOST_Types.hh.
| void(*) GHOST_IconGenerator::generate_fn(const struct GHOST_IconGenerator *icon_generator, GHOST_IWindow *window, uint8_t *pixels, int icon_size) |
Generate a top-level window icon.
The callback writes RGBA pixels into a pre-allocated buffer. The color is "straight" (alpha is not pre-multiplied).
| icon_generator | Pass in to allow accessing the user_data argument. |
| window | The window requesting an icon. |
| pixels | Pre-allocated RGBA buffer (icon_size * icon_size * 4 bytes). |
| icon_size | The width and height of the square icon in pixels. |
Definition at line 95 of file GHOST_Types.hh.
Referenced by GHOST_SystemWayland::xdg_toplevel_icon_update().
| GHOST_TUserDataPtr GHOST_IconGenerator::user_data |
Implementation specific data.
Definition at line 100 of file GHOST_Types.hh.