Kaba class Picture ed
Syntax ed
class Picture extends Layer
color color
bool enabled
float height
vector pos
Shader* shader
rect source
bool tc_inverted
Texture* texture
float width
# functions
void __init__(vector pos, bool set_cur)
void __init__()
void __init__(vector pos, float width, float height, Texture* texture)
virtual bool is_mouse_over()
virtual void on_click()
virtual void on_enter()
virtual void on_hover()
virtual void on_iterate(float dt)
virtual void on_leave()
# operators
virtual void __draw() # __draw Picture -> void
virtual void __update() # __update Picture -> void
Functions ed
- void __init__(vector pos, bool set_cur)
- description
- void __init__()
- description
- void __init__(vector pos, float width, float height, Texture* texture)
- description
- bool is_mouse_over()
- description
- void on_click()
- description
- void on_enter()
- description
- void on_hover()
- description
- void on_iterate(float dt)
- description
- void on_leave()
- description
Elements ed
- color color
- description
- bool enabled
- description
- float height
- description
- vector pos
- description
- Shader* shader
- description
- rect source
- description
- bool tc_inverted
- description
- Texture* texture
- description
- float width
- description