Inheritance diagram for CP_View_Imp_Base:
Appearance | |
virtual void | Show () |
virtual void | Hide () |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | Enable () |
virtual void | Disable () |
Getters | |
virtual CP_EventHandler & | GetEventHandler () |
virtual CP_Rect | GetPortBounds () |
CP_Rect | GetLocalBounds () |
OSControl | GetOSControl () const |
void | SetOSControl (OSControl inOSControl) |
CP_View * | GetSuperview () |
CP_Point | GetLocation () |
CP_Size | GetSize () |
Drawing | |
virtual void | Draw () |
void | HandleDraw (CP_Canvas &inCanvas, CP_Region &inUpdateArea) |
virtual void | PrepareDraw (CP_Canvas &, CP_Region &) |
virtual CP_Canvas | SetupForDrawing () |
virtual void | FinishDrawing (CP_Canvas &drawingCanvas) |
virtual void | Invalidate (const CP_Region &) |
virtual void | Refresh () |
CP_Point | GetOrigin () |
void | SetOrigin (const CP_Point &inOrigin) |
Public Member Functions | |
void | disconnect_all () |
void | signal_connect (CP_Signal *inSender) |
void | signal_disconnect (CP_Signal *inSender) |
Constructor / Destructor | |
virtual | ~CP_View_Imp_Base () throw () |
Destructor. | |
Protected Member Functions | |
Constructor / Destructor | |
CP_View_Imp_Base () | |
Constructor. | |
CP_View_Imp_Base (CP_View_Imp *inOwnerViewImp, CP_View *inSuperview, const CP_Point &inUpperLeft, const CP_Size &inContentSize, bool inCreateImp=false) | |
Protected Attributes | |
CP_View * | fSuperview |
CP_Point | fOrigin |
CP_View_Imp * | fOwnerViewImp |
OSControl | fOSControl |
CP_EventHandler | fDummyEventHandler |
CP_Point | fLocation |
CP_Size | fSize |
CP_Commands_Array * | fCommands |
CP_MenuSelectionSignal * | fMennuSelectionSignal |
sender_set | fSenders |
Private Member Functions | |
Initialization | |
void | CreateImp () |
|
Destructor.
|
|
Constructor.
|
|
Constructor. Create a View with the upper left corner at inLocation, and the content size of inSize.
|
|
Reimplemented in CP_View_Imp_Gtk, CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Gtk, CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Gtk2Text, CP_View_Imp_Control, CP_View_Imp_MLTE, and CP_View_Imp_Rich. |
|
Reimplemented in CP_View_Imp_Gtk2Text, CP_View_Imp_Control, CP_View_Imp_MLTE, and CP_View_Imp_Rich. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in CP_View_Imp_Gtk, CP_View_Imp_Win, and CP_View_Imp_WinToolbar. |
|
Return the event handler for this view implementation. This will be the OS implentation event handler.
Reimplemented in CP_View_Imp_Gtk, CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Return the port bounds of this pane. This is the bounds of the pane in port coordinates.
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Return the local bounds of this pane. This will always have the top left corner at location 0, 0.
|
|
Returns the OSControl that is implementing this base view. The will be a MacOS ControlHandle on non HIView OSs or non compositing windows, and an HIViewRef on compositing windows.
|
|
|
|
|
|
|
|
|
|
Cause the View implementation to draw itself.
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Public method called from the various OS implementations when they need to draw some content. This then calls the CP_View_Imp HandleDraw to notify your object that is should draw something via its OnDraw() method.
|
|
Reimplemented in CP_View_Imp_Control, CP_View_Imp_ControlScroller, and CP_View_Imp_MLTE. |
|
Used when the user needs to draw into a view at times other than the normal drawing times. This will setup the view for drawing into, and return a canvas object suitable for use.
Reimplemented in CP_View_Imp_Gtk, CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
|
|
|
|
Gets the CP_View_Imp class that this object provides the OS implementation of.
|
|
Sets the CP_View_Imp class that this object provides the OS implementation of.
|
|
Reimplemented in CP_View_Imp_GtkScroller, CP_View_Imp_Control, CP_View_Imp_ControlScroller, CP_View_Imp_MLTE, CP_View_Imp_Rich, CP_View_Imp_Win, and CP_View_Imp_WinScroller. |
|
Reimplemented in CP_View_Imp_Control, CP_View_Imp_ControlScroller, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control. |
|
Reimplemented in CP_View_Imp_Control. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
Reimplemented in CP_View_Imp_Control, and CP_View_Imp_Win. |
|
|
|
Adjusts the passed in GtkWidget to be positioned correctly in the subview at the specified position, and resized to the passed in size. The implementation object of this view will handle the actual work.
Reimplemented in CP_View_Imp_Gtk. |
|
Updates the status of a command.
|
|
Updates the status of a command based on the current state of the application.
|
|
Handles the processing of a command. If the command has been registered with this class, then its signal will be called. If the command has not been registered, then this function does nothing with the passed in command.
|
|
Signal called when a menu item is selected with no associated command. |
|
Returns the signal called when a menu item is selected and has no command associated with it.
|
|
Registers the passed in command. This places the command in a list of commands we will handle updating the status for, and when called executing the signal registered for the command.
|
|
Registers the passed in command. This places the command in a list of commands we will handle updating the status for, and when called executing the signal registered for the command.
|
|
Registers the passed in command. This places the command in a list of commands we will handle updating the status for. You are returned the signal object that you need to connect your slot to.
|
|
Registers the passed in command, returning the command status signal. If the command already exists, we will return the existing command status signal if there is one, otherwise we create a new signal, and return that signal. If there is already a signal, then return the existing signal.
|
|
Registers the passed in command, returning the command handling signal. If the command already exists, we will return the existing command handler signal if there is one, otherwise we create a new signal, and return that signal. If there is already a signal, then return the existing signal.
|
|
Returns true if the passed in command is known to this class.
|
|
Replaces a CP_Command for the passed in command number.
|
|
Unregisters a command.
|
|
Returns the CP_Command object associated with the passed in command number.
|
|
MacOS - Handles the processing of the passed in HICommand. This will translate the HICommand into a CPLAT CP_CommandNo for processing and updating the status of the command.
|
|
|
|
|
|
|
|
|
|
|
|
CP_View that contains this view |
|
|
|
CP_View_Imp that we provide implementation for. |
|
Platform control to implement View features. |
|
Dummy event handler if the view imp has not been created. Reimplemented in CP_View_Imp_Win. |
|
Upper left corner of view, relative to superview Reimplemented in CP_View_Imp_Gtk. |
|
|
|
List of commands managed by this class. |
|
|