Inheritance diagram for CP_View:

Platform controls are OS defined elements, and user defined elements. The actual implementation of the CP_View class is done by an implemntation class that is platform specific.
|
||||||||||||||||||||||||
|
Constructor. Create a pane with the upper left corner at inLocation, and the content size of inSize.
|
|
|
Destructor.
|
|
|
Constructor. Creates a pane of empty size and located at 0, 0 coordinates.
|
|
|
|
Show this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp, CP_Window_Imp, CP_DrawerWindow, CP_QT_MovieView, CP_SheetWindow, CP_TabView, CP_Window, and CP_Window_Imp. |
|
|
Hide this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp, CP_Window_Imp, CP_DrawerWindow, CP_QT_MovieView, CP_SheetWindow, CP_TabView, CP_Window, and CP_Window_Imp. |
|
|
Activate this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_QT_MovieView, and CP_TextView. |
|
|
Deactivate this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_QT_MovieView, and CP_TextView. |
|
|
Enable this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_QT_MovieView. |
|
|
Disable this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_QT_MovieView. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Called when the bounds of this view has changed.
Reimplemented from CP_View_Imp. Reimplemented in CP_Scroller, and CP_Splitter. |
|
|
Returns the underlying platforms OSControl that implements this view. This is a convenience function for GetViewImpBase()->GetOSControl().
Reimplemented in CP_PlatformControl. |
|
||||||||||||
|
Sets the help string displayed for this view.
|
|
||||||||||||||||||||
|
Sets the help string displayed for this view.
|
|
|
Moves the view by the distance specified in the passed in point parameter. All subviews of this view will also move along with the view.
|
|
|
Sets the location of this view relative to its superview.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp, and CP_Window. |
|
|
Sets the size of this view.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp, and CP_Window. |
|
|
|
|
||||||||||||||||
|
Called when the user wants to print the contents of this view. The default is to call the OnDraw method of the view to use the same drawing for both printing and user interface. Override if you want to handle drawing differently when printing.
|
|
|
|
|
||||||||||||||||||||
|
Count and return the number of tiles needed to print this view. NOTE: In order to print a pane/view that is larger than the printed page, we divide our view up into tiles that our the size of each page. Subclasses need to override this if they are larger than the page size. This default is to return 1 for each of the horizontal and vertical tiles.
|
|
|
|
|
|
|
|
|
Returns the bounds of this view in local coordinates when printing. The user can change the bounds of the view when printing by calling SetPrintLocation, SetPrintSize which can be different than used to draw into a window.
|
|
|
|
|
|
|
|
|
Adds the passed in view to our list of views.
Reimplemented from CP_View_Imp. |
|
|
Returns true if this view is visible.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp. |
|
|
Returns true if this view is active.
Reimplemented from CP_View_Imp. Reimplemented in CP_Window_Imp. |
|
|
Returns true if this view is enhabled.
Reimplemented from CP_View_Imp. |
|
|
|
|
|
Reimplemented in CP_TextView. |
|
||||||||||||
|
Called from the persistance classes once an object has been created, and now needs to be initialized. This method is used to initialize the data members of the class from the passed in CP_DataValueList which contains fields to initialize a data member. Once the data members have been initialized, a platforms implementation is created through the CreatePlatformImp() method.
Reimplemented from CP_M_Persist. Reimplemented in CP_BevelButton, CP_ChasingArrows, CP_CheckBox, CP_CheckGroupBox, CP_Clock, CP_DisclosureButton, CP_DisclosureTriangle, CP_EditField, CP_FocusBorder, CP_IconControl, CP_ImageWell, CP_LittleArrows, CP_LittleArrowsEditBuddy, CP_OpenGLView, CP_PictureControl, CP_Placard, CP_PopupArrow, CP_PopupGroupBox, CP_PopupMenu, CP_ProgressBar, CP_PushButton, CP_QT_MovieView, CP_RadioButton, CP_RadioGroup, CP_Relevance, CP_RoundButton, CP_ScrollableView, CP_ScrollBar, CP_Scroller, CP_SearchField, CP_SegmentView, CP_SelectColorButton, CP_Separator, CP_Slider, CP_Splitter, CP_StaticText, CP_TableHeaders, CP_TableView, CP_TabView, CP_TextGroupBox, CP_TextView, CP_TV_DataBrowser, CP_TV_TextColumn, CP_Window, CP_WindowHeader, and CP_WindowListHeader. |
|
|
This is called after the containing window and all of its subviews have been created. This gives each view a chance to perform any needed operations after the window and subviews have been created, but before the window is made visible to the user.
Reimplemented from CP_M_Persist. Reimplemented in CP_TabView. |
|
||||||||||||
|
Initializes this view from a superview and an existing platform OSControl.
|
|
|
Called when the view needs to setup its foreground and background colors for drawing. This is called during drawing when the OS needs to setup the correct colors for the AppearanceManager. Normally you don't need to call this yourself.
Reimplemented in CP_BackgroundView, and CP_TabView. |
|
|
|
|
||||||||||||||||||||
|
Handle any Windows specific message for this pane. This is the routine that is called from the windows pane handler. You need override the protected OnHandleWinProcMessage method to handle the specific messages you need to in your class. This method will catch any exceptions thrown in your methods to prevent propagating into the Windows callback.
Reimplemented in CP_CheckGroupBox. |
|
|
|
|
|
|
|
|
Reimplemented in CP_Window_Imp. |
|
|
Reimplemented in CP_Window_Imp. |
|
|
Converts the passed in point from global to port coordinates.
Reimplemented in CP_Window_Imp. |
|
|
Converts the passed in point from global to local coordinates.
|
|
|
Converts the passed in point from port to local coordinates.
|
|
|
Reimplemented in CP_Window_Imp. |
|
|
Reimplemented in CP_Window_Imp. |
|
|
|
|
|
|
|
||||||||||||||||
|
Sets some user data for this view. This is used to allow users to attach some data to a CP_View object.
Reimplemented in CP_Window_Imp. |
|
||||||||||||
|
GetData method. Caller is asking if we can supply data in a given format and medium. Subclasses should override the OnGetData method to return the data.
|
|
||||||||||||||||
|
Sets some user data for this view. This is used to allow users to attach some data to a CP_View object.
Reimplemented in CP_Window_Imp. |
|
||||||||||||||||
|
SetData method. Calls OnSetData which you should override if needed.
|
|
|
Reimplemented from CP_M_DragTarget. |
|
|
Return the event handler for this view implementation. This will be the OS implentation event handler.
Reimplemented in CP_Window_Imp, CP_MDIFrameWindow, and CP_Window_Imp. |
|
|
Return the CP_Window that contains this pane.
Reimplemented in CP_Window. |
|
|
Return the superview of this view.
|
|
|
Return the local bounds of this pane. This will always have the top left corner at location 0, 0.
Reimplemented in CP_Window_Imp, and CP_Window_Imp. |
|