Plutonium framework API 0.3.0
UI framework libraries for libnx
Loading...
Searching...
No Matches
pu::ui Namespace Reference

Namespaces

namespace  elm
 
namespace  extras
 
namespace  render
 

Classes

class  Application
 
struct  Color
 
class  Container
 
class  Dialog
 
class  Layout
 
class  Overlay
 
class  SigmoidIncrementer
 
struct  TouchPoint
 

Enumerations

enum class  DefaultFontSize : u32 {
  Small , Medium , MediumLarge , Large ,
  Count
}
 

Functions

std::string MakeDefaultFontName (const u32 font_size)
 
constexpr u32 GetDefaultFontSize (const DefaultFontSize kind)
 
std::string GetDefaultFont (const DefaultFontSize kind)
 
static constexpr bool 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

constexpr u32 DefaultFontSizes [static_cast< u32 >(DefaultFontSize::Count)] = { 27, 30, 37, 45 }
 
constexpr u64 TouchPseudoKey = 1 << 29
 

Enumeration Type Documentation

◆ DefaultFontSize

enum class pu::ui::DefaultFontSize : u32
strong
Enumerator
Small 
Medium 
MediumLarge 
Large 
Count 

Function Documentation

◆ GetDefaultFont()

std::string pu::ui::GetDefaultFont ( const DefaultFontSize kind)
inline

◆ GetDefaultFontSize()

u32 pu::ui::GetDefaultFontSize ( const DefaultFontSize kind)
inlineconstexpr

◆ MakeDefaultFontName()

std::string pu::ui::MakeDefaultFontName ( const u32 font_size)
inline

◆ TouchHitsRegion()

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 )
inlinestaticconstexpr

Variable Documentation

◆ DefaultFontSizes

u32 pu::ui::DefaultFontSizes[static_cast< u32 >(DefaultFontSize::Count)] = { 27, 30, 37, 45 }
constexpr

◆ TouchPseudoKey

u64 pu::ui::TouchPseudoKey = 1 << 29
constexpr