Inheritance diagram for CP_View_Imp_GtkToolbar:
Drawing | |
void | HandleDraw (CP_Canvas &inCanvas, CP_Region &inUpdateArea) |
virtual void | Draw () |
virtual void | PrepareDraw (CP_Canvas &, CP_Region &) |
virtual void | FinishDrawing (CP_Canvas &drawingCanvas) |
virtual void | Invalidate (const CP_Region &) |
virtual void | Refresh () |
CP_Point | GetOrigin () |
void | SetOrigin (const CP_Point &inOrigin) |
Appearance | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | Enable () |
virtual void | Disable () |
Getters | |
virtual CP_Rect | GetPortBounds () |
CP_Rect | GetLocalBounds () |
OSControl | GetOSControl () const |
void | SetOSControl (OSControl inOSControl) |
CP_View * | GetSuperview () |
CP_Point | GetLocation () |
CP_Size | GetSize () |
Public Member Functions | |
CP_View_Imp_GtkToolbar (CP_View_Imp *inOwnerViewImp, CP_View *inSuperview, const CP_Point &inUpperLeft, const CP_Size &inContentSize) | |
virtual | ~CP_View_Imp_GtkToolbar () throw () |
void | HandleDraw (CP_Event< kCP_GTK_EVENT, kCP_Event_Draw > &inDrawEvent) |
SInt16 | HandleEvent (CP_Event_Base &inEvent) |
virtual CP_EventHandler & | GetEventHandler () |
void | CreateGtkWidget (CP_View *inSuperviewconst, const CP_Point &inUpperLeft, const CP_Size &inContentSize) |
void | disconnect_all () |
void | disconnect_all () |
void | signal_connect (CP_Signal *inSender) |
void | signal_connect (CP_Signal *inSender) |
void | signal_disconnect (CP_Signal *inSender) |
void | signal_disconnect (CP_Signal *inSender) |
Toolbar Items | |
void | AddItem (const CP_String &inItemText, const CP_S_ViewContentInfo &inContentInfo, const CP_CommandNo inCommand) |
Protected Member Functions | |
void | InitEventHandler (CP_EventHandler &inEventHandler) |
virtual void | SetSizeAndPosition (GtkWidget *inGtkWidget, CP_View *inSuperview, const CP_Point &inLocation, const CP_Size &inSize) |
Drawing | |
virtual void | HandleDrawInCanvas (CP_Canvas &inCanvas, CP_Region &inUpdateArea) |
Protected Attributes | |
CP_EventHandler | fEventHandler |
CP_Size | fSize |
CP_View * | fSuperview |
CP_Point | fOrigin |
CP_View_Imp * | fOwnerViewImp |
OSControl | fOSControl |
CP_EventHandler | fDummyEventHandler |
CP_Point | fLocation |
CP_Commands_Array * | fCommands |
CP_MenuSelectionSignal * | fMennuSelectionSignal |
sender_set | fSenders |
sender_set | fSenders |
Private Member Functions | |
SInt16 | GetNextItemHorPosition () |
|
|
|
Destructor.
|
|
|
|
|
|
|
|
Show this control.
Reimplemented from CP_View_Imp_Base. |
|
Hide this control.
Reimplemented from CP_View_Imp_Base. |
|
|
|
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.
|
|
|
|
Used when the user needs to draw into a view at times other than the normal drawing times. This will setup the control for drawing into, and return a canvas object suitable for use.
Reimplemented from CP_View_Imp_Base. |
|
Reimplemented from CP_View_Imp_Base. |
|
|
|
Reimplemented from CP_View_Imp_Base. |
|
Reimplemented from CP_View_Imp_Base. |
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
Reimplemented in CP_View_Imp_Control, CP_View_Imp_ControlScroller, and CP_View_Imp_MLTE. |
|
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. |
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Class that handles all of the events for this windnow. Reimplemented from CP_View_Imp_Base. |
|
|
|
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. |
|
|
|
List of commands managed by this class. |
|
|
|
|