![]() |
Conquer Chess
Chess and Starcraft combined
|
#include "controls_view.h"#include "screen_coordinate.h"#include "physical_controllers.h"#include "draw.h"#include "render_window.h"#include "action_number.h"#include "game_resources.h"#include "sfml_helper.h"#include <cassert>#include <cmath>#include <iostream>
| void draw_background | ( | controls_view & | v | ) |
| void draw_keyboard_panel | ( | controls_view & | v | ) |
| void draw_layout_panels | ( | controls_view & | v | ) |
Show where the panels will be drawn.
| void draw_mouse_panel | ( | controls_view & | v | ) |
| void draw_panel | ( | const screen_rect & | panel_position, |
| const std::string | panel_text, | ||
| const chess_color | color, | ||
| const bool | is_active | ||
| ) |
| is_active | if the panel is active: if true, draw with the real color, else use a greyed out color |
| void draw_selected_panel | ( | controls_view & | v | ) |
| void draw_type_panel | ( | controls_view & | v | ) |
| sf::Mouse::Button get_button_for_do | ( | const controls_view & | v | ) |
| sf::Mouse::Button get_button_for_next | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_action_1 | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_action_2 | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_action_3 | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_action_4 | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_move_down | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_move_left | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_move_right | ( | const controls_view & | v | ) |
| sf::Keyboard::Key get_key_for_move_up | ( | const controls_view & | v | ) |