Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Classes | Functions
lobby_view.h File Reference
#include "controls_bar.h"
#include "game_options.h"
#include "lobby_options.h"
#include "lobby_view_layout.h"
#include "lobby_view_item.h"
#include "view.h"
#include <SFML/Graphics.hpp>
#include <optional>
Include dependency graph for lobby_view.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lobby_view
 The lobby screen. More...
 

Functions

void draw_background (lobby_view &v)
 The background image.
 
void draw_color_panel (lobby_view &v, const side player_side)
 Show the side/color the players have picked.
 
void draw_countdown (lobby_view &v, const int n_left_secs)
 Show the countdown.
 
void draw_king_portrait (lobby_view &v, const side player_side)
 Show the portraits of the kings of the race the players use.
 
void draw_layout_panels (lobby_view &v)
 Show where the panels will be drawn.
 
void draw_race_panel (lobby_view &v, const side player_side)
 Show the races the players have picked.
 
void draw_ready_panel (lobby_view &v, const side player_side)
 Show if the players are ready.
 
void draw_selected_panel (lobby_view &v, const side player_side)
 Draw the cursor on the selected panel.
 
void draw_lobby_title (lobby_view &v)
 The image at the top.
 

Function Documentation

◆ draw_background()

void draw_background ( lobby_view v)

The background image.

◆ draw_color_panel()

void draw_color_panel ( lobby_view v,
const side  player_side 
)

Show the side/color the players have picked.

◆ draw_countdown()

void draw_countdown ( lobby_view v,
const int  n_left_secs 
)

Show the countdown.

◆ draw_king_portrait()

void draw_king_portrait ( lobby_view v,
const side  player_side 
)

Show the portraits of the kings of the race the players use.

◆ draw_layout_panels()

void draw_layout_panels ( lobby_view v)

Show where the panels will be drawn.

◆ draw_lobby_title()

void draw_lobby_title ( lobby_view v)

The image at the top.

◆ draw_race_panel()

void draw_race_panel ( lobby_view v,
const side  player_side 
)

Show the races the players have picked.

◆ draw_ready_panel()

void draw_ready_panel ( lobby_view v,
const side  player_side 
)

Show if the players are ready.

◆ draw_selected_panel()

void draw_selected_panel ( lobby_view v,
const side  player_side 
)

Draw the cursor on the selected panel.