Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Enumerations | Functions
options_view_item.h File Reference
#include <iosfwd>
#include <string>
#include <vector>
Include dependency graph for options_view_item.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  options_view_item {
  game_speed , left_controls , music_volume , right_controls ,
  sound_effects_volume , starting_position
}
 A selectable item at in the Options menu. More...
 

Functions

std::vector< options_view_itemget_all_options_view_items () noexcept
 Get all the options view items.
 
options_view_item get_above (const options_view_item item) noexcept
 Get the item above the current one, i.e.
 
options_view_item get_below (const options_view_item item) noexcept
 Get the item below the current one, i.e.
 
options_view_item get_left_of (const options_view_item item) noexcept
 Get the item left of the current one, i.e.
 
options_view_item get_right_of (const options_view_item item) noexcept
 Get the item right of the current one, i.e.
 
std::string to_str (const options_view_item item) noexcept
 
void test_options_view_item ()
 Test this class and free functions.
 
std::ostream & operator<< (std::ostream &os, const options_view_item i) noexcept
 

Enumeration Type Documentation

◆ options_view_item

enum class options_view_item
strong

A selectable item at in the Options menu.

A thing that can be changed in the Options menu.

Enumerator
game_speed 
left_controls 
music_volume 
right_controls 
sound_effects_volume 
starting_position 

Function Documentation

◆ get_above()

options_view_item get_above ( const options_view_item  item)
noexcept

Get the item above the current one, i.e.

the item when the user presses up

◆ get_all_options_view_items()

std::vector< options_view_item > get_all_options_view_items ( )
noexcept

Get all the options view items.

◆ get_below()

options_view_item get_below ( const options_view_item  item)
noexcept

Get the item below the current one, i.e.

the item when the user presses down

◆ get_left_of()

options_view_item get_left_of ( const options_view_item  item)
noexcept

Get the item left of the current one, i.e.

the item when the user presses left

◆ get_right_of()

options_view_item get_right_of ( const options_view_item  item)
noexcept

Get the item right of the current one, i.e.

the item when the user presses right

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const options_view_item  i 
)
noexcept

◆ test_options_view_item()

void test_options_view_item ( )

Test this class and free functions.

◆ to_str()

std::string to_str ( const options_view_item  item)
noexcept