LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
curses::HelpDialogDelegate Class Reference
Inheritance diagram for curses::HelpDialogDelegate:
Inheritance graph
[legend]
Collaboration diagram for curses::HelpDialogDelegate:
Collaboration graph
[legend]

Public Member Functions

 HelpDialogDelegate (const char *text, KeyHelp *key_help_array)
 
 ~HelpDialogDelegate () override
 
bool WindowDelegateDraw (Window &window, bool force) override
 
HandleCharResult WindowDelegateHandleChar (Window &window, int key) override
 
size_t GetNumLines () const
 
size_t GetMaxLineLength () const
 
- Public Member Functions inherited from curses::WindowDelegate
virtual ~WindowDelegate ()=default
 
virtual const char * WindowDelegateGetHelpText ()
 
virtual KeyHelpWindowDelegateGetKeyHelp ()
 

Protected Attributes

StringList m_text
 
int m_first_visible_line
 

Detailed Description

Definition at line 842 of file IOHandler.cpp.

Constructor & Destructor Documentation

◆ HelpDialogDelegate()

HelpDialogDelegate::HelpDialogDelegate ( const char *  text,
KeyHelp key_help_array 
)

◆ ~HelpDialogDelegate()

HelpDialogDelegate::~HelpDialogDelegate ( )
overridedefault

Referenced by HelpDialogDelegate().

Member Function Documentation

◆ GetMaxLineLength()

size_t curses::HelpDialogDelegate::GetMaxLineLength ( ) const
inline

Definition at line 854 of file IOHandler.cpp.

◆ GetNumLines()

size_t curses::HelpDialogDelegate::GetNumLines ( ) const
inline

Definition at line 852 of file IOHandler.cpp.

Referenced by SourceFileWindowDelegate::WindowDelegateHandleChar().

◆ WindowDelegateDraw()

bool HelpDialogDelegate::WindowDelegateDraw ( Window window,
bool  force 
)
overridevirtual

◆ WindowDelegateHandleChar()

HandleCharResult HelpDialogDelegate::WindowDelegateHandleChar ( Window window,
int  key 
)
overridevirtual

Member Data Documentation

◆ m_first_visible_line

int curses::HelpDialogDelegate::m_first_visible_line
protected

◆ m_text

StringList curses::HelpDialogDelegate::m_text
protected

Definition at line 857 of file IOHandler.cpp.

Referenced by HelpDialogDelegate(), WindowDelegateDraw(), and WindowDelegateHandleChar().


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