persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
UIScreenLayout Struct Reference

Static helpers for common on-screen coordinates. More...

#include <UIScreenLayout.hpp>

Static Public Member Functions

static constexpr int width ()
static constexpr int height ()
static constexpr int centerX ()
static constexpr int centerY ()
static constexpr int rightEdge (int w)
static constexpr int bottomEdge (int h)
static Point2D< int > topLeft ()
static Point2D< int > topRight ()
static Point2D< int > bottomLeft ()
static Point2D< int > bottomRight ()
static Point2D< int > center ()

Detailed Description

Static helpers for common on-screen coordinates.

Definition at line 14 of file UIScreenLayout.hpp.

Member Function Documentation

◆ bottomEdge()

constexpr int UIScreenLayout::bottomEdge ( int h)
inlinestaticconstexpr

Definition at line 41 of file UIScreenLayout.hpp.

◆ bottomLeft()

Point2D< int > UIScreenLayout::bottomLeft ( )
inlinestatic

Definition at line 56 of file UIScreenLayout.hpp.

◆ bottomRight()

Point2D< int > UIScreenLayout::bottomRight ( )
inlinestatic

Definition at line 61 of file UIScreenLayout.hpp.

◆ center()

Point2D< int > UIScreenLayout::center ( )
inlinestatic

Definition at line 66 of file UIScreenLayout.hpp.

◆ centerX()

constexpr int UIScreenLayout::centerX ( )
inlinestaticconstexpr

Definition at line 26 of file UIScreenLayout.hpp.

◆ centerY()

constexpr int UIScreenLayout::centerY ( )
inlinestaticconstexpr

Definition at line 31 of file UIScreenLayout.hpp.

◆ height()

constexpr int UIScreenLayout::height ( )
inlinestaticconstexpr

Definition at line 21 of file UIScreenLayout.hpp.

◆ rightEdge()

constexpr int UIScreenLayout::rightEdge ( int w)
inlinestaticconstexpr

Definition at line 36 of file UIScreenLayout.hpp.

◆ topLeft()

Point2D< int > UIScreenLayout::topLeft ( )
inlinestatic

Definition at line 46 of file UIScreenLayout.hpp.

◆ topRight()

Point2D< int > UIScreenLayout::topRight ( )
inlinestatic

Definition at line 51 of file UIScreenLayout.hpp.

◆ width()

constexpr int UIScreenLayout::width ( )
inlinestaticconstexpr

Definition at line 16 of file UIScreenLayout.hpp.


The documentation for this struct was generated from the following file: