CLI
2.9
|
Screen information. More...
#include <io_device.h>
Public Types | |
enum | _RegularValues { UNKNOWN = -1, DEFAULT_WIDTH = 80, DEFAULT_HEIGHT = 20 } |
ScreenInfo regular values. More... | |
Public Member Functions | |
ScreenInfo (const int I_Width, const int I_Height, const bool B_TrueCls, const bool B_WrapLines) | |
Constructor. More... | |
ScreenInfo (const ScreenInfo &CLI_Info) | |
Copy constructor. More... | |
virtual | ~ScreenInfo (void) |
Destructor. More... | |
ScreenInfo & | operator= (const ScreenInfo &CLI_ScreenInfo) |
Assignment operator. More... | |
const int | GetWidth (void) const |
Screen width accessor. More... | |
const unsigned int | GetSafeWidth (void) const |
Safe screen width accessor. More... | |
const int | GetHeight (void) const |
Screen height accessor. More... | |
const unsigned int | GetSafeHeight (void) const |
Safe screen height accessor. More... | |
const bool | GetbTrueCls (void) const |
True CleanScreen() characteristic accessor. More... | |
const bool | GetbWrapLines (void) const |
Line wrapping characteristic accessor. More... | |
Public Member Functions inherited from Object | |
virtual | ~Object (void)=0 |
Pure virtual destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Object | |
Object (void) | |
Default constructor only available to sub-classes. More... | |
Screen information.
Definition at line 461 of file io_device.h.
ScreenInfo regular values.
Enumerator | |
---|---|
UNKNOWN | Unknown value constant for either width or height. |
DEFAULT_WIDTH | Default width constant. |
DEFAULT_HEIGHT | Default height constant. |
Definition at line 465 of file io_device.h.
|
inlineexplicit |
Constructor.
I_Width | Width of screen. Can be UNKNOWN. |
I_Height | Height of screen. Can be UNKNOWN. |
B_TrueCls | True when an efficient CleanScreen() operation is implemented. |
B_WrapLines | True when the line automatically goes down when the cursor reached the right end of the screen. |
Definition at line 477 of file io_device.h.
|
inline |
Copy constructor.
CLI_Info | Dimension object to copy. |
Definition at line 487 of file io_device.h.
|
inlinevirtual |
Destructor.
Definition at line 494 of file io_device.h.
|
inline |
True CleanScreen() characteristic accessor.
Definition at line 523 of file io_device.h.
|
inline |
Line wrapping characteristic accessor.
Definition at line 526 of file io_device.h.
|
inline |
Screen height accessor.
Definition at line 517 of file io_device.h.
References UNKNOWN.
|
inline |
Safe screen height accessor.
Definition at line 520 of file io_device.h.
References DEFAULT_HEIGHT.
Referenced by More::OnKey(), Less::ResetToDefault(), and More::ResetToDefault().
|
inline |
Safe screen width accessor.
Definition at line 514 of file io_device.h.
References DEFAULT_WIDTH.
Referenced by Text::LineDown(), Text::LineUp(), More::OnKey(), and More::ResetToDefault().
|
inline |
Screen width accessor.
Definition at line 511 of file io_device.h.
References UNKNOWN.
|
inline |
Assignment operator.
CLI_ScreenInfo | Screen information to copy. |
Definition at line 498 of file io_device.h.