The Controls dialog.
More...
#include <controls_view.h>
The Controls dialog.
The Controls dialog is where the user determines which controllers (e.g. keyboard or mouse) are used.
◆ controls_view()
| controls_view::controls_view |
( |
const side & |
player_side | ) |
|
◆ draw_impl()
| void controls_view::draw_impl |
( |
| ) |
|
|
overridevirtual |
Show the menu on-screen.
Implements view.
◆ get_layout()
| const auto & controls_view::get_layout |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_physical_controllers()
| const auto & controls_view::get_physical_controllers |
( |
| ) |
const |
|
inlinenoexcept |
◆ get_player_side()
| side controls_view::get_player_side |
( |
| ) |
const |
|
inline |
The player we are setting up the controls of.
◆ get_selected()
| const auto & controls_view::get_selected |
( |
| ) |
const |
|
inlinenoexcept |
◆ process_event_impl()
| bool controls_view::process_event_impl |
( |
sf::Event & |
event | ) |
|
|
overridevirtual |
Process all events.
- Returns
- if the user wants to quit
Implements view.
◆ process_resize_event_impl()
| void controls_view::process_resize_event_impl |
( |
sf::Event & |
event | ) |
|
|
overridevirtual |
◆ set_text_style()
| void controls_view::set_text_style |
( |
sf::Text & |
text | ) |
|
Set a uniform text style.
◆ start_impl()
| void controls_view::start_impl |
( |
| ) |
|
|
overridevirtual |
Prepare this window for being shown.
Implements view.
◆ stop_impl()
| void controls_view::stop_impl |
( |
| ) |
|
|
overridevirtual |
Clean up after this window has been shown.
Implements view.
◆ tick_impl()
| void controls_view::tick_impl |
( |
const delta_t |
dt | ) |
|
|
overridevirtual |
Run the game, until the user quits.
Implements view.
The documentation for this class was generated from the following files: