LLDB  mainline
Public Member Functions | Public Attributes | List of all members
curses::Rect Struct Reference
Collaboration diagram for curses::Rect:
Collaboration graph
[legend]

Public Member Functions

 Rect ()
 
 Rect (const Point &p, const Size &s)
 
void Clear ()
 
void Dump ()
 
void Inset (int w, int h)
 
Rect MakeStatusBar ()
 
Rect MakeMenuBar ()
 
void HorizontalSplitPercentage (float top_percentage, Rect &top, Rect &bottom) const
 
void HorizontalSplit (int top_height, Rect &top, Rect &bottom) const
 
void VerticalSplitPercentage (float left_percentage, Rect &left, Rect &right) const
 
void VerticalSplit (int left_width, Rect &left, Rect &right) const
 

Public Attributes

Point origin
 
Size size
 

Detailed Description

Definition at line 704 of file IOHandler.cpp.

Constructor & Destructor Documentation

◆ Rect() [1/2]

curses::Rect::Rect ( )
inline

Definition at line 708 of file IOHandler.cpp.

◆ Rect() [2/2]

curses::Rect::Rect ( const Point p,
const Size s 
)
inline

Definition at line 710 of file IOHandler.cpp.

Member Function Documentation

◆ Clear()

void curses::Rect::Clear ( )
inline

Definition at line 712 of file IOHandler.cpp.

References curses::Point::Clear(), and curses::Size::Clear().

Referenced by HorizontalSplit(), and VerticalSplit().

◆ Dump()

void curses::Rect::Dump ( )
inline

◆ HorizontalSplit()

void curses::Rect::HorizontalSplit ( int  top_height,
Rect top,
Rect bottom 
) const
inline

◆ HorizontalSplitPercentage()

void curses::Rect::HorizontalSplitPercentage ( float  top_percentage,
Rect top,
Rect bottom 
) const
inline

◆ Inset()

void curses::Rect::Inset ( int  w,
int  h 
)
inline

◆ MakeMenuBar()

Rect curses::Rect::MakeMenuBar ( )
inline

◆ MakeStatusBar()

Rect curses::Rect::MakeStatusBar ( )
inline

◆ VerticalSplit()

void curses::Rect::VerticalSplit ( int  left_width,
Rect left,
Rect right 
) const
inline

◆ VerticalSplitPercentage()

void curses::Rect::VerticalSplitPercentage ( float  left_percentage,
Rect left,
Rect right 
) const
inline

Member Data Documentation

◆ origin

Point curses::Rect::origin

◆ size

Size curses::Rect::size

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