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

#include <controls_bar.h>

Public Member Functions

 controls_bar (const physical_controllers &pc=physical_controllers())
 
void draw ()
 
void set_draw_enter (const bool b) noexcept
 Draw the Enter key, showing the text 'Accept'.
 
void set_draw_invert (const bool b) noexcept
 Show that there is a way to invert a direction, by pressing shift.
 
void set_draw_player_controls (const bool b) noexcept
 
void set_draw_left_right_increase_descrease (const bool b) noexcept
 Draw the arrows to left and right, with the texts 'decrease' and 'increase'.
 
void set_draw_up_down (const bool b) noexcept
 
void set_draw_select (const bool b) noexcept
 
void set_screen_rect (const screen_rect &r) noexcept
 
void set_escape_button_text (const std::string &s)
 Set the text for the escape button, e.g. 'Quit'.
 

Constructor & Destructor Documentation

◆ controls_bar()

controls_bar::controls_bar ( const physical_controllers pc = physical_controllers())

Member Function Documentation

◆ draw()

void controls_bar::draw ( )

◆ set_draw_enter()

void controls_bar::set_draw_enter ( const bool  b)
inlinenoexcept

Draw the Enter key, showing the text 'Accept'.

◆ set_draw_invert()

void controls_bar::set_draw_invert ( const bool  b)
inlinenoexcept

Show that there is a way to invert a direction, by pressing shift.

◆ set_draw_left_right_increase_descrease()

void controls_bar::set_draw_left_right_increase_descrease ( const bool  b)
inlinenoexcept

Draw the arrows to left and right, with the texts 'decrease' and 'increase'.

◆ set_draw_player_controls()

void controls_bar::set_draw_player_controls ( const bool  b)
inlinenoexcept

◆ set_draw_select()

void controls_bar::set_draw_select ( const bool  b)
inlinenoexcept

◆ set_draw_up_down()

void controls_bar::set_draw_up_down ( const bool  b)
inlinenoexcept

◆ set_escape_button_text()

void controls_bar::set_escape_button_text ( const std::string &  s)
inline

Set the text for the escape button, e.g. 'Quit'.

◆ set_screen_rect()

void controls_bar::set_screen_rect ( const screen_rect r)
inlinenoexcept

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