Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
about_view_layout Class Reference

The layout of the menu view. More...

#include <about_view_layout.h>

Public Member Functions

 about_view_layout (const screen_rect &r=get_default_screen_rect(), const int margin_width=get_default_margin_width())
 
const auto & get_background () const noexcept
 The size of the rectangle.
 
const auto & get_contributors () const noexcept
 
const auto & get_copyright () const noexcept
 
const auto & get_panel_outline () const noexcept
 
const auto & get_subtitle () const noexcept
 
const auto & get_title () const noexcept
 
const auto & get_url () const noexcept
 

Detailed Description

The layout of the menu view.

x x x x
1 2 3 4
+----------------------------------------------------+
| |
| +--------------+ | y1
| | | |
| | +----------+ | | y2
| | | | | |
| | | title | | |
| | | 2 panels | | |
| | +----------+ | | y3
| | | |
| | +----------+ | | y4
| | | subtitle | | |
| | +----------+ | | y5
| | | |
| | +----------+ | | y6
| | | copyright| | |
| | +----------+ | | y7
| | | |
| | +----------+ | | y8
| | | url | | |
| | +----------+ | | y9
| | | |
| | +----------+ | | y10
| | | contri- | | |
| | | butors | | |
| | | | | |
| | | | | |
| | +----------+ | | y11
| | | |
| +--------------+ | y12
| |
+----------------------------------------------------+
^ ^
| |
+----------+
panel_width

Constructor & Destructor Documentation

◆ about_view_layout()

about_view_layout::about_view_layout ( const screen_rect r = get_default_screen_rect(),
const int  margin_width = get_default_margin_width() 
)
explicit

Member Function Documentation

◆ get_background()

const auto & about_view_layout::get_background ( ) const
inlinenoexcept

The size of the rectangle.

◆ get_contributors()

const auto & about_view_layout::get_contributors ( ) const
inlinenoexcept

◆ get_copyright()

const auto & about_view_layout::get_copyright ( ) const
inlinenoexcept

◆ get_panel_outline()

const auto & about_view_layout::get_panel_outline ( ) const
inlinenoexcept

◆ get_subtitle()

const auto & about_view_layout::get_subtitle ( ) const
inlinenoexcept

◆ get_title()

const auto & about_view_layout::get_title ( ) const
inlinenoexcept

◆ get_url()

const auto & about_view_layout::get_url ( ) const
inlinenoexcept

The documentation for this class was generated from the following files: