bWidgets
Core widget toolkit designed for Blender
|
Interface to reference icons from within bWidgets. More...
#include <bwIconInterface.h>
Public Member Functions | |
virtual auto | isValid () const -> bool=0 |
Static Public Attributes | |
static constexpr float | ICON_DEFAULT_SIZE = 16 |
Interface to reference icons from within bWidgets.
Using this interface, bWidgets can reference icon objects of which it doesn't know any implementation details.
To get icon drawing to work you have to:
setIcon
function of a widget (if available) to set the icon reference. Managing icons, including their memory, has to be done outside of bWidgets. At no point does bWidgets take ownership over icon data.
|
pure virtual |
|
staticconstexpr |