#include <vuBasicSubViewer.h>
Inheritance diagram for vuBasicSubViewer:


Public Member Functions | |
| vuBasicSubViewer (wxWindow *parent, vuString title="") | |
| ~vuBasicSubViewer () | |
| void | init (bool showControl=true) |
| this method creates the whole SubViewer | |
| void | redraw () |
| redraws the canvas | |
| void | glOnMouse (wxMouseEvent &event) |
| bool | isControlVisible () |
| void | showControl (bool doShow=true) |
Protected Member Functions | |
| virtual vuBasicSubViewerCanvas * | getCanvas ()=0 |
| virtual void | addLeftRight (wxSizer *verSpacer, wxWindow *control)=0 |
| void | showHideControl () |
| void | makeCanvasSizeEqual () |
| bool | TransferDataToWindow () |
| Part of the wxWindows architecture -- there is no data to transfer. | |
| bool | TransferDataFromWindow () |
| Part of the wxWindows architecture -- there is no data to transfer. | |
Protected Attributes | |
| wxBoxSizer * | m_MainSizer |
| wxWindows GUI | |
| wxWindow * | m_ControlWindow |
| int | m_ControlPosition |
| position of the control window | |
| bool | m_IsMakeCanvasSizeEqual |
|
||||||||||||
|
Definition at line 25 of file vuBasicSubViewer.cpp. |
|
|
Definition at line 74 of file vuBasicSubViewer.cpp. References m_ControlWindow, and m_MainSizer. |
|
||||||||||||
|
adds all UI control elements that should appear to the left or to the right of the canvas (subclass responsibility) Implemented in vuFBRSubViewer< SIZE, TYPE >, vuSimpleFVRDialog, and vuFBRSubViewer< SIZE, byte >. Referenced by init(). |
|
|
returns a "newed" instance of a vuBasicSubViewerCanvas (subclass responsibility) Implemented in vuFBRSubViewer< SIZE, TYPE >, vuSimpleFVRDialog, and vuFBRSubViewer< SIZE, byte >. Referenced by glOnMouse(), init(), redraw(), and showControl(). |
|
|
Definition at line 89 of file vuBasicSubViewer.cpp. References getCanvas(), makeCanvasSizeEqual(), vuGLCanvas::redraw(), and showHideControl(). |
Here is the call graph for this function:

|
|
this method creates the whole SubViewer
Definition at line 35 of file vuBasicSubViewer.cpp. References addLeftRight(), getCanvas(), m_ControlPosition, m_ControlWindow, and m_MainSizer. |
Here is the call graph for this function:

|
|
Definition at line 103 of file vuBasicSubViewer.cpp. References m_ControlPosition. Referenced by showControl(). |
|
|
Definition at line 167 of file vuBasicSubViewer.cpp. References dword, vuBasicUtility::getCanvas(), vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), m_ControlPosition, m_ControlWindow, m_IsMakeCanvasSizeEqual, NULL, SCREEN_HEIGHT, and SCREEN_WIDTH. Referenced by glOnMouse(), and vuSimpleFVRDialog::OnButtonEqualSize(). |
Here is the call graph for this function:

|
|
redraws the canvas
Definition at line 80 of file vuBasicSubViewer.cpp. References getCanvas(), and vuGLCanvas::redraw(). |
Here is the call graph for this function:

|
|
Definition at line 113 of file vuBasicSubViewer.cpp. References dword, getCanvas(), vuGLCanvas::getHeight(), vuGLCanvas::getWidth(), isControlVisible(), m_ControlPosition, m_ControlWindow, and m_MainSizer. Referenced by showHideControl(). |
Here is the call graph for this function:

|
|
Definition at line 160 of file vuBasicSubViewer.cpp. References m_ControlPosition, and showControl(). Referenced by glOnMouse(). |
Here is the call graph for this function:

|
|
Part of the wxWindows architecture -- there is no data to transfer.
Definition at line 67 of file vuBasicSubViewer.h. |
|
|
Part of the wxWindows architecture -- there is no data to transfer.
Definition at line 65 of file vuBasicSubViewer.h. |
|
|
position of the control window
Definition at line 79 of file vuBasicSubViewer.h. Referenced by init(), isControlVisible(), makeCanvasSizeEqual(), showControl(), and showHideControl(). |
|
|
Definition at line 72 of file vuBasicSubViewer.h. Referenced by init(), makeCanvasSizeEqual(), showControl(), and ~vuBasicSubViewer(). |
|
|
Definition at line 80 of file vuBasicSubViewer.h. Referenced by makeCanvasSizeEqual(). |
|
|
wxWindows GUI
Definition at line 71 of file vuBasicSubViewer.h. Referenced by init(), showControl(), and ~vuBasicSubViewer(). |
1.3.9.1