diff --git a/include/Plutonium/docs/df/d13/ui___types_8hpp.html b/include/Plutonium/docs/df/d13/ui___types_8hpp.html new file mode 100644 index 0000000..39b7ddf --- /dev/null +++ b/include/Plutonium/docs/df/d13/ui___types_8hpp.html @@ -0,0 +1,154 @@ + + +
+ + + + +
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
#include <pu/pu_Include.hpp>
Go to the source code of this file.
++Classes | |
struct | pu::ui::Color |
struct | pu::ui::TouchPoint |
+Namespaces | |
namespace | pu |
namespace | pu::ui |
+Enumerations | |
enum class | pu::ui::DefaultFontSize : u32 { + pu::ui::Small +, pu::ui::Medium +, pu::ui::MediumLarge +, pu::ui::Large +, + pu::ui::Count + + } |
+Functions | |
std::string | pu::ui::MakeDefaultFontName (const u32 font_size) |
constexpr u32 | pu::ui::GetDefaultFontSize (const DefaultFontSize kind) |
std::string | pu::ui::GetDefaultFont (const DefaultFontSize kind) |
static constexpr bool | pu::ui::TouchHitsRegion (const i32 touch_x, const i32 touch_y, const i32 region_x, const i32 region_y, const i32 region_w, const i32 region_h) |
+Variables | |
static constexpr std::array< u32, static_cast< u32 >(DefaultFontSize::Count)> | pu::ui::DefaultFontSizes = { 18, 20, 25, 30 } |
constexpr u64 | pu::ui::TouchPseudoKey = HidNpadButton_29 |
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
#include <elm_TextBlock.hpp>
+Public Member Functions | |
TextBlock (const i32 x, const i32 y, const std::string &text) | |
~TextBlock () | |
i32 | GetX () override |
void | SetX (const i32 x) |
i32 | GetY () override |
void | SetY (const i32 y) |
i32 | GetWidth () override |
i32 | GetHeight () override |
std::string | GetText () |
void | SetText (const std::string &text) |
void | SetFont (const std::string &font_name) |
Color | GetColor () |
void | SetColor (const Color clr) |
void | OnRender (render::Renderer::Ref &drawer, const i32 x, const i32 y) override |
void | OnInput (const u64 keys_down, const u64 keys_up, const u64 keys_held, const TouchPoint touch_pos) override |
![]() | |
Element () | |
virtual | ~Element () |
virtual i32 | GetX ()=0 |
virtual i32 | GetY ()=0 |
virtual i32 | GetWidth ()=0 |
virtual i32 | GetHeight ()=0 |
virtual void | OnRender (render::Renderer::Ref &drawer, const i32 x, const i32 y)=0 |
virtual void | OnInput (const u64 keys_down, const u64 keys_up, const u64 keys_held, const TouchPoint touch_pos)=0 |
bool | IsVisible () |
void | SetVisible (const bool visible) |
void | SetHorizontalAlign (const HorizontalAlign align) |
HorizontalAlign | GetHorizontalAlign () |
void | SetVerticalAlign (const VerticalAlign align) |
VerticalAlign | GetVerticalAlign () |
void | SetParentContainer (Container *parent_container) |
i32 | GetProcessedX () |
i32 | GetProcessedY () |
+Static Public Attributes | |
static constexpr Color | DefaultColor = { 0, 0, 0, 0xFF } |
+Additional Inherited Members | |
![]() | |
bool | visible |
HorizontalAlign | h_align |
VerticalAlign | v_align |
Container * | parent_container |
pu::ui::elm::TextBlock::TextBlock | +( | +const i32 | +x, | +
+ | + | const i32 | +y, | +
+ | + | const std::string & | +text | +
+ | ) | ++ |
pu::ui::elm::TextBlock::~TextBlock | +( | +) | ++ |
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements pu::ui::elm::Element.
+ +
+
|
+ +inline | +
+
|
+ +overridevirtual | +
Implements pu::ui::elm::Element.
+ +
+
|
+ +inlineoverridevirtual | +
Implements pu::ui::elm::Element.
+ +
+
|
+ +inlineoverridevirtual | +
Implements pu::ui::elm::Element.
+ +
+
|
+ +inlineoverridevirtual | +
Implements pu::ui::elm::Element.
+ +
+
|
+ +overridevirtual | +
Implements pu::ui::elm::Element.
+ +void pu::ui::elm::TextBlock::SetColor | +( | +const Color | +clr | ) | ++ |
void pu::ui::elm::TextBlock::SetFont | +( | +const std::string & | +font_name | ) | ++ |
void pu::ui::elm::TextBlock::SetText | +( | +const std::string & | +text | ) | ++ |
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +staticconstexpr | +
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
#include <render_Renderer.hpp>
+Public Member Functions | |
RendererInitOptions (const u32 sdl_flags, const u32 sdl_render_flags, const u32 w=ScreenWidth, const u32 h=ScreenHeight) | |
void | UseTTF (const std::string &default_font_path="") |
void | SetExtraDefaultFontSize (const u32 font_size) |
void | UseAudio (const u32 audio_mixer_flags) |
void | UseImage (const u32 sdl_img_flags) |
void | UseRomfs () |
+Public Attributes | |
u32 | sdl_flags |
u32 | sdl_render_flags |
u32 | width |
u32 | height |
bool | init_ttf |
std::vector< u32 > | extra_default_font_sizes |
std::string | default_font_path |
bool | init_mixer |
u32 | audio_mixer_flags |
bool | init_img |
u32 | sdl_img_flags |
bool | init_pl |
bool | init_romfs |
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
+
|
+ +inline | +
u32 pu::ui::render::RendererInitOptions::audio_mixer_flags | +
std::string pu::ui::render::RendererInitOptions::default_font_path | +
std::vector<u32> pu::ui::render::RendererInitOptions::extra_default_font_sizes | +
u32 pu::ui::render::RendererInitOptions::height | +
bool pu::ui::render::RendererInitOptions::init_img | +
bool pu::ui::render::RendererInitOptions::init_mixer | +
bool pu::ui::render::RendererInitOptions::init_pl | +
bool pu::ui::render::RendererInitOptions::init_romfs | +
bool pu::ui::render::RendererInitOptions::init_ttf | +
u32 pu::ui::render::RendererInitOptions::sdl_flags | +
u32 pu::ui::render::RendererInitOptions::sdl_img_flags | +
u32 pu::ui::render::RendererInitOptions::sdl_render_flags | +
u32 pu::ui::render::RendererInitOptions::width | +
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
This is the complete list of members for pu::ui::render::Renderer, including all inherited members.
+Finalize() | pu::ui::render::Renderer | |
FinalizeRender() | pu::ui::render::Renderer | |
HasInitialized() | pu::ui::render::Renderer | inline |
HasRomFs() | pu::ui::render::Renderer | inline |
Initialize() | pu::ui::render::Renderer | |
InitializeRender(const Color clr) | pu::ui::render::Renderer | |
RenderCircle(const Color clr, const i32 x, const i32 y, const i32 radius) | pu::ui::render::Renderer | |
RenderCircleFill(const Color clr, const i32 x, const i32 y, const i32 radius) | pu::ui::render::Renderer | |
Renderer(const RendererInitOptions init_opts) | pu::ui::render::Renderer | inline |
RenderRectangle(const Color clr, const i32 x, const i32 y, const i32 width, const i32 height) | pu::ui::render::Renderer | |
RenderRectangleFill(const Color clr, const i32 x, const i32 y, const i32 width, const i32 height) | pu::ui::render::Renderer | |
RenderRectangleOutline(const Color clr, const i32 x, const i32 y, const i32 width, const i32 height, const i32 border_width) | pu::ui::render::Renderer | inline |
RenderRoundedRectangle(const Color clr, const i32 x, const i32 y, const i32 width, const i32 height, const i32 radius) | pu::ui::render::Renderer | |
RenderRoundedRectangleFill(const Color clr, const i32 x, const i32 y, const i32 width, const i32 height, const i32 radius) | pu::ui::render::Renderer | |
RenderShadowSimple(const i32 x, const i32 y, const i32 width, const i32 height, const i32 base_alpha, const u8 main_alpha=0xFF) | pu::ui::render::Renderer | |
RenderTexture(sdl2::Texture texture, const i32 x, const i32 y, const TextureRenderOptions opts=TextureRenderOptions::Default) | pu::ui::render::Renderer | |
ResetBaseRenderAlpha() | pu::ui::render::Renderer | inline |
ResetBaseRenderPosition() | pu::ui::render::Renderer | inline |
SetBaseRenderAlpha(const u8 alpha) | pu::ui::render::Renderer | inline |
SetBaseRenderPosition(const i32 x, const i32 y) | pu::ui::render::Renderer | inline |
+ Plutonium framework API 0.3.0
+
+ UI framework libraries for libnx
+ |
+
This is the complete list of members for pu::ui::elm::Image, including all inherited members.
+