#include <behelp.h>
Inheritance diagram for iBeHelper:
Public Methods | |
virtual bool | UserAction (BMessage *)=0 |
A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage. More... | |
virtual bool | SetCursor (csMouseCursorID)=0 |
Set the mouse pointer to one of the pre-defined Crystal Space mouse shapes. | |
virtual bool | BeginUI ()=0 |
Spawn a thread in which to run the BApplication and invokes its Run() method. More... | |
virtual bool | Quit ()=0 |
Ask the Crystal Space event-loop to terminate. | |
virtual bool | ContextClose (iGraphics2D *)=0 |
Notify Crystal Space that a 2D graphics context is closing. |
An instance of this object will be registered to the object registry with tag 'SystemHelper'. But it is recommended to query this from the object registry using the iBeHelper interface.
|
Spawn a thread in which to run the BApplication and invokes its Run() method. If the application is already running in the subthread, then this method does nothing. This extension is requested by 2D driver modules when they are about to place a window on-screen, at which point the BeOS event-loop should be running (independently of whether or not the Crystal Space event-loop is running) so that they can respond to user actions. Reimplemented in BeHelper. |
|
A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage. The BMessage is placed in a thread-safe message queue and later processed by the Crystal Space event-loop running in the main thread. Reimplemented in BeHelper. |