rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
Public Member Functions | List of all members
rolmodl::BorderSizes Struct Reference

Window decoration (border) sizes snapshot. More...

#include <Win.hpp>

Public Member Functions

 BorderSizes (Win_Base &w)
 Initialize from the current decoration (border) sizes for window w.
 
int top () const noexcept
 Get the recorded top border size.
 
int l () const noexcept
 Get the recorded left border size.
 
int bot () const noexcept
 Get the recorded bottom border size.
 
int r () const noexcept
 Get the recorded right border size.
 

Detailed Description

Window decoration (border) sizes snapshot.

See also
https://wiki.libsdl.org/SDL_GetWindowBordersSize

Definition at line 187 of file Win.hpp.


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