Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
lobby_view_layout.cpp File Reference
#include "lobby_view_layout.h"
#include <cassert>
#include <cmath>
#include "controls_bar.h"
Include dependency graph for lobby_view_layout.cpp:

Functions

std::vector< screen_rectget_panels (const lobby_view_layout &layout)
 Get the panels in the layout.
 
const screen_rectget_cursor_rect (const lobby_view_layout &layout, const lobby_view_item item, const side player_side) noexcept
 Get the rectangle of the item.
 
void test_lobby_view_layout ()
 Test the lobby_view_layout class.
 

Function Documentation

◆ get_cursor_rect()

const screen_rect & get_cursor_rect ( const lobby_view_layout layout,
const lobby_view_item  item,
const side  player_side 
)
noexcept

Get the rectangle of the item.

◆ get_panels()

std::vector< screen_rect > get_panels ( const lobby_view_layout layout)

Get the panels in the layout.

◆ test_lobby_view_layout()

void test_lobby_view_layout ( )

Test the lobby_view_layout class.