![]() |
Conquer Chess
Chess and Starcraft combined
|
#include "options_view_item.h"#include "../magic_enum/include/magic_enum/magic_enum.hpp"#include <algorithm>#include <cassert>#include <iostream>#include <sstream>
Functions | |
| std::vector< options_view_item > | get_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. | |
| void | test_options_view_item () |
| Test this class and free functions. | |
| std::string | to_str (const options_view_item t) noexcept |
| std::ostream & | operator<< (std::ostream &os, const options_view_item i) noexcept |
|
noexcept |
Get the item above the current one, i.e.
the item when the user presses up
|
noexcept |
Get all the options view items.
|
noexcept |
Get the item below the current one, i.e.
the item when the user presses down
|
noexcept |
Get the item left of the current one, i.e.
the item when the user presses left
|
noexcept |
Get the item right of the current one, i.e.
the item when the user presses right
|
noexcept |
| void test_options_view_item | ( | ) |
Test this class and free functions.
|
noexcept |