OpenCPN Partial API docs
Loading...
Searching...
No Matches
TTYScroll Class Reference
Inheritance diagram for TTYScroll:

Public Member Functions

 TTYScroll (wxWindow *parent, int n_lines, wxTextCtrl &tFilter)
 
virtual void OnDraw (wxDC &dc)
 
virtual void Add (const wxString &line)
 
void OnSize (wxSizeEvent &event)
 
void Pause (bool pause)
 
void Copy ()
 

Protected Attributes

wxCoord m_hLine
 
size_t m_nLines
 
wxArrayString * m_plineArray
 
wxTextCtrl & m_tFilter
 
bool bpause
 

Detailed Description

Definition at line 32 of file TTYScroll.h.

Constructor & Destructor Documentation

◆ TTYScroll()

TTYScroll::TTYScroll ( wxWindow *  parent,
int  n_lines,
wxTextCtrl &  tFilter 
)

Definition at line 31 of file TTYScroll.cpp.

◆ ~TTYScroll()

TTYScroll::~TTYScroll ( )
virtual

Definition at line 43 of file TTYScroll.cpp.

Member Function Documentation

◆ Add()

void TTYScroll::Add ( const wxString &  line)
virtual

Definition at line 45 of file TTYScroll.cpp.

◆ Copy()

void TTYScroll::Copy ( )

Definition at line 111 of file TTYScroll.cpp.

◆ OnDraw()

void TTYScroll::OnDraw ( wxDC &  dc)
virtual

Definition at line 63 of file TTYScroll.cpp.

◆ Pause()

void TTYScroll::Pause ( bool  pause)
inline

Definition at line 39 of file TTYScroll.h.

Member Data Documentation

◆ bpause

bool TTYScroll::bpause
protected

Definition at line 48 of file TTYScroll.h.

◆ m_hLine

wxCoord TTYScroll::m_hLine
protected

Definition at line 43 of file TTYScroll.h.

◆ m_nLines

size_t TTYScroll::m_nLines
protected

Definition at line 44 of file TTYScroll.h.

◆ m_plineArray

wxArrayString* TTYScroll::m_plineArray
protected

Definition at line 46 of file TTYScroll.h.

◆ m_tFilter

wxTextCtrl& TTYScroll::m_tFilter
protected

Definition at line 47 of file TTYScroll.h.


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