#include <dlgview.h>
Inheritance diagram for DialogView:
Public Member Functions | |
virtual BOOL | ViewStateChanged () |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual void | SetViewPixelSize () |
Sets up the pixel size for this view object. | |
virtual void | ContinueRenderView (RenderRegion *, Spread *, BOOL=TRUE, BOOL=TRUE, BOOL bForceImmediate=FALSE) |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual wxDC * | GetRenderDC () |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual BOOL | GetForeBackMode () |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual void | SetForeBackMode (BOOL) |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual DocRect | GetDocViewRect (Spread *) |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual void | SetExtent (DocCoord, DocCoord) |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
virtual WorkRect | GetViewRect () |
None - DialogView is a skeleton class that is only used to access screen characteristics. | |
Private Member Functions | |
CC_DECLARE_DYNAMIC (DialogView) | |
virtual | ~DialogView () |
Destructor - the class leaks viewstates like a privatised water company - the destructor has to delete them. | |
BOOL | Init () |
Initialise the DialogView for rendering. |
Definition at line 118 of file dlgview.h.
|
Destructor - the class leaks viewstates like a privatised water company - the destructor has to delete them.
Definition at line 172 of file dlgview.cpp. 00173 { 00174 if (pVState != NULL) 00175 { 00176 delete pVState; 00177 pVState = NULL; 00178 } 00179 }
|
|
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 232 of file dlgview.cpp. 00234 { 00235 ERROR3("DialogView::ContinueRenderView() should not be called!"); 00236 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 308 of file dlgview.cpp. 00309 { 00310 DocRect Empty; 00311 return Empty; 00312 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 269 of file dlgview.cpp. 00270 { 00271 // DialogViews don't background render. 00272 return FALSE; 00273 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 251 of file dlgview.cpp. 00252 { 00253 return NULL; 00254 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 344 of file dlgview.cpp. 00345 { 00346 WorkRect Empty; 00347 return Empty; 00348 }
|
|
Initialise the DialogView for rendering.
Reimplemented from SimpleCCObject. Definition at line 131 of file dlgview.cpp. 00132 { 00133 // Get pixel size from screen DC. 00134 INT32 pixwidth, pixheight; 00135 wxScreenDC dc; 00136 wxSize ppi = OSRenderRegion::GetFixedDCPPI(dc); 00137 pixwidth=ppi.GetWidth(); 00138 pixheight=ppi.GetHeight(); 00139 00140 // Set up our pixel size 00141 PixelWidth = FIXED16(72000.0 / pixwidth); 00142 PixelHeight = FIXED16(72000.0 / pixheight); 00143 ScaledPixelWidth = PixelWidth; 00144 ScaledPixelHeight = PixelHeight; 00145 00146 // Get ourselves a ViewState object 00147 pVState = new ViewState; 00148 if (pVState == NULL) 00149 return FALSE; 00150 00151 // Connect this view state to this view 00152 pVState->pView = this; 00153 00154 // No document for dialogs 00155 pDoc = NULL; 00156 00157 // All ok 00158 return TRUE; 00159 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 327 of file dlgview.cpp.
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 289 of file dlgview.cpp. 00290 { 00291 ERROR3("DialogView::SetForeBackMode() should not be called!"); 00292 }
|
|
Sets up the pixel size for this view object.
Implements View. Definition at line 210 of file dlgview.cpp. 00211 { 00212 // Set the scaled pixel size 00213 ScaledPixelWidth = PixelWidth / Scale; 00214 ScaledPixelHeight = PixelHeight / Scale; 00215 }
|
|
None - DialogView is a skeleton class that is only used to access screen characteristics.
Implements View. Definition at line 194 of file dlgview.cpp. 00195 { 00196 return TRUE; 00197 }
|