![]() |
Conquer Chess
Chess and Starcraft combined
|
A rectangle-shaped area on the screen. More...
#include <screen_rect.h>
Public Member Functions | |
| screen_rect (const screen_coordinate &top_left=screen_coordinate(0, 0), const screen_coordinate &bottom_right=screen_coordinate(20, 20)) | |
| const auto & | get_tl () const noexcept |
| const auto & | get_br () const noexcept |
A rectangle-shaped area on the screen.
A rectangle-shaped area on the screen, where (0,0), (1,2) denotes the pixels from the top-left corner of the screen, to the second pixel to the right and the third on down.
|
explicit |
|
inlinenoexcept |
|
inlinenoexcept |