Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
options_view.cpp File Reference
#include "options_view.h"
#include "draw.h"
#include "draw_board.h"
#include "physical_controller.h"
#include "physical_controllers.h"
#include "physical_controller_type.h"
#include "game_controller.h"
#include "game_resources.h"
#include "screen_coordinate.h"
#include "game_options.h"
#include "sfml_helper.h"
#include "render_window.h"
#include <cassert>
Include dependency graph for options_view.cpp:

Functions

void draw_panel (options_view &, const screen_rect &panel_position, const std::string panel_text, const chess_color color)
 
void draw_background (options_view &v)
 Show the bottom part.
 
void draw_bottom (options_view &v)
 Show the bottom part.
 
void draw_bottom_header (options_view &v)
 Show the header of the bottom part, i.e.
 
void draw_bottom_row (options_view &v, const side player_side)
 Show the left player's settings of the bottom part, i.e.
 
void draw_game_speed (options_view &v)
 Show the game speed label and value.
 
void draw_pieces (options_view &view)
 Show all the pieces in the initial position.
 
void draw_starting_position (options_view &v)
 Show the starting position label and value.
 
void draw_top (options_view &v)
 Show the top part.
 
void draw_layout_panels (options_view &v)
 Show all the layout panels.
 
void draw_music_volume (options_view &v)
 Show the music volume label and value.
 
void draw_selected_panel (options_view &v)
 Show the selected panel.
 
void draw_sound_effects_volume (options_view &v)
 Show the sound effects volume label and value.
 

Function Documentation

◆ draw_background()

void draw_background ( options_view v)

Show the bottom part.

◆ draw_bottom()

void draw_bottom ( options_view v)

Show the bottom part.

◆ draw_bottom_header()

void draw_bottom_header ( options_view v)

Show the header of the bottom part, i.e.

'Side' and 'Controller'

◆ draw_bottom_row()

void draw_bottom_row ( options_view v,
const side  player_side 
)

Show the left player's settings of the bottom part, i.e.

'Left' and the LHS controller

◆ draw_game_speed()

void draw_game_speed ( options_view v)

Show the game speed label and value.

◆ draw_layout_panels()

void draw_layout_panels ( options_view v)

Show all the layout panels.

◆ draw_music_volume()

void draw_music_volume ( options_view v)

Show the music volume label and value.

◆ draw_panel()

void draw_panel ( options_view v,
const screen_rect panel_position,
const std::string  panel_text,
const chess_color  color 
)

◆ draw_pieces()

void draw_pieces ( options_view view)

Show all the pieces in the initial position.

◆ draw_selected_panel()

void draw_selected_panel ( options_view v)

Show the selected panel.

◆ draw_sound_effects_volume()

void draw_sound_effects_volume ( options_view v)

Show the sound effects volume label and value.

◆ draw_starting_position()

void draw_starting_position ( options_view v)

Show the starting position label and value.

◆ draw_top()

void draw_top ( options_view v)

Show the top part.