ncmpc  0.31
Public Member Functions | Data Fields
Size Struct Reference

#include <Size.hxx>

Public Member Functions

constexpr bool operator== (Size other) const
 
constexpr bool operator!= (Size other) const
 
constexpr Size operator+ (Size other) const
 
constexpr Size operator- (Size other) const
 

Data Fields

unsigned width
 
unsigned height
 

Detailed Description

Dimensions of a curses screen/window in cells.

Member Function Documentation

◆ operator==()

constexpr bool Size::operator== ( Size  other) const
inline

◆ operator!=()

constexpr bool Size::operator!= ( Size  other) const
inline

◆ operator+()

constexpr Size Size::operator+ ( Size  other) const
inline

◆ operator-()

constexpr Size Size::operator- ( Size  other) const
inline

Field Documentation

◆ width

unsigned Size::width

◆ height

unsigned Size::height

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