Inheritance diagram for CP_QT_MovieView:

Drag Target | |
| virtual void | OnDragEnter (CP_DragDrop &inDragDrop, bool inDragHasLeftSender) |
| virtual void | OnDragLeave (CP_DragDrop &inDragDrop) |
| virtual void | OnDragTrack (CP_DragDrop &inDragDrop) |
| static CP_M_DragTarget * | FindDragTarget (OSWindow inOSWindow, CP_Point &inMouseLocation, CP_DragDrop &inDragDrop) |
Public Member Functions | |
| virtual LRESULT | HandleWinProcMessage (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
| void | InitFromOSControl (CP_View *inSuperview, OSControl inOSControl) |
| virtual void | SetForeBackColors () |
| virtual LRESULT | HandleWinHelperProcMessage (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
| void | DrawViewHierachy () |
| void | SetLocationAndSubs (const CP_Point &inLocation) |
| CP_ViewBackground * | GetViewBackground () |
| void | SetViewBackground (CP_ViewBackground *inViewBackground) |
| virtual CP_RGBColor | GetBackColor () |
| virtual void | HandleMouseDown (CP_Event_Base &inEvent) |
| virtual void | HandleMouseUp (CP_Event_Base &inEvent) |
| void | SetID (FourCharCode inIdentifier) |
| FourCharCode | GetID () |
| void | RegisterSignal (const CP_SignalHolder &inSignal) |
| CP_DataValueSignal * | FindSignal (const CP_String &inSignalName) |
| UInt32 | GetNumberSignals () |
| CP_String | GetNthSignalName (UInt32 inSignalIndex) |
| void | RegisterSlot (const CP_SlotHolder &inSlot) |
| CP_DataValueSlot | FindSlot (const CP_String &inSlotName) |
| UInt32 | GetNumberSlots () |
| CP_String | GetNthSlotName (UInt32 inSlotIndex) |
| template<class R, class P1, class P2> | |
| CP_CommandHandlerSignal * | Connect (CPLAT::CP_CommandNo cmd, void(R::*handler)(P1, P2), SInt32 mode) |
| template<class R, class P1, class P2> | |
| void | Connect (CP_Object *control, const CPLAT::CP_String &signalName, void(R::*handler)(P1, P2)) |
| void | disconnect_all () |
| void | signal_connect (CP_Signal *inSender) |
| void | signal_disconnect (CP_Signal *inSender) |
| void | ClearFlavors () |
| virtual void | OnDragEnter (LPDATAOBJECT pIDataSource, DWORD grfKeyState, POINTL pt, LPDWORD pdwEffect) |
| virtual void | OnDragLeave () |
| void | SetTargetWindow (OSWindow inWindow) |
| virtual void | OnDragOver (DWORD grfKeyState, POINTL pt, LPDWORD pdwEffect) |
| virtual void | OnDrop (LPDATAOBJECT pIDataSource, DWORD grfKeyState, POINTL pt, LPDWORD pdwEffect) |
| CP_Point | GetDropPoint () |
Constructor / Destructor | |
| CP_QT_MovieView () | |
| Constructor. | |
| CP_QT_MovieView (CP_View *inSuperview, const CP_Point &inUpperLeft, const CP_Size &inContentSize) | |
| virtual | ~CP_QT_MovieView () throw () |
| Destructor. | |
Appearance | |
| virtual void | Show () |
| virtual void | Hide () |
| virtual void | Activate () |
| virtual void | Deactivate () |
| virtual void | Enable () |
| virtual void | Disable () |
Drawing | |
| virtual CP_Canvas | SetupForDrawing () |
Events | |
| virtual void | InitEventHandler (CP_EventHandler &inEventHandler) |
| void | HandleControlHitEvent (CP_Event_Base &inEvent) |
Movie | |
| Movie | GetMovie () |
| MovieController | GetMovieController () |
Setters | |
| void | SetMovie (Movie inMovie, bool inSizeWindowToFit, SInt16 inScrollBarVerAdjustment=0) |
Skins | |
| void | SetIsSkinned (bool inIsSkinned) |
Timer | |
| void | StartIdleTimer () |
| void | StopIdleTimer () |
| bool | GetIdleOnInactiveWindow () |
| void | SetIdleOnInactiveWindow (bool inIdle) |
Static Public Member Functions | |
| static void | Connect (CP_Object *sender, const CP_String &signalName, CP_Object *receiver, const CP_String &slotName, const bool reciprocal=false) |
| static void | Connect (CP_Object *sender, CP_Object *receiver, const bool reciprocal=false, const CP_String &signalName=kCP_Signal_ValueChanged, const CP_String &slotName=kCP_Slot_SetValue) |
Persistance | |
| static CP_M_Persist * | PersistCreator () |
Protected Member Functions | |
| virtual void | FinishInitFromOSControl (OSControl) |
| virtual bool | OnCanAcceptDrag (UInt32 inItem, CP_DragDrop &inDragDrop)=0 |
| virtual bool | PtInDropArea (CP_Point &inGlobalPoint) |
| virtual void | HandleControlColor (CP_Event_Base &inEvent) |
| virtual bool | OnCanAcceptDragWin (LPDATAOBJECT pIDataSource, DWORD grfKeyState, POINTL pt, LPDWORD pdwEffect) |
Drawing | |
| virtual void | OnDraw (CP_Canvas &inCanvas, CP_Region &inUpdateArea) |
Frame | |
| virtual void | OnBoundsChanged (const CP_Rect &inPreviousBounds, const CP_Rect &inNewBounds) |
Persistance | |
| virtual void | OnInitPersist (CP_View *inSuperview, CP_DataValueList &inDataValueList) |
Timer | |
| virtual void | HandleIdleTime () |
Protected Attributes | |
| CP_TimedTask * | fIdleTimer |
| Movie | fMovie |
| MovieController | fMovieController |
| bool | fIdleOnInactiveWindow |
| bool | fIsSkinned |
| bool | fIsContainer |
| OSWindow | fToolTipWindow |
| GtkWidget * | fContentAreaContainer |
| CP_Point | fPrintLocation |
| CP_Size | fPrintSize |
| bool | fIsFocused |
| CP_DataValueSignal | fFocusChangedSignal |
| CP_View_Imp_Base * | fViewImpBase |
| CP_EventHandler | fDummyEventHandler |
| UInt32 | fCommandID |
| CP_SmartPtr< CP_FrameAdapter > | fFrameAdapter |
| UInt32 | fFlags |
| CP_ViewBackground * | fViewBackground |
| CP_DataValueSignal | fBoundsChangedSignal |
| CP_DataValueSignal | fShowSignal |
| CP_DataValueSignal | fHideSignal |
| CP_DataValueSignal | fActivateSignal |
| CP_DataValueSignal | fDeactivateSignal |
| CP_DataValueSignal | fEnableSignal |
| CP_DataValueSignal | fDisableSignal |
| CP_DataValueSlot | fShowSlot |
| CP_DataValueSlot | fHideSlot |
| CP_DataValueSlot | fActivateSlot |
| CP_DataValueSlot | fDeactivateSlot |
| CP_DataValueSlot | fEnableSlot |
| CP_DataValueSlot | fDisableSlot |
| CP_Signals_Array * | fSignals |
| CP_Slots_Array * | fSlots |
| FourCharCode | fObjectID |
| CP_Commands_Array * | fCommands |
| CP_MenuSelectionSignal * | fMennuSelectionSignal |
| sender_set | fSenders |
| CP_IDropSource * | fIDropSource |
| CP_IDataObject * | fIDataObject |
| FORMATETC * | fDataFormats |
| DWORD | fNumberFormats |
| CP_Enumerator * | fEnumerator |
| CP_DataStream | fData |
| CP_Window * | fWindow |
| bool | fDropAreaIsHilited |
| bool | fCanAcceptCurrentDrag |
| OSWindow | fTargetWindow |
| CDropTarget * | fDropTarget |
| CP_Point | fDropPoint |
| CP_SubViews_List * | fSubViews |
Static Protected Attributes | |
| static FourCharCode | fObjectIDCount = 0 |
| static CP_DragTarget_List * | fsDragTargetList = NULL |
| static CP_M_DragTarget * | fsCurrentDragTarget = NULL |
| static bool | fsDragHasLeftSender = false |
Private Member Functions | |
Timer | |
| void | TimerTask (CP_DataValueHolder &inDataValue, OSStatus &inOSStatus) |
|
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
Show this view.
Reimplemented from CP_View. |
|
|
Hide this view.
Reimplemented from CP_View. |
|
|
Activate this view.
Reimplemented from CP_View. |
|
|
Deactivate this view.
Reimplemented from CP_View. |
|
|
Enable this view.
Reimplemented from CP_View. |
|
|
Disable this view.
Reimplemented from CP_View. |
|
|
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 from CP_View_Imp. |
|
|
Reimplemented from CP_View_Imp. |
|
|
|
|
|
|
|
|
|
|
|
CP_M_Persist function to create an instance of this button. Called from our CP_PersistManager class to create persistant object from a stream.
Reimplemented from CP_View. |
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Called when the view needs to update the visual appearance of itself. In this demo we use the CP_Graphics class to display the line "Hello World from CPLAT" in the default font for a view.
Reimplemented from CP_View_Imp. |
|
||||||||||||
|
Reimplemented from CP_View_Imp. |
|
||||||||||||
|
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_View. |
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
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. |
|
|
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. |
|
|
|
|
|
|
|