Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
navigation_controls_layout Class Reference

The navigation controls for a player. More...

#include <navigation_controls_layout.h>

Public Member Functions

 navigation_controls_layout (const screen_rect &r=screen_rect(screen_coordinate(0, 0), screen_coordinate(3 *64, 2 *64)))
 
const screen_rectget_background () const noexcept
 
const screen_rectget_down () const noexcept
 
const screen_rectget_left () const noexcept
 
const screen_rectget_mouse () const noexcept
 
const screen_rectget_right () const noexcept
 
const screen_rectget_up () const noexcept
 

Detailed Description

The navigation controls for a player.

Must be 3x64 pixels wide and 2x64 pixels high For a keyboard:

+---+
|Up |
+---+---+---+
|Lft|Dwn|Rgt|
+---+---+---+

For a mouse

[Picture of a mouse with all four arrows]

Constructor & Destructor Documentation

◆ navigation_controls_layout()

navigation_controls_layout::navigation_controls_layout ( const screen_rect r = screen_rect(screen_coordinate(0, 0), screen_coordinate(3 * 64, 2 * 64)))

Member Function Documentation

◆ get_background()

const screen_rect & navigation_controls_layout::get_background ( ) const
inlinenoexcept

◆ get_down()

const screen_rect & navigation_controls_layout::get_down ( ) const
inlinenoexcept

◆ get_left()

const screen_rect & navigation_controls_layout::get_left ( ) const
inlinenoexcept

◆ get_mouse()

const screen_rect & navigation_controls_layout::get_mouse ( ) const
inlinenoexcept

◆ get_right()

const screen_rect & navigation_controls_layout::get_right ( ) const
inlinenoexcept

◆ get_up()

const screen_rect & navigation_controls_layout::get_up ( ) const
inlinenoexcept

The documentation for this class was generated from the following files: