1#ifndef CONTROLS_VIEW_LAYOUT_H
2#define CONTROLS_VIEW_LAYOUT_H
The layout of the Controls dialog.
Definition controls_view_layout.h:42
const screen_rect & get_action_4_value() const noexcept
Definition controls_view_layout.h:58
const screen_rect & get_selectable_rect(const controls_view_item item) const noexcept
Definition controls_view_layout.cpp:158
const screen_rect & get_action_1_label() const noexcept
Definition controls_view_layout.h:51
const screen_rect & get_do_label() const noexcept
Definition controls_view_layout.h:65
const screen_rect & get_down_label() const noexcept
Definition controls_view_layout.h:67
const screen_rect & get_left_value() const noexcept
Definition controls_view_layout.h:70
const screen_rect & get_action_3_label() const noexcept
Definition controls_view_layout.h:55
const screen_rect & get_controller_type_value() const noexcept
Definition controls_view_layout.h:64
const screen_rect & get_action_2_label() const noexcept
Definition controls_view_layout.h:53
const screen_rect & get_do_value() const noexcept
Definition controls_view_layout.h:66
const screen_rect & get_down_value() const noexcept
Definition controls_view_layout.h:68
const screen_rect & get_up_label() const noexcept
Definition controls_view_layout.h:75
const screen_rect & get_right_value() const noexcept
Definition controls_view_layout.h:74
const screen_rect & get_right_label() const noexcept
Definition controls_view_layout.h:73
const screen_rect & get_next_value() const noexcept
Definition controls_view_layout.h:72
const screen_rect & get_up_value() const noexcept
Definition controls_view_layout.h:76
const screen_rect & get_action_4_label() const noexcept
Definition controls_view_layout.h:57
const screen_rect & get_action_1_value() const noexcept
Definition controls_view_layout.h:52
const screen_rect & get_next_label() const noexcept
Definition controls_view_layout.h:71
const screen_rect & get_action_2_value() const noexcept
Definition controls_view_layout.h:54
const screen_rect & get_background() const noexcept
The size of this layout.
Definition controls_view_layout.h:61
const screen_rect & get_action_3_value() const noexcept
Definition controls_view_layout.h:56
const screen_rect & get_controller_type_label() const noexcept
Definition controls_view_layout.h:63
const screen_rect & get_left_label() const noexcept
Definition controls_view_layout.h:69
A rectangle-shaped area on the screen.
Definition screen_rect.h:15
controls_view_item
The items in the Controls dialog.
Definition controls_view_item.h:8
void test_controls_view_layout()
Test the controls_view_layout class.
Definition controls_view_layout.cpp:179
std::vector< screen_rect > get_panels(const controls_view_layout &layout)
Get the panels in the layout.
Definition controls_view_layout.cpp:128
constexpr int get_default_margin_width() noexcept
Get the default margin width/size, in pixels.
Definition layout.h:7
screen_rect get_default_screen_rect() noexcept
Get the default screen rectangle.
Definition screen_rect.cpp:140