12#ifndef _WXTERMCONTAINER_H_
13#define _WXTERMCONTAINER_H_
16#pragma interface "wxTermContainer.h"
40#define ID_DIALOG 10000
42#define ID_SCROLLBAR 10002
57 wxTermContainer( wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxBORDER_STATIC );
60 bool Create( wxWindow* parent, wxWindowID
id = -1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxBORDER_STATIC );
88 void OnSize(wxSizeEvent &event);
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
wxTermContainer()
Constructors.
wxScrollBar * m_scrollbar
void OnScrollbarScrollLineDown(wxScrollEvent &event)
wxEVT_SCROLL_LINEDOWN event handler for ID_SCROLLBAR
void OnWheelScroll(wxMouseEvent &event)
wxEVT_MOUSEWHEEL event handler
void OnScrollbarScrollPageUp(wxScrollEvent &event)
wxEVT_SCROLL_PAGEUP event handler for ID_SCROLLBAR
void OnScrollbarScrollLineUp(wxScrollEvent &event)
wxEVT_SCROLL_LINEUP event handler for ID_SCROLLBAR
NumeReTerminal * m_terminal
bool Create(wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxBORDER_STATIC)
Creation.
static bool ShowToolTips()
Should we show tooltips?
void SetTerminal(NumeReTerminal *terminal)
void updateThumbPosition()
Updates the thumb position after every scroll operation except of the click-drag scrolling.
void CreateControls()
Creates the controls and sizers.
void OnScrollbarScrollPageDown(wxScrollEvent &event)
wxEVT_SCROLL_PAGEDOWN event handler for ID_SCROLLBAR
void SetTerminalHistory(int newSize)
Changes the size of the terminal history buffer.
void SetCaretBlinkTime(int newTime)
Changes the blinking duration of the terminal caret.
void OnScrollbarScrollThumbtrack(wxScrollEvent &event)
wxEVT_SCROLL_THUMBTRACK event handler for ID_SCROLLBAR
void OnSize(wxSizeEvent &event)
Empty OnSize event handler.
void OnUpdateUI(wxUpdateUIEvent &event)