|
Public Types |
| enum | {
CustomEventClass = 'vcfc',
EventPosted = 'vcpe',
EventHandler = 'hdlr',
EventHandlerEvent = 'hdev',
DeletePostedEvent = 'dele',
SizeOfEventHandler = sizeof(UInt32),
SizeOfEventHandlerEvent = sizeof(UInt32),
SizeOfDeletePostedEvent = sizeof(Boolean),
cmdRetry = 'VRty',
cmdAbort = 'VAbt',
cmdIgnore = 'VIgn',
cmdYes = 'VYes',
cmdNo = 'VNo '
} |
Public Member Functions |
| | OSXUIToolkit () |
| virtual | ~OSXUIToolkit () |
| virtual ApplicationPeer * | internal_createApplicationPeer () |
| virtual TextPeer * | internal_createTextPeer (const bool &autoWordWrap, const bool &multiLined) |
| virtual TextEditPeer * | internal_createTextEditPeer (TextControl *component, const bool &isMultiLineControl) |
| virtual TreePeer * | internal_createTreePeer (TreeControl *component) |
| virtual ListviewPeer * | internal_createListViewPeer (ListViewControl *component) |
| virtual DialogPeer * | internal_createDialogPeer (Control *owner, Dialog *component) |
| virtual DialogPeer * | internal_createDialogPeer () |
| virtual ControlPeer * | internal_createControlPeer (Control *component, ComponentType componentType) |
| | creates a new instance of a ControlPeer the component passed in represents the component the implmenter will get attached to.
|
| virtual WindowPeer * | internal_createWindowPeer (Control *component, Control *owner) |
| virtual PopupWindowPeer * | internal_createPopupWindowPeer (Frame *frame, Window *owner) |
| virtual TransparentWindowPeer * | internal_createTransparentWindowPeer (Frame *frame) |
| virtual DropDownPeer * | internal_createDropDownPeer (Control *control) |
| virtual ToolbarPeer * | internal_createToolbarPeer (Toolbar *toolbar) |
| virtual MenuItemPeer * | internal_createMenuItemPeer (MenuItem *item) |
| virtual MenuBarPeer * | internal_createMenuBarPeer (MenuBar *menuBar) |
| virtual PopupMenuPeer * | internal_createPopupMenuPeer (PopupMenu *popupMenu) |
| virtual ButtonPeer * | internal_createButtonPeer (CommandButton *component) |
| virtual ContextPeer * | internal_createContextPeer (Control *component) |
| virtual CommonFileDialogPeer * | internal_createCommonFileOpenDialogPeer (Control *owner) |
| virtual CommonFileDialogPeer * | internal_createCommonFileSaveDialogPeer (Control *owner) |
| virtual CommonColorDialogPeer * | internal_createCommonColorDialogPeer (Control *owner) |
| virtual CommonFolderBrowseDialogPeer * | internal_createCommonFolderBrowseDialogPeer (Control *owner) |
| virtual CommonFontDialogPeer * | internal_createCommonFontDialogPeer (Control *owner) |
| virtual CommonPrintDialogPeer * | internal_createCommonPrintDialogPeer (Control *owner) |
| virtual UIShellPeer * | internal_createUIShellPeer (UIShell *shell) |
| virtual DragDropPeer * | internal_createDragDropPeer () |
| virtual DataObjectPeer * | internal_createDataObjectPeer () |
| virtual DropTargetPeer * | internal_createDropTargetPeer () |
| virtual ScrollPeer * | internal_createScrollPeer (Control *control) |
| virtual GraphicsResourceBundlePeer * | internal_createGraphicsResourceBundlePeer (AbstractApplication *app) |
| virtual SystemTrayPeer * | internal_createSystemTrayPeer () |
| virtual MenuManagerPeer * | internal_createMenuManagerPeer () |
| virtual CursorPeer * | internal_createCursorPeer (Cursor *cursor) |
| virtual ClipboardPeer * | internal_createClipboardPeer () |
| virtual bool | internal_createCaret (Control *owningControl, Image *caretImage) |
| virtual bool | internal_destroyCaret (Control *owningControl) |
| virtual void | internal_setCaretVisible (const bool &caretVisible) |
| virtual void | internal_setCaretPos (Point *point) |
| virtual void | internal_postEvent (VCF::EventHandler *eventHandler, Event *event, const bool &deleteHandler) |
| virtual void | internal_registerTimerHandler (Object *source, VCF::EventHandler *handler, const uint32 &timeoutInMilliSeconds) |
| virtual void | internal_unregisterTimerHandler (VCF::EventHandler *handler) |
| virtual void | internal_runEventLoop () |
| virtual ModalReturnType | internal_runModalEventLoopFor (Control *control) |
| virtual void | internal_quitCurrentEventLoop () |
| | this will attempt to send a message/event to the underlying windowing system's event loop (started due to a call to runEventLoop() or runModalEventLoopFor(.
|
| virtual void | internal_systemSettingsChanged () |
| virtual VCF::Event * | internal_createEventFromNativeOSEventData (void *eventData) |
| virtual Size | internal_getDragDropDelta () |
| | Override this - this should return whatever the appropriate x/y deltas are for starting a drag drop operation are for the specific windowing system.
|
| virtual void | internal_displayHelpContents (const String &helpBookName, const String &helpDirectory) |
| virtual void | internal_displayHelpIndex (const String &helpBookName, const String &helpDirectory) |
| virtual bool | internal_displayContextHelpForControl (Control *control, const String &helpBookName, const String &helpDirectory) |
| | This should display the appropriate context sensitive infor for the control, and return true, or it should return false, indicating that the control didn't have any context help to display.
|
| virtual void | internal_displayHelpSection (const String &helpBookName, const String &helpDirectory, const String &helpSection) |
Static Public Member Functions |
| static EventRef | createUserCarbonEvent (UInt32 eventType) |
Protected Member Functions |
| OSStatus | handleAppEvents (EventHandlerCallRef nextHandler, EventRef osxEvent) |
| void | processOSXEvent (EventRecord *eventRec) |
Static Protected Member Functions |
| static OSStatus | handleOSXApplicationEvents (EventHandlerCallRef nextHandler, EventRef osxEvent, void *userData) |
| static void | handleTimerEvent (EventLoopTimerRef inTimer, void *inUserData) |
| static void | handleIdleTimer (EventLoopTimerRef inTimer, EventLoopIdleTimerMessage inState, void *inUserData) |
Protected Attributes |
std::map< EventLoopTimerRef,
TimeOutHandler > | timeoutHandlers_ |
| bool | quitEventLoop_ |
| EventHandlerRef | eventHandlerRef_ |
| EventHandlerUPP | handlerUPP_ |
| EventLoopTimerUPP | timerUPP_ |
| EventLoopIdleTimerUPP | idleTimerUPP_ |
| EventLoopTimerRef | idleTimerRef_ |