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

Go to the source code of this file.

Classes

class  menu_view
 The main Menu dialog. More...
 

Functions

int create_random_background_image_index (std::default_random_engine &rng_engine)
 Create a random background image index.
 
int create_seedless_random_background_image_index ()
 Create a random background image index.
 
void draw_about_panel (menu_view &v)
 
void draw_background_image (menu_view &v)
 
void draw_menu_outline (menu_view &v)
 
void draw_options_panel (menu_view &v)
 
void draw_layout_panels (menu_view &v)
 Show where the panels will be drawn.
 
void draw_quit_panel (menu_view &v)
 
void draw_selected_panel (menu_view &v)
 
void draw_subtitle_panel (menu_view &v)
 
void draw_start_panel (menu_view &v)
 
void draw_title_panel (menu_view &v)
 

Function Documentation

◆ create_random_background_image_index()

int create_random_background_image_index ( std::default_random_engine &  rng_engine)

Create a random background image index.

◆ create_seedless_random_background_image_index()

int create_seedless_random_background_image_index ( )

Create a random background image index.

Use create_random_background_image_index} to be able to supply a random seed.

◆ draw_about_panel()

void draw_about_panel ( menu_view v)

◆ draw_background_image()

void draw_background_image ( menu_view v)

◆ draw_layout_panels()

void draw_layout_panels ( menu_view v)

Show where the panels will be drawn.

◆ draw_menu_outline()

void draw_menu_outline ( menu_view v)

◆ draw_options_panel()

void draw_options_panel ( menu_view v)

◆ draw_quit_panel()

void draw_quit_panel ( menu_view v)

◆ draw_selected_panel()

void draw_selected_panel ( menu_view v)

◆ draw_start_panel()

void draw_start_panel ( menu_view v)

◆ draw_subtitle_panel()

void draw_subtitle_panel ( menu_view v)

◆ draw_title_panel()

void draw_title_panel ( menu_view v)