#include "controls_view_layout.h"
#include "controls_view_item.h"
#include "program_state.h"
#include "side.h"
#include "controls_bar.h"
#include "chess_color.h"
#include "view.h"
#include <SFML/Graphics.hpp>
#include <optional>
Go to the source code of this file.
◆ draw_background()
◆ draw_keyboard_panel()
◆ draw_layout_panels()
Show where the panels will be drawn.
◆ draw_mouse_panel()
◆ draw_panel()
| void draw_panel |
( |
const screen_rect & |
panel_position, |
|
|
const std::string |
panel_text, |
|
|
const chess_color |
color, |
|
|
const bool |
is_active |
|
) |
| |
- Parameters
-
| is_active | if the panel is active: if true, draw with the real color, else use a greyed out color |
◆ draw_selected_panel()
◆ draw_type_panel()
◆ get_button_for_do()
◆ get_button_for_next()
◆ get_key_for_action_1()
| sf::Keyboard::Key get_key_for_action_1 |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_action_2()
| sf::Keyboard::Key get_key_for_action_2 |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_action_3()
| sf::Keyboard::Key get_key_for_action_3 |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_action_4()
| sf::Keyboard::Key get_key_for_action_4 |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_move_down()
| sf::Keyboard::Key get_key_for_move_down |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_move_left()
| sf::Keyboard::Key get_key_for_move_left |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_move_right()
| sf::Keyboard::Key get_key_for_move_right |
( |
const controls_view & |
v | ) |
|
◆ get_key_for_move_up()