Pyro higlevel API
|
Classes | |
class | Private |
Public Member Functions | |
Window (const Rect &cFrame, const String &cName, const String &cTitle, uint32 nFlags=0, uint32 nDesktopMask=CURRENT_DESKTOP) | |
Initialize the window. More... | |
~Window () | |
Destruct a window. More... | |
virtual void | FrameMoved (const Point &cDelta) |
virtual void | FrameSized (const Point &cDelta) |
virtual void | ScreenModeChanged (const IPoint &cNewRes, color_space eColorSpace) |
Called whenever the screenmode changes. More... | |
virtual void | DesktopActivated (int nDesktop, bool bActive) |
Called whenever the desktop displaying the window will be activated or deactivated. More... | |
virtual void | DesktopsChanged (uint32 nOldDesktops, uint32 nNewDesktops) |
virtual void | WindowsChanged () |
Called whenever the currently shown windows change. More... | |
void | SetFlags (uint32 nFlags) |
uint32 | GetFlags () const |
void | SetSizeLimits (const Point &cMinSize, const Point &cMaxSize) |
Limit the minimum and maximum window size. More... | |
void | SetAlignment (const IPoint &cSize=IPoint(1, 1), const IPoint &cSizeOffset=IPoint(0, 0), const IPoint &cPos=IPoint(1, 1), const IPoint &cPosOffset=IPoint(0, 0)) |
void | AddChild (View *pcChild, bool bAssignTabOrder=false) |
Add a view to the window. More... | |
void | RemoveChild (View *pcChild) |
Remove a view from the window. More... | |
void | MakeFocus (bool bFocus=true) |
Activate/Deactivate the window. More... | |
void | Close () |
void | Show (bool bMakeVisible=true) |
Hide/Unhide the window. More... | |
void | Hide () |
bool | IsVisible () const |
void | Start () |
Unlock the window and start the looper thread. More... | |
void | SetTitle (const String &cTitle) |
Change the window title. More... | |
String | GetTitle (void) const |
Obtain the current window title. More... | |
void | SetIcon (Bitmap *pcIcon) |
Change the window icon. More... | |
Bitmap * | GetIcon (void) const |
Not longer supported. More... | |
void | Flush () |
Flush the windows render queue. More... | |
void | Sync () |
Flush the render queue, and wait til the rendering is done. More... | |
View * | FindView (const String &cName) const |
View * | FindView (const Point &cPos) const |
Find the view covering a given position on the window. More... | |
View * | GetFocusChild (void) const |
View * | SetFocusChild (View *pcChild) |
Activate a view. More... | |
void | SetDefaultButton (View *pcView) |
Assign a default button. More... | |
View * | GetDefaultButton () const |
Return the view assigned as the default button. More... | |
void | SetDefaultWheelView (View *pcView) |
View * | GetDefaultWheelView () const |
Rect | GetFrame () const |
Get the windows position and size on the current desktop. More... | |
Rect | GetBounds () const |
Get the window boundary. More... | |
void | SetFrame (const Rect &cRect, bool bNotifyServer=true) |
Set the window's position and size. More... | |
void | MoveBy (const Point &cDelta) |
Move the window relative to it's current position. More... | |
void | MoveBy (float vDeltaX, float vDeltaY) |
Move the window relative to it's current position. More... | |
void | MoveTo (const Point &cPos) |
Move the window to an absolute position. More... | |
void | MoveTo (float x, float y) |
Move the window to an absolute position. More... | |
void | CenterInWindow (Window *pcWin) |
Move the window to the centre of another window. More... | |
void | CenterInScreen () |
Move the window to the center of the screen. More... | |
void | ResizeBy (const Point &cDelta) |
Resize the window relative to it's current size. More... | |
void | ResizeBy (float vDeltaW, float vDeltaH) |
Resize the window relative to it's current size. More... | |
void | ResizeTo (const Point &cSize) |
Resize the window to a new absolute size. More... | |
void | ResizeTo (float w, float h) |
Resize the window to a new absolute size. More... | |
void | SetShapeRegion (const Region &cReg) |
void | ClearShapeRegion () |
bool | IsActive () const |
int | ToggleDepth () |
void | AddShortcut (const ShortcutKey &cKey, Message *pcMsg) |
Add a keyboard shortcut. More... | |
void | AddShortcut (const ShortcutKey &cKey, View *pcView) |
Add a keyboard shortcut. More... | |
void | RemoveShortcut (const ShortcutKey &cKey) |
Remove a keyboard shortcut. More... | |
void | DispatchMessage (Message *pcMessage, Handler *pcHandler) |
The loopers message handling callback. More... | |
Public Member Functions inherited from os::Looper | |
Looper (const String &cName, int nPriority=NORMAL_PRIORITY, int nPortSize=DEFAULT_PORT_SIZE) | |
The looper constructor. More... | |
virtual | ~Looper () |
Looper destructor. More... | |
void | SetName (const String &cName) |
Rename the looper. More... | |
String | GetName () const |
Get the loopers name. More... | |
bool | IsPublic () const |
See if the looper's message port is public. More... | |
void | SetPublic (bool bPublic) |
Make port public/private. More... | |
port_id | GetMsgPort () const |
Obtain the low-level message port used by this looper. More... | |
thread_id | GetThread () const |
Obtain the thread id of the looper thread. More... | |
proc_id | GetProcess () const |
Obtain the process ID of the loopers thread. More... | |
status_t | Lock () |
Lock the looper object. More... | |
status_t | Lock (bigtime_t nTimeout) |
Lock the looper with a timeout. More... | |
status_t | SafeLock () |
Attempt to lock the looper. More... | |
status_t | Unlock () |
Unlock the looper. More... | |
void | SetMutex (Locker *pcMutex) |
Set a custom mutex to be used by the looper. More... | |
Locker * | GetMutex () const |
Get a pointer to the loopers mutex. More... | |
int | GetLockCount () const |
Obtain the number of locks held on the looper. More... | |
thread_id | GetLockingThread () const |
Obtaing the owner of the looper lock. More... | |
bool | IsLocked () const |
Check if the looper lock is owned by the calling thread. More... | |
virtual thread_id | Run () |
Start and unlock the looper. More... | |
int | Wait () const |
Wait for the looper thread to die. More... | |
status_t | PostMessage (uint32 nCode) |
Deliver a message to the looper. More... | |
status_t | PostMessage (Message *pcMsg) |
Deliver a message to the looper. More... | |
status_t | PostMessage (uint32 cCode, Handler *pcHandler, Handler *pcReplyTo=NULL) |
Deliver a message to the looper. More... | |
status_t | PostMessage (Message *pcMsg, Handler *pcHandler, Handler *pcReplyTo=NULL) |
Deliver a message to the looper. More... | |
void | SpoolMessages () |
Drain the low-level message port. More... | |
Message * | GetCurrentMessage () const |
Obtain the message currently being processed. More... | |
Message * | DetachCurrentMessage () |
Steal the current message. More... | |
virtual void | Started () |
Called by the looper thread before entering the message loop. More... | |
virtual bool | Idle () |
Hook called each time the message queue is drained. More... | |
MessageQueue * | GetMessageQueue () const |
Obtain the internal message queue used by the looper. More... | |
virtual bool | OkToQuit () |
Check if it is ok to break the loop. More... | |
virtual void | Quit () |
Unconditionally terminate the looper. More... | |
void | Terminate () |
Unconditionally terminate the looper. More... | |
void | AddTimer (Handler *pcTarget, int nID, bigtime_t nTimeout, bool bOneShot=true) |
Add a timer to the looper. More... | |
bool | RemoveTimer (Handler *pcTarget, int nID) |
Delete a timer. More... | |
const handler_map & | GetHandlerMap () const |
Get the internal handler list. More... | |
void | AddHandler (Handler *pcHandler) |
Add a handler to the looper. More... | |
bool | RemoveHandler (Handler *pcHandler) |
Remove a handler previously added by AddHandler() More... | |
Handler * | FindHandler (const String &cName) const |
Search the looper for a named handler. More... | |
int | GetHandlerCount () const |
Obtain the count of handlers added to this looper. More... | |
void | SetDefaultHandler (Handler *pcHandler) |
Set the default target for incomming messages. More... | |
Handler * | GetDefaultHandler () const |
Obtain the default handler for the looper. More... | |
void | AddCommonFilter (MessageFilter *pcFilter) |
void | RemoveCommonFilter (MessageFilter *pcFilter) |
const MsgFilterList & | GetCommonFilterList () const |
Public Member Functions inherited from os::Handler | |
Handler (const String &cName) | |
Construct a handler. More... | |
virtual | ~Handler () |
Destructor. More... | |
virtual void | TimerTick (int nID) |
Timer dispatch member. More... | |
virtual void | HandleMessage (Message *pcMessage) |
Handle a message targeted at this handler. More... | |
String | GetName () const |
Get the handlers name. More... | |
void | SetName (const String &cName) |
Rename the handler. More... | |
Looper * | GetLooper () const |
Get a pointer to the looper this handler belongs to. More... | |
void | SetNextHandler (Handler *pcNextHandler) |
Set a handler that should handle messages this handler is not interrested in. More... | |
Handler * | GetNextHandler () const |
Get the next handler in a handler chain. More... | |
void | AddFilter (MessageFilter *pcFilter) |
void | RemoveFilter (MessageFilter *pcFilter) |
const MsgFilterList & | GetFilterList () const |
const uint32 | GetToken () |
Get the handlers token. More... | |
Friends | |
class | View |
class | Bitmap |
class | MenuItem |
class | ScreenOutput |
Additional Inherited Members | |
Public Types inherited from os::Looper | |
typedef std::map< int, Handler * > | handler_map |
Static Public Member Functions inherited from os::Looper | |
static Looper * | GetLooperForThread (thread_id hThread) |
Protected Member Functions inherited from os::Looper | |
bool | FilterMessage (Message *pcMsg, Handler **ppcTarget, std::list< MessageFilter * > *pcFilterList) |
Window::Window | ( | const Rect & | cFrame, |
const String & | cName, | ||
const String & | cTitle, | ||
uint32 | nFlags = 0 , |
||
uint32 | nDesktopMask = CURRENT_DESKTOP |
||
) |
cFrame | - The size and position of the window. |
References os::Rect::Bounds(), os::Application::GetInstance(), os::Looper::GetMsgPort(), os::Window::Private::m_bIsRunning, os::Window::Private::m_hLayerPort, os::Window::Private::m_hReplyPort, os::Window::Private::m_nFlags, os::Window::Private::m_nRndBufSize, os::Window::Private::m_pcMenuBar, os::Window::Private::m_pcTopView, and os::Window::Private::m_psRenderPkt.
Window::~Window | ( | ) |
void Window::AddChild | ( | View * | pcChild, |
bool | bAssignTabOrder = false |
||
) |
If bAssignTabOrder is true, the view will be assigned a tab order making it possible to activate the view with the keyboard.
When the window is later closed, it will automatically delete all remaining child views.
pcChild | - The View to add to the window. |
bAssignTabOrder | - If true the view will be assigned a tab-order one higher than the previously added view. |
References os::View::AddChild(), and os::Window::Private::m_pcTopView.
Referenced by os::Bitmap::AddChild(), os::Alert::Alert(), os::FileRequester::FileRequester(), os::InputBox::InputBox(), os::MenuWindow::MenuWindow(), os::ProgressRequester::ProgressRequester(), os::Splash::Splash(), and os::ToolTip::ToolTip().
void Window::AddShortcut | ( | const ShortcutKey & | cKey, |
Message * | pcMsg | ||
) |
cKey | - The keyboard event that triggers the shortcut. |
pcMsg | - Message to send to this window (automatically deleted). |
References os::ShortcutKey::IsValid(), os::Window::Private::m_cShortcuts, and RemoveShortcut().
Referenced by os::View::AttachedToWindow(), os::FileRequester::FileRequester(), os::View::SetShortcut(), and os::View::SetShortcutFromLabel().
void Window::AddShortcut | ( | const ShortcutKey & | cKey, |
View * | pcView | ||
) |
cKey | - The keyboard event that triggers the shortcut. |
pcView | - View to send the shortcut to. |
References os::ShortcutKey::IsValid(), os::Window::Private::m_cShortcuts, and RemoveShortcut().
void Window::CenterInScreen | ( | ) |
References GetBounds(), os::Desktop::GetResolution(), os::Rect::Height(), MoveTo(), os::Rect::Width(), os::IPoint::x, and os::IPoint::y.
Referenced by os::Splash::Go(), os::InputBox::InputBox(), and os::RegistrarManager::Launch().
void Window::CenterInWindow | ( | Window * | pcWin | ) |
pcWin | - The Window to center in. |
References GetBounds(), GetFrame(), os::Rect::Height(), os::Rect::left, MoveTo(), os::Rect::top, and os::Rect::Width().
Referenced by os::FileRequester::HandleMessage(), os::IconDirectoryView::HandleMessage(), and os::RegistrarManager::Launch().
void Window::ClearShapeRegion | ( | ) |
\return |
References os::View::ClearShapeRegion(), and os::Window::Private::m_pcTopView.
|
inline |
|
virtual |
nDesktop | - Now activated desktop if bActive is true. Otherwise the old desktop. |
bActive | - True if the desktop is activated. |
Referenced by DispatchMessage().
|
virtual |
pcMsg | - Pointer to the received messge. Note that this message will be deleted when DispatchMessage() returns, unless detatched from the looper through DetachCurrentMessage(). |
pcHandler | - Pointer to the handler targeted by this message. If the message was not targeted at any spesific handler this argument is NULL. |
Reimplemented from os::Looper.
References os::View::ConvertFromScreen(), DesktopActivated(), os::Looper::DispatchMessage(), os::Message::FindBool(), os::Message::FindInt32(), os::Message::FindIPoint(), os::MessageQueue::FindMessage(), os::Message::FindMessage(), os::Message::FindPoint(), os::Message::FindPointer(), os::Message::FindRect(), os::Message::FindString(), FindView(), Flush(), os::View::FontChanged(), os::Message::GetCode(), GetFocusChild(), os::View::GetFont(), os::Looper::GetMessageQueue(), os::View::GetTabOrder(), os::Rect::IsValid(), os::View::KeyDown(), os::View::KeyUp(), os::MessageQueue::Lock(), os::Window::Private::m_bDidScrollRect, TopView::m_bKeyDownRejected, os::Window::Private::m_cMousePos, os::M_DESKTOP_ACTIVATED, os::M_FONT_CHANGED, os::Window::Private::m_hLayerPort, os::M_KEY_DOWN, os::M_KEY_UP, os::M_MOUSE_DOWN, os::M_MOUSE_MOVED, os::M_MOUSE_UP, os::Window::Private::m_nButtons, os::Window::Private::m_nMouseMoveRun, os::Window::Private::m_nMouseTransition, os::M_PAINT, os::Window::Private::m_pcDefaultButton, os::Window::Private::m_pcDefaultWheelView, os::Window::Private::m_pcLastMouseView, os::Window::Private::m_pcTopView, os::M_SCREENMODE_CHANGED, os::M_WHEEL_MOVED, os::M_WINDOW_ACTIVATED, os::M_WINDOW_FRAME_CHANGED, os::M_WINDOWS_CHANGED, os::View::MakeFocus(), os::View::MouseDown(), os::View::MouseUp(), os::View::Paint(), QUAL_SHIFT, ScreenModeChanged(), SetFrame(), os::Looper::SpoolMessages(), Sync(), os::MessageQueue::Unlock(), VK_ENTER, os::View::WheelMoved(), and WindowsChanged().
Referenced by DispatchMessage(), os::Bitmap::FindView(), os::DropdownMenu::FontChanged(), and os::DropdownMenu::WheelMoved().
References os::View::GetChildAt(), os::Rect::LeftTop(), and os::Window::Private::m_pcTopView.
void Window::Flush | ( | void | ) |
References os::Locker::Lock(), os::Window::Private::m_cRenderLock, os::Window::Private::m_hLayerPort, os::Window::Private::m_nRndBufSize, os::Window::Private::m_psRenderPkt, and os::Locker::Unlock().
Referenced by os::Alert::Alert(), DispatchMessage(), os::Bitmap::Flush(), os::View::Flush(), SetAlignment(), SetFlags(), SetFrame(), and SetSizeLimits().
|
virtual |
Referenced by TopView::FrameMoved().
|
virtual |
Reimplemented in os::FileRequester.
Referenced by TopView::FrameSized().
Rect Window::GetBounds | ( | void | ) | const |
References os::View::GetBounds(), and os::Window::Private::m_pcTopView.
Referenced by os::Alert::Alert(), CenterInScreen(), CenterInWindow(), os::FileRequester::FileRequester(), os::ProgressRequester::ProgressRequester(), and os::ToolTip::ToolTip().
View * Window::GetDefaultButton | ( | ) | const |
References os::Window::Private::m_pcDefaultButton.
Referenced by os::Button::Paint().
View * Window::GetDefaultWheelView | ( | ) | const |
References os::Window::Private::m_pcDefaultWheelView.
uint32 Window::GetFlags | ( | ) | const |
References os::Window::Private::m_nFlags.
|
inline |
Referenced by DispatchMessage(), os::View::HasFocus(), os::View::MakeFocus(), and SetFocusChild().
Rect Window::GetFrame | ( | ) | const |
References os::View::GetFrame(), and os::Window::Private::m_pcTopView.
Referenced by CenterInWindow(), and os::ImageButton::Paint().
Bitmap * Window::GetIcon | ( | void | ) | const |
String Window::GetTitle | ( | void | ) | const |
References os::Window::Private::m_cTitle.
|
inline |
Referenced by os::Splash::Quit(), and os::ToolTip::TimerTick().
bool Window::IsActive | ( | ) | const |
References os::Window::Private::m_bIsActive, and os::Window::Private::m_bMenuOpen.
Referenced by os::View::HasFocus().
bool Window::IsVisible | ( | ) | const |
References os::View::IsVisible(), and os::Window::Private::m_pcTopView.
Referenced by os::ToolTip::ShowTip().
void Window::MakeFocus | ( | bool | bFocus = true | ) |
bFocus | - True to activate the window, false to deactivate it. |
References os::Message::AddBool(), os::Window::Private::m_hLayerPort, and os::Looper::Messenger.
Referenced by os::Splash::Go(), os::Alert::Go(), os::IconDirectoryView::HandleMessage(), os::RegistrarManager::Launch(), and os::Splash::Quit().
void Window::MoveBy | ( | const Point & | cDelta | ) |
cDelta | - The distance to move the window. |
References os::Window::Private::m_pcTopView, and os::View::MoveBy().
void Window::MoveBy | ( | float | vDeltaX, |
float | vDeltaY | ||
) |
nDeltaX | - The horizontal distance to move the window. |
nDeltaY | - The vertical distance to move the window. |
References os::Window::Private::m_pcTopView, and os::View::MoveBy().
void Window::MoveTo | ( | const Point & | cPos | ) |
cPos | - The new position |
References os::Window::Private::m_pcTopView, and os::View::MoveTo().
Referenced by os::Alert::Alert(), CenterInScreen(), CenterInWindow(), and os::View::MouseMove().
void Window::MoveTo | ( | float | x, |
float | y | ||
) |
x | - The new horizontal position. |
y | - The new vertical position. |
References os::Window::Private::m_pcTopView, and os::View::MoveTo().
void Window::RemoveChild | ( | View * | pcChild | ) |
pcChild | - The view to remove. |
References os::Window::Private::m_pcTopView, and os::View::RemoveChild().
Referenced by os::Bitmap::RemoveChild(), os::MenuWindow::ShutDown(), and os::MenuWindow::~MenuWindow().
void Window::RemoveShortcut | ( | const ShortcutKey & | cKey | ) |
cKey | - The keyboard event that triggers the shortcut. |
References os::ShortcutKey::IsValid(), os::Window::Private::m_cShortcuts, and SDF_DELETE.
Referenced by AddShortcut(), os::View::DetachedFromWindow(), os::View::SetShortcut(), and os::View::SetShortcutFromLabel().
void Window::ResizeBy | ( | const Point & | cDelta | ) |
cDelta | - The distance to move the lower-right corner of the window. |
References os::Window::Private::m_pcTopView, and os::View::ResizeBy().
void Window::ResizeBy | ( | float | vDeltaW, |
float | vDeltaH | ||
) |
nDeltaW | - The horizontal distance to move the lower-right corner of the window. |
nDeltaH | - The vertical distance to move the lower-right corner of the window. |
References os::Window::Private::m_pcTopView, and os::View::ResizeBy().
void Window::ResizeTo | ( | const Point & | cSize | ) |
cSize | - The new size of the windows client area. |
References os::Window::Private::m_pcTopView, and os::View::ResizeTo().
Referenced by os::Alert::Alert(), os::InputBox::InputBox(), os::Splash::SetEnableProgressBar(), os::ToolTip::ShowTip(), and os::Splash::Splash().
void Window::ResizeTo | ( | float | w, |
float | h | ||
) |
W | - The new width of the windows client area. |
W | - The new heigth of the windows client area. |
References os::Window::Private::m_pcTopView, and os::View::ResizeTo().
|
virtual |
cNewRes | - New resolution. |
eColorSpace | - New colorspace. |
Referenced by DispatchMessage().
void Window::SetAlignment | ( | const IPoint & | cSize = IPoint(1,1) , |
const IPoint & | cSizeOffset = IPoint(0,0) , |
||
const IPoint & | cPos = IPoint(1,1) , |
||
const IPoint & | cPosOffset = IPoint(0,0) |
||
) |
References os::Message::AddIPoint(), Flush(), os::Window::Private::m_hLayerPort, and os::Looper::Messenger.
void Window::SetDefaultButton | ( | View * | pcView | ) |
pcView | - Pointer to the View that should receive all events generated by the <ENTER> key. This will typically be an instance of the os::Button class. |
References os::Window::Private::m_pcDefaultButton.
Referenced by os::FileRequester::FileRequester(), and os::InputBox::InputBox().
void Window::SetDefaultWheelView | ( | View * | pcView | ) |
References os::Window::Private::m_pcDefaultWheelView.
void Window::SetFlags | ( | uint32 | nFlags | ) |
References os::Message::AddInt32(), Flush(), os::Window::Private::m_hLayerPort, os::Window::Private::m_nFlags, and os::Looper::Messenger.
Referenced by os::Alert::Alert().
pcView | - The View that should receive focus, or a NULL pointer to remove focus from the currently active view. |
References os::View::Activated(), FOCUS_STACK_SIZE, GetFocusChild(), os::Window::Private::m_apcFocusStack, and os::Looper::SetDefaultHandler().
Referenced by os::InputBox::InputBox(), and os::View::MakeFocus().
void Window::SetFrame | ( | const Rect & | cRect, |
bool | bNotifyServer = true |
||
) |
cRect | - The new frame rectangle of the window's client area. |
References Flush(), os::Window::Private::m_pcTopView, and os::View::SetFrame().
Referenced by DispatchMessage(), and os::FileRequester::FileRequester().
void Window::SetIcon | ( | Bitmap * | pcIcon | ) |
pcIcon | The new window icon. |
References os::Message::AddInt32(), os::Window::Private::m_hLayerPort, and os::Looper::Messenger.
void Window::SetShapeRegion | ( | const Region & | cReg | ) |
\return |
References os::Window::Private::m_pcTopView, and os::View::SetShapeRegion().
Also think twice before making a window non-resizable it is normally better to make the window layout dynamic through the builtin layout engine.
cMinSize | Minimum size in pixels. |
cMaxSize | Maximum size in pixels. |
References os::Message::AddPoint(), Flush(), os::Window::Private::m_hLayerPort, and os::Looper::Messenger.
void Window::SetTitle | ( | const String & | cTitle | ) |
pzTitle | The new window title. |
References os::Message::AddString(), os::String::c_str(), os::Window::Private::m_cTitle, os::Window::Private::m_hLayerPort, and os::Looper::Messenger.
Referenced by os::FileRequester::FileRequester(), os::RegistrarManager::Launch(), and os::FileRequester::Private::PathChanged().
void Window::Show | ( | bool | bMakeVisible = true | ) |
When a window is first constructed, it is not made visible on the screen. You must first call Show(true), The first time Show() is called it will also unlock the window, and start the looper thread if it is not done already by calling Start(). You can nest calls to Show(false). It will then require the same numbers of Show(true) calls to make the window visible.
bMakeVisible | - Set to true to make the window visible, and false to hide it. |
References os::Window::Private::m_bIsRunning, os::Window::Private::m_pcTopView, os::Looper::Run(), and os::View::Show().
Referenced by os::Splash::Go(), os::Alert::Go(), os::ColorRequester::HandleMessage(), os::InputBox::HandleMessage(), os::IconDirectoryView::HandleMessage(), os::RegistrarManager::Launch(), MoveFileThread(), os::ColorRequester::OkToQuit(), os::InputBox::OkToQuit(), os::Menu::Open(), os::Splash::Quit(), os::FileRequester::Show(), os::ToolTip::ShowTip(), and os::Menu::Track().
void Window::Start | ( | void | ) |
References os::Window::Private::m_bIsRunning, os::Looper::Run(), and os::Looper::Unlock().
Referenced by os::View::SetToolTip().
void Window::Sync | ( | void | ) |
References os::Locker::Lock(), os::Window::Private::m_cRenderLock, os::Window::Private::m_hLayerPort, os::Window::Private::m_hReplyPort, os::Window::Private::m_nRndBufSize, os::Window::Private::m_psRenderPkt, and os::Locker::Unlock().
Referenced by os::Alert::Alert(), DispatchMessage(), os::View::RemoveChild(), os::Bitmap::Sync(), and os::View::Sync().
int Window::ToggleDepth | ( | void | ) |
References os::Window::Private::m_pcTopView, and os::View::ToggleDepth().
|
virtual |
Referenced by DispatchMessage().
|
friend |
|
friend |
|
friend |
|
friend |