Plutonium framework API
0.3
Simple UI framework for libnx and SDL2
|
#include <elm_Image.hpp>
Public Member Functions | |
Image (i32 X, i32 Y, String Image) | |
~Image () | |
i32 | GetX () |
void | SetX (i32 X) |
i32 | GetY () |
void | SetY (i32 Y) |
i32 | GetWidth () |
void | SetWidth (i32 Width) |
i32 | GetHeight () |
void | SetHeight (i32 Height) |
float | GetRotation () |
void | SetRotation (float Angle) |
String | GetImage () |
void | SetImage (String Image) |
bool | IsImageValid () |
void | OnRender (render::Renderer::Ref &Drawer, i32 X, i32 Y) |
void | OnInput (u64 Down, u64 Up, u64 Held, Touch Pos) |
![]() | |
Element () | |
virtual | ~Element () |
bool | IsVisible () |
void | SetVisible (bool Visible) |
void | SetParent (void *Base) |
void * | GetParent () |
void | SetHorizontalAlign (HorizontalAlign Align) |
HorizontalAlign | GetHorizontalAlign () |
void | SetVerticalAlign (VerticalAlign Align) |
VerticalAlign | GetVerticalAlign () |
bool | HasParent () |
i32 | GetProcessedX () |
i32 | GetProcessedY () |
Additional Inherited Members | |
![]() | |
bool | visible |
HorizontalAlign | halign |
VerticalAlign | valign |
void * | parent |
pu::ui::elm::Image::~Image | ( | ) |
|
virtual |
Implements pu::ui::elm::Element.
String pu::ui::elm::Image::GetImage | ( | ) |
float pu::ui::elm::Image::GetRotation | ( | ) |
|
virtual |
Implements pu::ui::elm::Element.
|
virtual |
Implements pu::ui::elm::Element.
|
virtual |
Implements pu::ui::elm::Element.
bool pu::ui::elm::Image::IsImageValid | ( | ) |
|
virtual |
Implements pu::ui::elm::Element.
Implements pu::ui::elm::Element.
void pu::ui::elm::Image::SetHeight | ( | i32 | Height | ) |
void pu::ui::elm::Image::SetImage | ( | String | Image | ) |
void pu::ui::elm::Image::SetRotation | ( | float | Angle | ) |
void pu::ui::elm::Image::SetWidth | ( | i32 | Width | ) |
void pu::ui::elm::Image::SetX | ( | i32 | X | ) |
void pu::ui::elm::Image::SetY | ( | i32 | Y | ) |