Class Bitmap

Inheritance Relationships

Base Type

Class Documentation

class Bitmap : public BlamRendering::RenderStack::StackObjectBase

Class containing data for a Bitmap object.

Public Functions

Bitmap()

Sets the stack type.

~Bitmap()

Empty destructor.

void Draw()

Draws the stack object.

Specific functionality may vary depending on the type of object.

void ShowImPropertyEditor()

Shows a set of ImGUI properties associated with the object.

This will call functions to draw only the property controls for the item, and nothing else. The window/container for the properties must be handled externally.

Public Members

int resource_id = IDB_THEME_DEFAULT_ICON

The resource ID of the bitmap.

const char *resource_type = "PNG"

The resource type of the bitmap.