Implementation of wxView
More...
#include <HippView.h>
List of all members.
Detailed Description
Implementation of wxView
- Author:
- David Kadish
HippView is an implementation of wxView. It is responsible for the display of a HippDocument inside a HippFrame. It handles user interaction with the contents of a document and sends data changes to the HippDocument.
- Todo:
- HippView and HippFrame are in shambles a little. Their functional boundaries are all messed up because they were mostly copied from WxFrame (from the old Hipp). Both are full of commented code that shouldn't be there and much of the code in HippView should actually be in HippFrame. Needs a serious refactoring.
Constructor & Destructor Documentation
Member Function Documentation
| void HippView::DoSelectShape |
( |
wxJoystickEvent & |
event |
) |
[virtual] |
| wxPoint HippView::getDevicePos |
( |
|
) |
const |
| HippFrame* hipp::HippView::GetFrame |
( |
|
) |
[inline] |
| bool* hipp::HippView::getPenWhitePtr |
( |
|
) |
[inline] |
| int* hipp::HippView::getPenWidthPtr |
( |
|
) |
[inline] |
| list< Node * > HippView::GetTopLevelViews |
( |
|
) |
|
| void HippView::MirrorScene |
( |
wxCommandEvent & |
event |
) |
|
| bool HippView::OnClose |
( |
bool |
deleteWindow = true |
) |
[virtual] |
Called when the view is closed.
| bool HippView::OnCreate |
( |
wxDocument * |
doc, |
|
|
long |
flags | |
|
) |
| | [virtual] |
Called when the document is created.
| wxPrintout * HippView::OnCreatePrintout |
( |
|
) |
[virtual] |
Called to create print or print preview.
| void HippView::OnCut |
( |
wxCommandEvent & |
event |
) |
|
Processes the cut command.
| void HippView::OnDraw |
( |
|
) |
[virtual] |
Called to draw the document.
| void HippView::OnDraw |
( |
wxDC * |
dc |
) |
[virtual] |
Called to print the document.
| void HippView::OnDrawForPrinter |
( |
wxDC * |
dc, |
|
|
PRINT_FORMAT |
format | |
|
) |
| | [virtual] |
Called to draw the document for printing.
| void HippView::OnFullscreen |
( |
wxCommandEvent & |
event |
) |
|
| void HippView::OnIdle |
( |
wxIdleEvent & |
event |
) |
|
| void HippView::OnUpdate |
( |
wxView * |
sender, |
|
|
wxObject * |
hint = NULL | |
|
) |
| | [virtual] |
Called when the view needs to be updated.
| void HippView::RenderMode |
( |
wxCommandEvent & |
event |
) |
|
| void HippView::RestoreWindow |
( |
wxCommandEvent & |
event |
) |
|
| void HippView::SetDocument |
( |
wxDocument * |
doc |
) |
|
| void HippView::togglePenColour |
( |
|
) |
|
| void HippView::updatePenOptions |
( |
|
) |
|
| void HippView::UpdateWindowSize |
( |
wxSizeEvent & |
frameSizeEvent |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: