C++ Utilities  4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
Public Member Functions | Public Attributes | List of all members
ApplicationUtilities::TerminalSize Struct Reference

The TerminalSize struct describes a terminal size. More...

#include <commandlineutils.h>

Public Member Functions

 TerminalSize (unsigned short rows=0, unsigned short columns=0, unsigned short width=0, unsigned short height=0)
 

Public Attributes

unsigned short rows
 number of rows More...
 
unsigned short columns
 number of columns More...
 
unsigned short width
 width in pixel More...
 
unsigned short height
 height in pixel More...
 

Detailed Description

The TerminalSize struct describes a terminal size.

Remarks
The same as the winsize structure is defined in sys/ioctl.h.
See also
determineTerminalSize()

Definition at line 40 of file commandlineutils.h.

Constructor & Destructor Documentation

◆ TerminalSize()

ApplicationUtilities::TerminalSize::TerminalSize ( unsigned short  rows = 0,
unsigned short  columns = 0,
unsigned short  width = 0,
unsigned short  height = 0 
)
inline

Definition at line 53 of file commandlineutils.h.

Member Data Documentation

◆ columns

unsigned short ApplicationUtilities::TerminalSize::columns

number of columns

Definition at line 46 of file commandlineutils.h.

◆ height

unsigned short ApplicationUtilities::TerminalSize::height

height in pixel

Definition at line 50 of file commandlineutils.h.

◆ rows

unsigned short ApplicationUtilities::TerminalSize::rows

number of rows

Definition at line 44 of file commandlineutils.h.

◆ width

unsigned short ApplicationUtilities::TerminalSize::width

width in pixel

Definition at line 48 of file commandlineutils.h.


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