NCBI C++ ToolKit
|
Search Toolkit Book for CGenTextCtrl
#include <gui/widgets/edit/generic_panel.hpp>
Public Member Functions | |
CGenTextCtrl () | |
CGenTextCtrl (wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxTextCtrlNameStr) | |
virtual | ~CGenTextCtrl () |
void | StorePosition () |
void | RestorePosition () |
void | OnKillFocus (wxFocusEvent &event) |
void | OnSetFocus (wxFocusEvent &event) |
void | OnSetChildFocus (wxChildFocusEvent &event) |
void | OnActivate (wxActivateEvent &event) |
void | OnScroll (wxScrollWinEvent &event) |
void | OnScrollWinTop (wxScrollWinEvent &event) |
void | OnIdle (wxIdleEvent &) |
void | ShowPosition (long pos) |
Protected Member Functions | |
wxDECLARE_NO_COPY_CLASS (CGenTextCtrl) | |
Private Attributes | |
long | m_scroll_pos |
bool | m_safe_to_store |
Definition at line 58 of file generic_panel.hpp.
|
inline |
Definition at line 61 of file generic_panel.hpp.
|
inline |
Definition at line 62 of file generic_panel.hpp.
|
inlinevirtual |
Definition at line 63 of file generic_panel.hpp.
void CGenTextCtrl::OnActivate | ( | wxActivateEvent & | event | ) |
Definition at line 443 of file generic_panel.cpp.
References m_safe_to_store, and RestorePosition().
void CGenTextCtrl::OnIdle | ( | wxIdleEvent & | ) |
Definition at line 463 of file generic_panel.cpp.
References StorePosition().
void CGenTextCtrl::OnKillFocus | ( | wxFocusEvent & | event | ) |
Definition at line 423 of file generic_panel.cpp.
void CGenTextCtrl::OnScroll | ( | wxScrollWinEvent & | event | ) |
Definition at line 457 of file generic_panel.cpp.
References StorePosition().
void CGenTextCtrl::OnScrollWinTop | ( | wxScrollWinEvent & | event | ) |
Definition at line 474 of file generic_panel.cpp.
void CGenTextCtrl::OnSetChildFocus | ( | wxChildFocusEvent & | event | ) |
Definition at line 436 of file generic_panel.cpp.
References m_safe_to_store, and RestorePosition().
void CGenTextCtrl::OnSetFocus | ( | wxFocusEvent & | event | ) |
Definition at line 429 of file generic_panel.cpp.
References m_safe_to_store, and RestorePosition().
void CGenTextCtrl::RestorePosition | ( | ) |
Definition at line 479 of file generic_panel.cpp.
References m_safe_to_store, and m_scroll_pos.
Referenced by OnActivate(), OnSetChildFocus(), OnSetFocus(), and CGenericPanel::SetText().
void CGenTextCtrl::ShowPosition | ( | long | pos | ) |
Definition at line 468 of file generic_panel.cpp.
References StorePosition().
Referenced by CGenericPanel::OnGenericReportFindClick(), CGenericPanel::OnGenericReportFindClick2(), and CGenericPanel::SetText().
void CGenTextCtrl::StorePosition | ( | ) |
Definition at line 485 of file generic_panel.cpp.
References m_safe_to_store, and m_scroll_pos.
Referenced by OnIdle(), OnScroll(), CGenericPanel::SetText(), and ShowPosition().
|
protected |
|
private |
Definition at line 79 of file generic_panel.hpp.
Referenced by OnActivate(), OnSetChildFocus(), OnSetFocus(), RestorePosition(), and StorePosition().
|
private |
Definition at line 78 of file generic_panel.hpp.
Referenced by RestorePosition(), and StorePosition().