NCBI C++ ToolKit
|
Search Toolkit Book for CGlWidgetBase
class CGlWidgetBase More...
#include <gui/widgets/gl/gl_widget_base.hpp>
Public Types | |
enum | { ID_GLCHILDPANE = wxID_HIGHEST + 200 , ID_VSCROPLLBAR , ID_HSCROPLLBAR } |
Public Types inherited from CEventHandler | |
enum | EDispatch { eDispatch_SelfOnly , eDispatch_AllHandlers , eDispatch_FirstHandler , eDispatch_Default = eDispatch_AllHandlers } |
enum controlling dispatching strategies More... | |
enum | EPoolName { ePool_Default = 0 , ePool_Parent , ePool_Child , ePool_Sibling , ePool_NextAvailable } |
Identifiers for standard pools. More... | |
typedef vector< CEventHandler * > | TListeners |
typedef map< int, TListeners > | TPools |
typedef list< AutoPtr< SPostRequest > > | TPostRequests |
typedef std::map< CEventHandler *, int > | THandlerToCount |
typedef void(* | FOnPostCallback) () |
Public Member Functions | |
CGlWidgetBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel")) | |
class CGlWidgetBase More... | |
virtual | ~CGlWidgetBase () |
virtual void | Create () |
creates controls and performs basic initialization More... | |
virtual CGlPane & | GetPort ()=0 |
implement these 2 functions in derived classes More... | |
virtual const CGlPane & | GetPort () const =0 |
virtual void | ZoomRect (const TModelRect &rc) |
virtual void | ZoomPoint (const TModelPoint &point, TModelUnit factor, CGlPane::EZoomOptions=CGlPane::fZoomXY) |
virtual void | Scroll (TModelUnit d_x, TModelUnit d_y) |
virtual void | NotifyVisibleRangeChanged () |
void | OnAllEvents (CViewEvent::TEventObject evt) |
IRegSettings interface implementation | |
virtual void | SetRegistryPath (const string ®_path) |
virtual void | LoadSettings () |
virtual void | SaveSettings () const |
wxWidgets event handlers | |
void | OnSize (wxSizeEvent &event) |
void | OnScroll (wxScrollEvent &event) |
void | OnZoomIn (wxCommandEvent &event) |
void | OnZoomInX (wxCommandEvent &event) |
void | OnZoomInY (wxCommandEvent &event) |
void | OnZoomInMouse (wxCommandEvent &event) |
void | OnZoomOut (wxCommandEvent &event) |
void | OnZoomOutX (wxCommandEvent &event) |
void | OnZoomOutY (wxCommandEvent &event) |
void | OnZoomOutMouse (wxCommandEvent &event) |
void | OnZoomAll (wxCommandEvent &event) |
void | OnZoomAllX (wxCommandEvent &event) |
void | OnZoomAllY (wxCommandEvent &event) |
void | OnEnableCmdUpdate (wxUpdateUIEvent &event) |
Public Member Functions inherited from CEventHandler | |
CEventHandler () | |
CEventHandler. More... | |
virtual | ~CEventHandler () |
virtual void | AddListener (CEventHandler *listener, int pool_name=ePool_Default) |
Add a listener. More... | |
virtual void | RemoveListener (CEventHandler *listener) |
Remove a listener. More... | |
virtual void | RemoveAllListeners (void) |
virtual bool | HasListener (CEventHandler *listener, int pool_name=ePool_Default) const |
returns "true" if the given listener belongs to the specified pool More... | |
virtual const TListeners * | GetListeners (int pool_name=ePool_Default) const |
returns a set of listeners fro the specified pool More... | |
virtual bool | OnEvent (CEvent *evt) |
Processes en event. Returns "true" if event has been processed. More... | |
virtual bool | Dispatch (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default) |
Dispatches an event to the listeners (but does not handle it). More... | |
virtual bool | Send (CEvent *evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default) |
Sends an event synchronously. More... | |
virtual bool | Send (CEvent *evt, int pool_name) |
void | Post (CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default) |
Handles an event asynchronously (process and/or dispatch). More... | |
Public Member Functions inherited from IRegSettings | |
virtual | ~IRegSettings () |
Protected Member Functions | |
virtual bool | DoPopupMenu (wxMenu *menu, int x, int y) |
Override to record when (blocking) popup menu is active. More... | |
virtual void | x_CreateControls (void) |
creates Pane, Scrollbars and other child widgets, called from Create() More... | |
virtual void | x_CreatePane ()=0 |
factory method creating master pane, called form x_CreateControls() More... | |
virtual CGlWidgetPane * | x_GetPane () |
virtual void | x_RedrawControls (void) |
virtual void | x_Update () |
Update handlers. More... | |
virtual void | x_SaveStates () |
virtual void | x_SetPortLimits (void)=0 |
updates model limits of the Master CGlPane More... | |
virtual void | x_ZoomIn (int options) |
Zoom functions. More... | |
virtual void | x_ZoomOut (int options) |
virtual void | x_ZoomAll (int options) |
virtual void | x_UpdateOnZoom () |
virtual void | x_UpdateOnHScroll () |
virtual void | x_UpdateOnVScroll () |
virtual void | x_UpdateScrollbars () |
virtual void | x_OnScrollX (int pos) |
virtual void | x_OnScrollY (int pos) |
virtual void | x_ShowDecoratedPopupMenu (wxMenu *menu) |
Protected Member Functions inherited from CEventHandler | |
virtual const SEvtMap * | GetEventMap () const |
void | x_DeclareDead () |
Removes itself unavailable for async event delivery. More... | |
void | x_AddListenerToPool (CEventHandler *listener, int pool_name) |
Protected Attributes | |
string | m_RegPath |
path to the widget's settings in GUI Registry More... | |
TModelPoint | m_PopupPoint |
Protected Attributes inherited from CEventHandler | |
TPools | m_Pools |
Additional Inherited Members | |
Static Public Member Functions inherited from CEventHandler | |
static bool | HandlePostRequest () |
static void | ClearPostQueue () |
erases all events from the queue More... | |
static void | DestroyPostQueue () |
Static Protected Attributes inherited from CEventHandler | |
static const SEvtMap | sm_EvtMap |
class CGlWidgetBase
Definition at line 212 of file gl_widget_base.hpp.
anonymous enum |
Enumerator | |
---|---|
ID_GLCHILDPANE | |
ID_VSCROPLLBAR | |
ID_HSCROPLLBAR |
Definition at line 219 of file gl_widget_base.hpp.
CGlWidgetBase::CGlWidgetBase | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = wxTAB_TRAVERSAL , |
||
const wxString & | name = wxT("panel") |
||
) |
class CGlWidgetBase
Definition at line 633 of file gl_widget_base.cpp.
|
virtual |
Definition at line 645 of file gl_widget_base.cpp.
|
virtual |
creates controls and performs basic initialization
Definition at line 650 of file gl_widget_base.cpp.
References GetPort(), x_CreateControls(), x_SetPortLimits(), and CGlPane::ZoomAll().
Referenced by CGraphicPanel::CreateControls(), CSeqTextPanel::CreateControls(), CCrossAlnDemoDlg::CreateControls(), CHitMatrixDemoDlg::CreateControls(), CPhyloTreeDemoDlg::CreateControls(), CSeqGraphicDemoDlg::CreateControls(), CSeqTextDemoDlg::CreateControls(), CCrossAlignView::CreateViewWindow(), CDotMatrixView::CreateViewWindow(), CPhyTreeView::CreateViewWindow(), CGlPaneWidgetDemoPanel::x_Activate(), and CSeqGraphicWidget::x_SaveVectorImage().
Override to record when (blocking) popup menu is active.
Definition at line 878 of file gl_widget_base.cpp.
References b, CGlWidgetPane::SetPopupMenuDisplayed(), and x_GetPane().
Implemented in CSeqGraphicWidget, CGlWidgetDemo, CSeqTextWidget, CPhyloTreeWidget, CHitMatrixWidget, CAlnMultiWidget, CCrossAlnWidget, and CCrossAlnWidget.
|
pure virtual |
implement these 2 functions in derived classes
Implemented in CSeqGraphicWidget, CSeqGraphicWidget, CGlWidgetDemo, CSeqTextWidget, CAlnMultiWidget, CGlWidgetDemo, CSeqTextWidget, CPhyloTreeWidget, CHitMatrixWidget, CAlnMultiWidget, and CCrossAlnWidget.
Referenced by Create(), OnSize(), OnZoomInMouse(), OnZoomOutMouse(), Scroll(), x_OnScrollX(), x_OnScrollY(), x_UpdateScrollbars(), x_ZoomAll(), x_ZoomIn(), x_ZoomOut(), ZoomPoint(), and ZoomRect().
|
virtual |
Implements IRegSettings.
Reimplemented in CPhyloTreeWidget, and CAlnMultiWidget.
Definition at line 664 of file gl_widget_base.cpp.
|
virtual |
Definition at line 963 of file gl_widget_base.cpp.
References CEvent::eEvent_Message, CEventHandler::ePool_Parent, CViewEvent::eWidgetRangeChanged, and CEventHandler::Send().
Referenced by CGlPaneWidgetChildDemo::MZHH_EndOp(), CHitMatrixPane::MZHH_EndOp(), CSeqGraphicPane::MZHH_EndOp(), CGlPaneWidgetChildDemo::MZHH_Scroll(), CHitMatrixPane::MZHH_Scroll(), CGlPaneWidgetChildDemo::MZHH_ZoomPoint(), CHitMatrixPane::MZHH_ZoomPoint(), CGlPaneWidgetChildDemo::MZHH_ZoomRect(), CHitMatrixPane::MZHH_ZoomRect(), CSeqTextPane::ScrollToPosition(), x_UpdateOnZoom(), and CCrossAlnPane::x_UpdateOnZoom().
void CGlWidgetBase::OnAllEvents | ( | CViewEvent::TEventObject | evt | ) |
Definition at line 1126 of file gl_widget_base.cpp.
References _TRACE.
void CGlWidgetBase::OnEnableCmdUpdate | ( | wxUpdateUIEvent & | event | ) |
Definition at line 816 of file gl_widget_base.cpp.
void CGlWidgetBase::OnScroll | ( | wxScrollEvent & | event | ) |
Definition at line 704 of file gl_widget_base.cpp.
References CGlWidgetPane::CheckOverlayTimer(), NULL, x_GetPane(), x_OnScrollX(), x_OnScrollY(), x_SaveStates(), x_UpdateOnHScroll(), and x_UpdateOnVScroll().
void CGlWidgetBase::OnSize | ( | wxSizeEvent & | event | ) |
Definition at line 682 of file gl_widget_base.cpp.
References CGlPane::AdjustToLimits(), GetPort(), CGlPane::SetViewport(), ncbi::grid::netcache::search::fields::size, x_GetPane(), and x_UpdateScrollbars().
Referenced by CCrossAlnWidget::OnSize(), and CSeqGraphicWidget::OnSize().
void CGlWidgetBase::OnZoomAll | ( | wxCommandEvent & | event | ) |
Definition at line 798 of file gl_widget_base.cpp.
References CGlPane::fZoomXY, and x_ZoomAll().
Referenced by CUpdateSeqPanel::OnZoomAll().
void CGlWidgetBase::OnZoomAllX | ( | wxCommandEvent & | event | ) |
Definition at line 804 of file gl_widget_base.cpp.
References CGlPane::fZoomX, and x_ZoomAll().
void CGlWidgetBase::OnZoomAllY | ( | wxCommandEvent & | event | ) |
Definition at line 810 of file gl_widget_base.cpp.
References CGlPane::fZoomY, and x_ZoomAll().
void CGlWidgetBase::OnZoomIn | ( | wxCommandEvent & | event | ) |
Definition at line 737 of file gl_widget_base.cpp.
References CGlPane::fZoomXY, and x_ZoomIn().
void CGlWidgetBase::OnZoomInMouse | ( | wxCommandEvent & | event | ) |
Definition at line 755 of file gl_widget_base.cpp.
References CGlPane::fZoomX, CGlPane::fZoomY, GetPort(), CGlPane::GetZoomFactor(), CGlPane::IsZoomInAvaiable(), m_PopupPoint, x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomPoint().
void CGlWidgetBase::OnZoomInX | ( | wxCommandEvent & | event | ) |
Definition at line 743 of file gl_widget_base.cpp.
References CGlPane::fZoomX, and x_ZoomIn().
Referenced by CUpdateSeqPanel::OnZoomIn().
void CGlWidgetBase::OnZoomInY | ( | wxCommandEvent & | event | ) |
Definition at line 749 of file gl_widget_base.cpp.
References CGlPane::fZoomY, and x_ZoomIn().
void CGlWidgetBase::OnZoomOut | ( | wxCommandEvent & | event | ) |
Definition at line 767 of file gl_widget_base.cpp.
References CGlPane::fZoomXY, and x_ZoomOut().
void CGlWidgetBase::OnZoomOutMouse | ( | wxCommandEvent & | event | ) |
Definition at line 785 of file gl_widget_base.cpp.
References CGlPane::fZoomX, CGlPane::fZoomY, GetPort(), CGlPane::GetZoomFactor(), CGlPane::IsZoomOutAvaiable(), m_PopupPoint, x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomPoint().
void CGlWidgetBase::OnZoomOutX | ( | wxCommandEvent & | event | ) |
Definition at line 773 of file gl_widget_base.cpp.
References CGlPane::fZoomX, and x_ZoomOut().
Referenced by CUpdateSeqPanel::OnZoomOut().
void CGlWidgetBase::OnZoomOutY | ( | wxCommandEvent & | event | ) |
Definition at line 779 of file gl_widget_base.cpp.
References CGlPane::fZoomY, and x_ZoomOut().
|
virtual |
Implements IRegSettings.
Reimplemented in CPhyloTreeWidget, and CAlnMultiWidget.
Definition at line 670 of file gl_widget_base.cpp.
|
virtual |
Reimplemented in CAlnMultiWidget.
Definition at line 840 of file gl_widget_base.cpp.
References GetPort(), CGlPane::Scroll(), and x_UpdateOnZoom().
Referenced by CPhyloTreeWidget::IterateSelection(), CPhyloTreePane::MMHH_Scroll(), CPhyloTreePane::MZHH_Scroll(), CGlPaneWidgetChildDemo::MZHH_Scroll(), CHitMatrixPane::MZHH_Scroll(), CSeqGraphicPane::MZHH_Scroll(), CPhyloTreeWidget::OnSearchTip(), and CSeqTextPane::ScrollToPosition().
Implements IRegSettings.
Reimplemented in CPhyloTreeWidget.
Definition at line 658 of file gl_widget_base.cpp.
References m_RegPath.
Referenced by CUpdateSeqPanel::CreateControls(), and CMultiAlignView::SetRegistryPath().
|
protectedvirtual |
creates Pane, Scrollbars and other child widgets, called from Create()
Reimplemented in CPhyloTreeWidget, and CCrossAlnWidget.
Definition at line 890 of file gl_widget_base.cpp.
References _ASSERT, ID_HSCROPLLBAR, ID_VSCROPLLBAR, x_CreatePane(), and x_GetPane().
Referenced by Create(), CAlnMultiWidget::CreateWidget(), and CPhyloTreeWidget::x_CreateControls().
|
protectedpure virtual |
factory method creating master pane, called form x_CreateControls()
Implemented in CPhyloTreeWidget, CAlnMultiWidget, CSeqGraphicWidget, CGlWidgetDemo, CSeqTextWidget, CHitMatrixWidget, and CCrossAlnWidget.
Referenced by x_CreateControls().
|
protectedvirtual |
Reimplemented in CSeqGraphicWidget, CSeqTextWidget, CPhyloTreeWidget, CHitMatrixWidget, CAlnMultiWidget, and CCrossAlnWidget.
Definition at line 676 of file gl_widget_base.cpp.
References ID_GLCHILDPANE.
Referenced by DoPopupMenu(), CGlWidgetDemo::OnContextMenu(), OnScroll(), OnSize(), x_CreateControls(), x_OnScrollX(), x_OnScrollY(), and x_RedrawControls().
|
protectedvirtual |
Reimplemented in CSeqTextWidget.
Definition at line 1038 of file gl_widget_base.cpp.
References CGlPane::GetModelLimitsRect(), GetPort(), CGlPane::GetVisibleRect(), int, CNormalizer::IntToReal(), kLineDiv, CGlRect< T >::Left(), max(), min(), compile_time_bits::range(), CGlRect< T >::Right(), CGlPane::Scroll(), CGlRect< T >::Width(), and x_GetPane().
Referenced by OnScroll().
|
protectedvirtual |
Reimplemented in CSeqTextWidget.
Definition at line 1059 of file gl_widget_base.cpp.
References CGlRect< T >::Bottom(), CGlPane::GetModelLimitsRect(), GetPort(), CGlPane::GetVisibleRect(), CGlRect< T >::Height(), int, CNormalizer::IntToReal(), kLineDiv, max(), min(), compile_time_bits::range(), CGlPane::Scroll(), CGlRect< T >::Top(), and x_GetPane().
Referenced by OnScroll().
|
protectedvirtual |
Reimplemented in CAlnMultiWidget.
Definition at line 924 of file gl_widget_base.cpp.
References x_GetPane().
Referenced by CSeqTextWidget::AdjustModelForSequenceAndWindowSize(), CSeqGraphicWidget::OnAdjustRuler(), CHitMatrixWidget::OnColorByScore(), CHitMatrixWidget::OnDisableColoring(), CSeqGraphicWidget::OnHairlineOptions(), CSeqGraphicWidget::OnModifyMarkerDlg(), CSeqGraphicWidget::OnRemoveMarker(), CSeqGraphicWidget::OnRemoveMarker_Info(), CSeqGraphicWidget::OnRenameMarkerDlg(), CSeqGraphicWidget::OnResetSeqStart(), CSeqGraphicWidget::OnSetMarker(), CSeqGraphicWidget::OnSetSeqMarkerDlg(), CSeqGraphicWidget::OnSetSeqMarkerForSelDlg(), CSeqGraphicWidget::OnSetSeqStart(), CSeqGraphicWidget::OnSetSeqStartMarker(), CSeqGraphicWidget::OnSetSwitchPoint(), CHitMatrixWidget::OnSetupGraphs(), CSeqTextWidget::x_OnScrollY(), CSeqGraphicWidget::x_RemoveAllMarkers(), CCrossAlnWidget::x_Update(), CHitMatrixWidget::x_Update(), CPhyloTreeWidget::x_Update(), CSeqTextWidget::x_Update(), CSeqGraphicWidget::x_Update(), CSeqGraphicWidget::x_UpdateOnVScroll(), and x_UpdateOnZoom().
|
inlineprotectedvirtual |
Reimplemented in CSeqGraphicWidget, and CPhyloTreeWidget.
Definition at line 295 of file gl_widget_base.hpp.
Referenced by OnScroll(), OnZoomInMouse(), OnZoomOutMouse(), x_ZoomAll(), x_ZoomIn(), x_ZoomOut(), ZoomPoint(), and ZoomRect().
|
protectedpure virtual |
updates model limits of the Master CGlPane
Implemented in CPhyloTreeWidget, CAlnMultiWidget, CSeqGraphicWidget, CGlWidgetDemo, CSeqTextWidget, CHitMatrixWidget, and CCrossAlnWidget.
Referenced by Create().
|
protectedvirtual |
Definition at line 1095 of file gl_widget_base.cpp.
References _ASSERT, CleanupSeparators(), CEventHandler::eDispatch_Default, CEventHandler::ePool_Parent, CPopupMenuEvent::GetHandlers(), CPopupMenuEvent::GetMenu(), i, and CEventHandler::Send().
Referenced by CAlnMultiWidget::OnContextMenu(), and CSeqGraphicWidget::OnContextMenu().
|
protectedvirtual |
Update handlers.
Reimplemented in CSeqGraphicWidget, CSeqTextWidget, CPhyloTreeWidget, CHitMatrixWidget, and CCrossAlnWidget.
Definition at line 936 of file gl_widget_base.cpp.
|
protectedvirtual |
Definition at line 953 of file gl_widget_base.cpp.
References x_UpdateOnZoom().
Referenced by OnScroll().
|
protectedvirtual |
Reimplemented in CSeqGraphicWidget.
Definition at line 958 of file gl_widget_base.cpp.
References x_UpdateOnZoom().
Referenced by OnScroll().
|
protectedvirtual |
Reimplemented in CAlnMultiWidget.
Definition at line 946 of file gl_widget_base.cpp.
References NotifyVisibleRangeChanged(), x_RedrawControls(), and x_UpdateScrollbars().
Referenced by CPhyloTreeWidget::OnGoBack(), CPhyloTreeWidget::OnGoForward(), CHitMatrixWidget::OnSetEqualScale(), CPhyloTreeWidget::OnSetEqualScale(), CPhyloTreeWidget::OnSetScaleXY(), CSeqGraphicWidget::OnZoomAtMarker(), OnZoomInMouse(), OnZoomOutMouse(), CHitMatrixWidget::OnZoomSelection(), CSeqGraphicWidget::OnZoomSequence(), CHitMatrixWidget::OnZoomToHits(), CHitMatrixWidget::OnZoomToSelectedHitElems(), CPhyloTreeWidget::OnZoomToSelection(), CPhyloTreeWidget::OnZoomX(), CPhyloTreeWidget::OnZoomXY(), Scroll(), CPhyloTreeWidget::SetPortLimits(), CGlWidgetDemo::SetScale(), CSeqGraphicWidget::SetScaleX(), CHitMatrixWidget::SetScaleX(), x_UpdateOnHScroll(), x_UpdateOnVScroll(), x_ZoomAll(), x_ZoomIn(), x_ZoomOut(), CSeqGraphicWidget::ZoomOnRange(), ZoomPoint(), and ZoomRect().
|
protectedvirtual |
Reimplemented in CSeqTextWidget.
Definition at line 978 of file gl_widget_base.cpp.
References CGlRect< T >::Bottom(), CGlPane::GetModelLimitsRect(), GetPort(), CGlPane::GetVisibleRect(), CGlRect< T >::Height(), ID_HSCROPLLBAR, ID_VSCROPLLBAR, int, kLineDiv, kPageInc, CGlRect< T >::Left(), max(), min(), compile_time_bits::range(), CNormalizer::RealToInt(), CGlRect< T >::Right(), CNormalizer::SizeToInt(), CGlRect< T >::Top(), and CGlRect< T >::Width().
Referenced by CAlnMultiWidget::OnRowChanged(), CAlnMultiWidget::OnShowAll(), OnSize(), CAlnMultiWidget::SetVisible(), CSeqGraphicWidget::UpdateHeight(), CPhyloTreeWidget::UpdateViewingArea(), CAlnMultiWidget::x_OnResize(), CHitMatrixWidget::x_Update(), CPhyloTreeWidget::x_Update(), CSeqGraphicWidget::x_Update(), CAlnMultiWidget::x_UpdateOnDataChanged(), CAlnMultiWidget::x_UpdateOnRowHChanged(), CAlnMultiWidget::x_UpdateOnSwitchMaster(), CSeqGraphicWidget::x_UpdateOnVScroll(), x_UpdateOnZoom(), and CAlnMultiWidget::x_UpdateOnZoom().
|
protectedvirtual |
Definition at line 868 of file gl_widget_base.cpp.
References GetPort(), CGlPane::IsZoomOutAvaiable(), x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomAll().
Referenced by OnZoomAll(), OnZoomAllX(), and OnZoomAllY().
|
protectedvirtual |
Zoom functions.
Reimplemented in CPhyloTreeWidget.
Definition at line 846 of file gl_widget_base.cpp.
References GetPort(), CGlPane::IsZoomInAvaiable(), x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomInCenter().
Referenced by OnZoomIn(), OnZoomInX(), OnZoomInY(), and CPhyloTreeWidget::x_ZoomIn().
|
protectedvirtual |
Reimplemented in CPhyloTreeWidget.
Definition at line 857 of file gl_widget_base.cpp.
References GetPort(), CGlPane::IsZoomOutAvaiable(), x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomOutCenter().
Referenced by OnZoomOut(), OnZoomOutX(), OnZoomOutY(), and CPhyloTreeWidget::x_ZoomOut().
|
virtual |
Definition at line 830 of file gl_widget_base.cpp.
References GetPort(), x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomPoint().
Referenced by CPhyloTreePane::MZHH_ZoomPoint(), CGlPaneWidgetChildDemo::MZHH_ZoomPoint(), CHitMatrixPane::MZHH_ZoomPoint(), CSeqGraphicPane::MZHH_ZoomPoint(), and CPhyloTreeWidget::OnZoomTip().
|
virtual |
Reimplemented in CAlnMultiWidget.
Definition at line 822 of file gl_widget_base.cpp.
References GetPort(), x_SaveStates(), x_UpdateOnZoom(), and CGlPane::ZoomRect().
Referenced by CPhyloTreePane::MZHH_ZoomRect(), CGlPaneWidgetChildDemo::MZHH_ZoomRect(), CHitMatrixPane::MZHH_ZoomRect(), CSeqGraphicPane::MZHH_ZoomRect(), CPhyloTreeWidget::OnZoomToSelection(), CHitMatrixPane::SetQueryVisibleRange(), CHitMatrixPane::SetSubjectVisibleRange(), and CGlPaneWidgetDemoPanel::x_Activate().
|
protected |
Definition at line 321 of file gl_widget_base.hpp.
Referenced by CPhyloTreeWidget::OnContextMenu(), CAlnMultiWidget::OnContextMenu(), CSeqGraphicWidget::OnContextMenu(), CGlWidgetDemo::OnContextMenu(), CSeqGraphicWidget::OnSetMarker(), CSeqGraphicWidget::OnSetSeqMarkerDlg(), CSeqGraphicWidget::OnSetSeqMarkerForSelDlg(), CSeqGraphicWidget::OnSetSeqStart(), CSeqGraphicWidget::OnUpdateSetSeqMarkerForSelDlg(), OnZoomInMouse(), OnZoomOutMouse(), and CSeqGraphicWidget::OnZoomSequence().
|
protected |
path to the widget's settings in GUI Registry
Definition at line 319 of file gl_widget_base.hpp.
Referenced by CAlnMultiWidget::LoadSettings(), CPhyloTreeWidget::LoadSettings(), CAlnMultiWidget::OnSettings(), CAlnMultiWidget::SaveSettings(), SetRegistryPath(), and CPhyloTreeWidget::SetRegistryPath().