Public Member Functions | |
| Window (Window *pParent, const Rect &rFrame, unsigned int nWindowLayoutFlags, unsigned int uiFlags=0) | |
| virtual | ~Window () |
| virtual int | Show (bool bSynchron=true) |
| virtual int | Hide () |
| virtual bool | IsVisible (bool bVisibleChain=false) |
| virtual int | Width () |
| virtual int | Height () |
| virtual Rect | GetBounds () |
| virtual void | SetRect (const Rect &rRect) |
| virtual void | SetRect (const Point &pTopLeft, const Point &pSize) |
| virtual void | SetSize (const Point &pSize) |
| virtual Rect | GetRect () |
| virtual void | SetClientSize (const Point &pSize) |
| virtual void | SetClientRect (const Rect &rRect) |
| virtual void | SetClientRect (const Point &pTopLeft, const Point &pSize) |
| virtual Rect | GetClientRect () |
| virtual int | MoveBy (const Point &pDelta) |
| virtual void | MoveTo (const Point &pPos) |
| virtual void | SizeBy (const Point &pSize) |
| virtual Point | GetSizeHint (enumSizeHint nSizeHint) |
| virtual void | Sized (const Point &pDelta) |
| virtual void | Moved (const Point &pDelta) |
| virtual void | SetSizeable (bool bIsSizeable) |
| virtual void | SetMoveable (bool bIsSizeable) |
| virtual bool | IsSizeable () |
| virtual bool | IsMoveable () |
| virtual void | Maximize () |
| virtual void | Minimize () |
| virtual void | SetMargin (const Rect &rMargin) |
| virtual Rect | GetMargin () |
| virtual void | Invalidate () |
| virtual void | InvalidateRect (const Rect &rDirty) |
| virtual void | Paint (const Rect &rDirty) |
| virtual int | Swap (const Rect *rDirty=NULL) |
| virtual void | ParentDraw (const Rect &rRegion) |
| virtual void | HandleMessage (const Message *pMessage) |
| virtual void | Created () |
| virtual void | MouseDown (const InputEvent &nInputEvent) |
| virtual void | MouseUp (const InputEvent &nInputEvent) |
| virtual void | MouseMove (const InputEvent &nInputEvent) |
| virtual void | MouseWheel (const InputEvent &nInputEvent) |
| virtual void | KeyDown (const InputEvent &nInputEvent) |
| virtual void | KeyUp (const InputEvent &nInputEvent) |
| virtual void | MouseEnter (const InputEvent &nInputEvent) |
| virtual void | MouseLeave (const InputEvent &nInputEvent) |
| virtual bool | FocusGet () |
| virtual bool | FocusLost () |
| virtual bool | LoseFocus () |
| virtual bool | HasFocus () |
| bool | SwitchFocus (bool bNextTabOrder=true) |
| bool | SetFocus () |
| bool | RemoveFocus () |
| int | GetTabOrder () |
| void | SetTabOrder (int iTabOrder) |
| void | HandleTabKey (bool bEnable) |
| void | SetDefaultButton (Window *pWindow) |
| Window * | GetDefaultButton () |
| virtual bool | IsActive () |
| virtual bool | Activated () |
| virtual bool | Deactivated () |
| virtual int | SetWindowProperty (WindowProperty nProperty, int iValue) |
| virtual void | SetWindowCapability (WindowCapability nCapability, int iValue) |
| virtual int | GetWindowProperty (WindowProperty nProperty) |
| virtual void | ClearTransparentRects () |
| virtual void | AddTransparentRect (const Rect &nRect) |
| virtual void | SetWindowBitmap (Image *pImage) |
| PhysicalWindow | GetPhysicalWindow () |
| s_window * | GetLogicalWindow () |
| Painter * | GetPainter () |
| virtual void | SetPainter (Painter *pPainter) |
| Window * | GetParent () |
| Window * | GetTop () |
| ApplicationWindow * | GetApplicationWindow () |
| virtual void | EnableMouseCapture () |
| virtual void | DisableMouseCapture () |
| virtual void | EnableMouseMoveEvents () |
| virtual void | DisableMouseMoveEvents () |
| virtual void | EnableMousePassThrough () |
| virtual void | DisableMousePassThrough () |
| virtual void | EnableDropThrough () |
| virtual void | DisableDropThrough () |
| virtual void * | GetThemeData () |
| virtual void | SetThemeData (void *pThemeData) |
| virtual void | SetTitle (const String &cTitle) |
| String | GetTitle () const |
| virtual void | SetTargetWindow (Window *pWindow) |
| virtual Window * | GetTargetWindow () |
| virtual void | OnCommand (const MessageCommand *pMessage) |
| virtual int | AddTimer (int iMilliseconds, void *vpCookie=NULL) |
| virtual void | RemoveTimer (int iTimerID) |
| virtual void | ResetTimer (int iTimerID, int iMilliseconds) |
| virtual void | OnTimer (int iTimerID, void *vpCookie) |
| virtual void | SetScrollOffset (const Point &pScrollOffset) |
| virtual Point | GetScrollOffset () |
| virtual void | Layout (bool bLayoutThis, bool bLayoutChildren, const Point &cDeltaPos, const Point &cDeltaSize) |
| void | SkipLayout (bool bSkip) |
| void | LayoutChildren (bool bLayoutChildren) |
| void | Flash (const Rect &rRect, int iDelayInMsec=500, Color nColor=cRed) |
| virtual Point | ConvertToScreen (const Point &cPoint) |
| virtual Point | ConvertFromScreen (const Point &cPoint) |
| virtual bool | IsMouseInside () |
| virtual bool | PointInsideWindow (const Point &pPoint) |
| virtual bool | ScreenPointInsideWindow (const Point &pPoint) |
| virtual void | Enable (bool bEnable=true) |
| virtual bool | IsEnabled () |
| virtual bool | IsDisabled () |
| virtual void | OnMonitor (unsigned int uiMonitorFlags, ino_t nInode, dev_t nDevice) |
| Window * | GetChild (int i) |
| virtual bool | HasChild (Window *pWindow, bool bDirectChild=false) |
| virtual void | DragStart (const InputEvent &nInputEvent) |
| virtual int | Drag (Image *pImage, const Point &pOffset, const String &szMimeType, const DataCollection &pDataCollection) |
| virtual void | AbortDrag () |
| virtual void | AllowDrop (bool bAllow) |
| virtual void | DenyDrop (bool bDeny=true) |
| virtual bool | Drop (DataCollection **ppDataCollection, bool bKeep=false) |
| virtual int | GetDragID () |
| virtual void | AllowDrag (bool bAllow) |
| virtual bool | CanDrag () |
| virtual void | DrawBackground (const Rect &rDirty, unsigned int uiBackgroundStyle=BACKGROUND_STYLE_NONE) |
| virtual void | SetBackgroundStyle (unsigned int uiWindowBackgroundStyle) |
| virtual void | SetBackgroundBrush (Brush *pBrush) |
| virtual Brush * | GetBackgroundBrush () |
| virtual unsigned int | GetBackgroundStyle () |
| virtual bool | SetFont (Font *pFont) |
| virtual Font * | GetFont () |
| virtual bool | SetBrush (Brush *pBrush) |
| virtual Brush * | GetBrush () |
| virtual void | ComputeLayout (Rect &rRect, const Point &cDeltaSize, const Point &cDeltaMove, bool bHorizontal, bool bVertical) |
| virtual void | ComputeDelta (const Rect &rRect, Point &cDeltaSize, Point &cDeltaMove) |
| virtual bool | IsPopup () |
| virtual bool | AddShortcut (unsigned int uiVKey, unsigned int uiUnicode, KeyQualifiers nKeyQualifiers, bool bGlobal=false) |
| virtual bool | AddShortcut (const Shortcut &pShortcut) |
| virtual bool | RemoveShortcut (unsigned int uiVKey, unsigned int uiUnicode, KeyQualifiers nKeyQualifiers) |
| virtual void | DesktopResolutionChanged () |
| virtual void | SetWindowLayoutFlags (unsigned int nWindowLayoutFlags) |
| virtual void | DrawBorder (const Rect &rRect, BorderType nBorderType=BORDER_TYPE_NORMAL) |
| Border * | GetBorder (BorderType nBorderType=BORDER_TYPE_NORMAL) |
| bool | SetBorder (Border *pBorder, BorderType nBorderType=BORDER_TYPE_NORMAL) |
| virtual void | Raise () |
| virtual void | SetToolTip (ToolTip *pToolTip, int iPopupDelay=-1, Point pOffset=Point(0, 0)) |
| virtual void | ShowToolTip () |
| virtual void | HideToolTip () |
| virtual void | ResetToolTipTimer (int iPopupDelay=-1) |
| virtual ToolTip * | GetToolTip () |
| virtual void | SetPrivateCookie (void *vpCookie) |
| virtual void * | GetPrivateCookie () |
| virtual void | SetLayerBackgroundColor (Color nColor) |
| virtual void | PostDestroyMessage () |
| virtual bool | CloseRequest () |
| virtual void | Scroll (const Rect &rRect, const Point &pScrollBy, bool bScrollContent=true, bool bScrollChildWindows=false) |
| virtual bool | HigherThan (Window *pWindow) |
| void | EnableIdle (bool bEnable, EventQueue *pEventQueue=NULL) |
| virtual bool | OnIdle () |
| Point | GetMinimumSize () |
| Point | GetPreferredSize () |
| virtual void | SetMinimumSize (const Point &pSize) |
| bool | SetIcon (bool bSmall=true, bool bBig=true, bool bAll=true) |
| bool | SetIcon (Image *pImage) |
| bool | SetIcon (const String &szPath, bool bSmall=true, bool bBig=true, bool bAll=true) |
Static Public Member Functions | |
| static int | DisableToolTips (bool bDisable) |
| static bool | DisableToolTips () |
Public Attributes | |
| signal2< int, void * > | TimerReached |
Protected Attributes | |
| Painter * | m_Painter |
| s_window * | m_plogicalWindow |
| Rect | m_rFrame |
| PhysicalWindow | m_physicalWindow |
| Window * | m_pParent |
| Window * | m_pTop |
| Font * | m_pFont |
| bool | m_bFocus |
| bool | m_bActive |
| Rect | m_rClientMargin |
| Point | m_LastMousePosition |
| String | m_cTitle |
| Rect | m_rMaximized |
| Window * | m_pTargetWindow |
| bool | m_bDisabled |
| bool | m_bAllowDrop |
| unsigned int | m_uiBackgroundStyle |
| Brush * | m_pBrushBackground |
| ToolTip * | m_pToolTip |
| int | m_iToolTipPopupDelay |
| bool | m_pToolTipOpen |
| bool | m_bDragStarted |
| Point | m_pDragStartPosition |
This class represents an actual window. Window content is drawn using the Window::Paint() method.
button.cpp, clipboard.cpp, directoryview.cpp, diskdevice.cpp, dnd.cpp, eventsource.cpp, eventthread.cpp, images.cpp, infopanel.cpp, layoutview.cpp, listview.cpp, localization.cpp, messagebox.cpp, networkinterface.cpp, progressbar.cpp, radiobutton.cpp, rect.cpp, splitter.cpp, styleview.cpp, tabview.cpp, textview.cpp, thread.cpp, and videoview.cpp.
| Window::Window | ( | Window * | pParent, | |
| const Rect & | rFrame, | |||
| unsigned int | nWindowLayoutFlags, | |||
| unsigned int | uiFlags = 0 | |||
| ) |
Window Constructor
| pParent | Parent window | |
| rFrame | Initial parent relative window frame rectangle | |
| nWindowLayoutFlags | Initial Window Layout flags |
| Window::~Window | ( | ) | [virtual] |
Destroy a window and unlink it
| int Window::Show | ( | bool | bSynchron = true |
) | [virtual] |
Make window visible
Reimplemented in SkyGI::FrameWindow, SkyGI::InfoPanelNode, and SkyGI::ToolTip.
| int Window::Hide | ( | ) | [virtual] |
Make window invisible
Reimplemented in SkyGI::InfoPanelNode, and SkyGI::PopupMenu.
| bool Window::IsVisible | ( | bool | bVisibleChain = false |
) | [virtual] |
Check if window is visible
| int Window::Width | ( | ) | [virtual] |
Get window width
| int Window::Height | ( | ) | [virtual] |
Get window height
| Rect Window::GetBounds | ( | ) | [virtual] |
Get the window boundary
| void Window::SetRect | ( | const Rect & | rRect | ) | [virtual] |
Set window frame
| void Window::SetSize | ( | const Point & | pSize | ) | [virtual] |
| Rect Window::GetRect | ( | ) | [virtual] |
Get the window frame
| void Window::SetClientSize | ( | const Point & | pSize | ) | [virtual] |
| void Window::SetClientRect | ( | const Rect & | rRect | ) | [virtual] |
| Rect Window::GetClientRect | ( | ) | [virtual] |
Get the window boundary
| int Window::MoveBy | ( | const Point & | pDelta | ) | [virtual] |
| void Window::MoveTo | ( | const Point & | pPos | ) | [virtual] |
| void Window::SizeBy | ( | const Point & | pSize | ) | [virtual] |
| Point Window::GetSizeHint | ( | enumSizeHint | nSizeHint | ) | [virtual] |
Get size hint
Reimplemented in SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::FileDialogView, SkyGI::FileHandlerSelectDialogView, SkyGI::FindBar, SkyGI::FontSelectDialogView, SkyGI::ImageButton, SkyGI::InputBoxView, SkyGI::ListViewSelectDialogView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::MessageBoxView, SkyGI::PasswordDialogView, SkyGI::Preview, SkyGI::QueryEditDialogView, SkyGI::RadioButton, SkyGI::ScrollBar, SkyGI::StatusBar, SkyGI::StringView, SkyGI::TextView, SkyGI::TitleWindow, SkyGI::ToolBar, SkyGI::ToolBarSeparator, and SkyGI::ToolTip.
| void Window::Sized | ( | const Point & | pDelta | ) | [virtual] |
Called when window is resized
| pDelta | - Size the window was resized |
Reimplemented in SkyGI::CategoryView, SkyGI::FrameWindow, SkyGI::GeckoView, SkyGI::InfoPanel, SkyGI::InputBoxView, SkyGI::LayoutView, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::MessageBoxView, SkyGI::Preview, SkyGI::ScrollBar, SkyGI::Splitter, SkyGI::StatusBar, SkyGI::TabView, SkyGI::TextView, and SkyGI::ToolBar.
| void Window::Moved | ( | const Point & | pDelta | ) | [virtual] |
Called when window is moved
| pDelta | - Distance the window was moved |
Reimplemented in SkyGI::FrameWindow.
| void Window::SetSizeable | ( | bool | bIsSizeable | ) | [virtual] |
Allow/disallow window size change
| bIsSizeable | - If true window can be resized |
| void Window::SetMoveable | ( | bool | bIsMoveable | ) | [virtual] |
Allow/disallow window position change
| bIsMoveable | - If true window can be moved |
| bool Window::IsSizeable | ( | ) | [virtual] |
| bool Window::IsMoveable | ( | ) | [virtual] |
| void Window::Maximize | ( | ) | [virtual] |
| void Window::Minimize | ( | ) | [virtual] |
| void Window::SetMargin | ( | const Rect & | rMargin | ) | [virtual] |
| Rect Window::GetMargin | ( | ) | [virtual] |
| void Window::Invalidate | ( | void | ) | [virtual] |
Invalidate a window
| void Window::InvalidateRect | ( | const Rect & | rDirty | ) | [virtual] |
Invalidate a window area
| rDirty | - Rectangle which should get swapped, NULL to swap entire window |
| void Window::Paint | ( | const Rect & | rDirty | ) | [virtual] |
Paint window content
| rDirty | - Dirty rectangular region which has to be redrawn. Prior entering this function the painters clip region is automatically set to this dirty region. |
Reimplemented in SkyGI::CategoryView, SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::FindBar, SkyGI::FrameWindow, SkyGI::GeckoView, SkyGI::GroupView, SkyGI::ImageButton, SkyGI::InfoPanelNode, SkyGI::InputBoxView, SkyGI::LayoutView, SkyGI::ListViewHeader, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::MessageBoxView, SkyGI::VideoViewPreview, SkyGI::Preview, SkyGI::ProgressBar, SkyGI::RadioButton, SkyGI::ScrollBar, SkyGI::ScrollView, SkyGI::Slider, SkyGI::SplitterSeperator, SkyGI::StatusLayoutView, SkyGI::StatusBar, SkyGI::StringView, SkyGI::StyleView, SkyGI::TabView, SkyGI::TextView, SkyGI::TitleWindow, SkyGI::ToolBar, SkyGI::ToolBarSeparator, SkyGI::ToolTip, SkyGI::TopView, SkyGI::VideoView, and SkyGI::View.
| int Window::Swap | ( | const Rect * | rDirty = NULL |
) | [virtual] |
Bring modified window content on screen
| rDirty | - Rectangle which should get swapped, NULL to swap entire window |
| void Window::ParentDraw | ( | const Rect & | rRegion | ) | [virtual] |
| void Window::HandleMessage | ( | const Message * | pMessage | ) | [virtual] |
| void Window::Created | ( | ) | [virtual] |
Window has been created
Reimplemented in SkyGI::FrameWindow.
| void Window::MouseDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse pressed
| nButton | - MouseButton which was pressed | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse press occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_PRESS for a single and INPUTE_EVENT_MOUSE_DOUBLECLICK for a doubleclick |
Reimplemented in SkyGI::CategoryView, SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::ImageButton, SkyGI::InfoPanelNode, SkyGI::ListViewHeader, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::Preview, SkyGI::ProgressBar, SkyGI::RadioButton, SkyGI::ScrollBar, SkyGI::SplitterSeperator, SkyGI::StyleView, SkyGI::TabView, SkyGI::TextView, and SkyGI::TitleWindow.
| void Window::MouseUp | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse release
| nButton | - MouseButton which was released | |
| nMouseButtonMask | - Mask showing which additional mouse buttons were pressed when the mouse release occured | |
| nInputEvent | - INPUT_EVENT_MOUSE_RELEASE |
Reimplemented in SkyGI::CategoryView, SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::DirectoryView, SkyGI::FavoritesViewEntry, SkyGI::FavoritesView, SkyGI::ImageButton, SkyGI::ListViewHeader, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::NavigationView, SkyGI::Preview, SkyGI::ScrollBar, SkyGI::SplitterSeperator, SkyGI::StyleView, SkyGI::TextView, and SkyGI::TitleWindow.
| void Window::MouseMove | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse move
| pNewPosition | - Current mouse cursor position | |
| pOldPosition | - Old mouse cursor position | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse move occured |
Reimplemented in SkyGI::CategoryView, SkyGI::DirectoryView, SkyGI::FavoritesViewEntry, SkyGI::FavoritesView, SkyGI::ListViewHeader, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::MenuBar, SkyGI::NavigationView, SkyGI::ProgressBar, SkyGI::ScrollBar, SkyGI::SplitterSeperator, SkyGI::TextView, and SkyGI::TitleWindow.
| void Window::MouseWheel | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented in SkyGI::CategoryView, SkyGI::ListView, and SkyGI::TextView.
| void Window::KeyDown | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented in SkyGI::ComboTextView, FindBarTextView, SkyGI::CategoryView, SkyGI::Button, SkyGI::ComboBox, SkyGI::DirectoryView, SkyGI::FrameWindow, SkyGI::ListViewNodeEdit, SkyGI::ListView, SkyGI::PopupMenuView, SkyGI::Preview, SkyGI::QueryView, SkyGI::RadioButton, SkyGI::StyleView, and SkyGI::TextView.
| void Window::KeyUp | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented in SkyGI::Button, SkyGI::ComboBox, SkyGI::Preview, and SkyGI::StyleView.
| void Window::MouseEnter | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse enter
| pPosEnter | - Position the mouse cursor entered the window | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse enter occured |
Reimplemented in SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::ImageButton, SkyGI::ListView, SkyGI::MenuBar, SkyGI::Preview, SkyGI::StyleView, and SkyGI::TitleWindow.
| void Window::MouseLeave | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Mouse leave
| pPosLeave | - Position the mouse cursor leaved the window at | |
| nMouseButtonMask | - Mask showing which mouse buttons were pressed when the mouse leave occured |
Reimplemented in SkyGI::Button, SkyGI::CheckBox, SkyGI::ComboBox, SkyGI::ImageButton, SkyGI::ListView, SkyGI::MenuBar, SkyGI::Preview, SkyGI::ScrollBar, SkyGI::StyleView, and SkyGI::TitleWindow.
| bool Window::FocusGet | ( | ) | [virtual] |
Reimplemented in SkyGI::CategoryView, SkyGI::FindBar, SkyGI::ListView, SkyGI::RadioButton, and SkyGI::TextView.
| bool Window::FocusLost | ( | ) | [virtual] |
| bool Window::LoseFocus | ( | ) | [virtual] |
Focus about to be removed
Reimplemented in SkyGI::TextView.
| bool Window::HasFocus | ( | ) | [virtual] |
Get focus state
| bool Window::SwitchFocus | ( | bool | nNextTabOrder = true |
) |
Switch focus according to TabOrder
| bool Window::SetFocus | ( | ) |
Set focus to window
| bool Window::RemoveFocus | ( | ) |
| int Window::GetTabOrder | ( | ) |
| void Window::SetTabOrder | ( | int | iTabOrder | ) |
| void Window::HandleTabKey | ( | bool | bEnable | ) |
| void Window::SetDefaultButton | ( | Window * | pWindow | ) |
| Window * Window::GetDefaultButton | ( | ) |
| bool Window::IsActive | ( | ) | [virtual] |
Get activation state
Reimplemented in SkyGI::RadioButton.
| bool Window::Activated | ( | ) | [virtual] |
Window activated
Reimplemented in SkyGI::FrameWindow, and SkyGI::PopupMenu.
| bool Window::Deactivated | ( | ) | [virtual] |
Window deactivated
Reimplemented in SkyGI::ComboListView, SkyGI::FrameWindow, and SkyGI::PopupMenu.
| int Window::SetWindowProperty | ( | WindowProperty | nProperty, | |
| int | iValue | |||
| ) | [virtual] |
| void Window::SetWindowCapability | ( | WindowCapability | nCapability, | |
| int | iValue | |||
| ) | [virtual] |
Set window capability
| nCapability | - WindowCapability | |
| iValue | - Value to set capability to |
| int Window::GetWindowProperty | ( | WindowProperty | nProperty | ) | [virtual] |
| void Window::ClearTransparentRects | ( | ) | [virtual] |
Remove transparent rectangles
| void Window::AddTransparentRect | ( | const Rect & | nRect | ) | [virtual] |
Add transparent rectangles
| void Window::SetWindowBitmap | ( | Image * | pImage | ) | [virtual] |
| PhysicalWindow Window::GetPhysicalWindow | ( | ) |
| s_window * Window::GetLogicalWindow | ( | ) |
| Painter * Window::GetPainter | ( | ) |
| void Window::SetPainter | ( | Painter * | pPainter | ) | [virtual] |
| Window * Window::GetParent | ( | ) |
Get parent window
| Window * Window::GetTop | ( | ) |
Get top level window
| ApplicationWindow * Window::GetApplicationWindow | ( | ) |
Get top level application window
| void Window::EnableMouseCapture | ( | ) | [virtual] |
| void Window::DisableMouseCapture | ( | ) | [virtual] |
| void Window::EnableMouseMoveEvents | ( | ) | [virtual] |
Enable mouse move events
| void Window::DisableMouseMoveEvents | ( | ) | [virtual] |
Disable mouse move events
| void Window::EnableMousePassThrough | ( | ) | [virtual] |
Enable mouse through
| void Window::DisableMousePassThrough | ( | ) | [virtual] |
| void Window::EnableDropThrough | ( | ) | [virtual] |
Enable drop through
| void Window::DisableDropThrough | ( | ) | [virtual] |
| virtual void* SkyGI::Window::GetThemeData | ( | ) | [inline, virtual] |
| virtual void SkyGI::Window::SetThemeData | ( | void * | pThemeData | ) | [inline, virtual] |
| void Window::SetTitle | ( | const String & | cTitle | ) | [virtual] |
Set the window title
Reimplemented in SkyGI::FrameWindow, and SkyGI::InfoPanelNode.
| String Window::GetTitle | ( | ) | const |
Get the window title
| void Window::SetTargetWindow | ( | Window * | pWindow | ) | [virtual] |
Set target window
| Window * Window::GetTargetWindow | ( | ) | [virtual] |
Get target window
| void Window::OnCommand | ( | const MessageCommand * | pMessage | ) | [virtual] |
Called when a command occured
Reimplemented in SkyGI::FavoritesViewEntry, SkyGI::FileDialogView, SkyGI::FileHandlerSelectDialogView, SkyGI::FontSelectDialogView, SkyGI::InputBoxView, SkyGI::InputBox, SkyGI::ListViewSelectDialogView, SkyGI::MessageBoxView, SkyGI::MessageBox, SkyGI::PasswordDialogView, and SkyGI::QueryEditDialogView.
| int Window::AddTimer | ( | int | iMilliseconds, | |
| void * | vpCookie = NULL | |||
| ) | [virtual] |
| void Window::RemoveTimer | ( | int | iTimerID | ) | [virtual] |
| void Window::ResetTimer | ( | int | iTimerID, | |
| int | iMilliseconds | |||
| ) | [virtual] |
| void Window::OnTimer | ( | int | iTimerID, | |
| void * | vpCookie | |||
| ) | [virtual] |
Reimplemented in SkyGI::Dialog, SkyGI::FileDialogView, SkyGI::ScrollBar, and SkyGI::TextView.
| void Window::SetScrollOffset | ( | const Point & | pScrollOffset | ) | [virtual] |
| Point Window::GetScrollOffset | ( | ) | [virtual] |
| void Window::Layout | ( | bool | bLayoutThis, | |
| bool | bLayoutChildren, | |||
| const Point & | cDeltaPos, | |||
| const Point & | cDeltaSize | |||
| ) | [virtual] |
Called when window layout must be computed
| bLayoutThis | - Layout this window relative to its parent | |
| bLayoutChildren | - Layout child windows relative to this one |
| void SkyGI::Window::SkipLayout | ( | bool | bSkip | ) | [inline] |
| void Window::LayoutChildren | ( | bool | bLayoutChildren | ) |
Toogle automatic children layout
| bool Window::IsMouseInside | ( | ) | [virtual] |
| bool Window::PointInsideWindow | ( | const Point & | pPoint | ) | [virtual] |
| bool Window::ScreenPointInsideWindow | ( | const Point & | pPoint | ) | [virtual] |
| void Window::Enable | ( | bool | bEnable = true |
) | [virtual] |
Reimplemented in SkyGI::Button, and SkyGI::TextView.
| bool Window::IsEnabled | ( | ) | [virtual] |
| bool Window::IsDisabled | ( | ) | [virtual] |
| void Window::OnMonitor | ( | unsigned int | uiMonitorFlags, | |
| ino_t | nInode, | |||
| dev_t | nDevice | |||
| ) | [virtual] |
Reimplemented in SkyGI::DirectoryView, and SkyGI::NavigationView.
| Window * Window::GetChild | ( | int | i | ) |
| bool Window::HasChild | ( | Window * | pWindow, | |
| bool | bDirectChild = false | |||
| ) | [virtual] |
| void Window::DragStart | ( | const InputEvent & | nInputEvent | ) | [virtual] |
Reimplemented in SkyGI::ListView.
| int Window::Drag | ( | Image * | pImage, | |
| const Point & | pHotspot, | |||
| const String & | szMimeType, | |||
| const DataCollection & | pDataCollection | |||
| ) | [virtual] |
Start a new drag and drop operation
| pImage | Image to show as drag cursor (should be a COLORSPACE_RGBA32 image) | |
| pHotSpot | Image relative hotspot | |
| szMimeType | Mimetype of the data to drag | |
| pDataCollection | DataCollection containing the actual data |
| void Window::AbortDrag | ( | ) | [virtual] |
| void Window::AllowDrop | ( | bool | bAllow | ) | [virtual] |
| void Window::DenyDrop | ( | bool | bDeny = true |
) | [virtual] |
| bool Window::Drop | ( | DataCollection ** | ppDataCollection, | |
| bool | bKeep = false | |||
| ) | [virtual] |
| int Window::GetDragID | ( | ) | [virtual] |
| void Window::AllowDrag | ( | bool | bAllow | ) | [virtual] |
| bool Window::CanDrag | ( | ) | [virtual] |
| void Window::DrawBackground | ( | const Rect & | rDirty, | |
| unsigned int | uiBackgroundStyle = BACKGROUND_STYLE_NONE | |||
| ) | [virtual] |
Draw window background
| rDirty | Rectangle to draw into | |
| uiBackgroundStyle | Background style to draw. Should not be specified so that the windows set background style is used |
| void Window::SetBackgroundStyle | ( | unsigned int | uiWindowBackgroundStyle | ) | [virtual] |
Set window background
pWindow->SetBackgroundStyle(BACKGROUND_STYLE_BRUSH); pWindow->SetBackgroundBrush(new BrushImageScale(new Image("myImage.png")));
| rDirty | Rectangle to draw into | |
| uiBackgroundStyle | Background style to draw. Should not be specified so that the windows set background style is used |
| void Window::SetBackgroundBrush | ( | Brush * | pBrush | ) | [virtual] |
Set window background brush
| Brush * Window::GetBackgroundBrush | ( | ) | [virtual] |
| unsigned int Window::GetBackgroundStyle | ( | ) | [virtual] |
| bool Window::SetFont | ( | Font * | pFont | ) | [virtual] |
Reimplemented in SkyGI::TextView.
| Font * Window::GetFont | ( | ) | [virtual] |
| bool Window::SetBrush | ( | Brush * | pBrush | ) | [virtual] |
| Brush * Window::GetBrush | ( | ) | [virtual] |
| void Window::ComputeLayout | ( | Rect & | rRect, | |
| const Point & | cDeltaSize, | |||
| const Point & | cDeltaMove, | |||
| bool | bHorizontal, | |||
| bool | bVertical | |||
| ) | [virtual] |
Compute window position and size
Compute windows size and position delta values
| bool Window::IsPopup | ( | ) | [virtual] |
| bool Window::AddShortcut | ( | unsigned int | uiVKey, | |
| unsigned int | uiUnicode, | |||
| KeyQualifiers | nKeyQualifiers, | |||
| bool | bGlobal = false | |||
| ) | [virtual] |
| bool Window::AddShortcut | ( | const Shortcut & | pShortcut | ) | [virtual] |
| bool Window::RemoveShortcut | ( | unsigned int | uiVKey, | |
| unsigned int | uiUnicode, | |||
| KeyQualifiers | nKeyQualifiers | |||
| ) | [virtual] |
| void Window::DesktopResolutionChanged | ( | ) | [virtual] |
| void Window::SetWindowLayoutFlags | ( | unsigned int | nWindowLayoutFlags | ) | [virtual] |
| void Window::DrawBorder | ( | const Rect & | rRect, | |
| BorderType | nBorderType = BORDER_TYPE_NORMAL | |||
| ) | [virtual] |
| Border * Window::GetBorder | ( | BorderType | nBorderType = BORDER_TYPE_NORMAL |
) |
| bool Window::SetBorder | ( | Border * | pBorder, | |
| BorderType | nBorderType = BORDER_TYPE_NORMAL | |||
| ) |
Set window border
Reimplemented in SkyGI::ToolBar.
| void Window::Raise | ( | ) | [virtual] |
| void Window::SetToolTip | ( | ToolTip * | pToolTip, | |
| int | iPopupDelay = -1, |
|||
| Point | pOffset = Point(0, 0) | |||
| ) | [virtual] |
| void Window::ShowToolTip | ( | ) | [virtual] |
| void Window::HideToolTip | ( | ) | [virtual] |
| void Window::ResetToolTipTimer | ( | int | iPopupDelay = -1 |
) | [virtual] |
| ToolTip * Window::GetToolTip | ( | ) | [virtual] |
| void Window::SetPrivateCookie | ( | void * | vpCookie | ) | [virtual] |
| void * Window::GetPrivateCookie | ( | ) | [virtual] |
| void Window::SetLayerBackgroundColor | ( | Color | nColor | ) | [virtual] |
| void Window::PostDestroyMessage | ( | ) | [virtual] |
| bool Window::CloseRequest | ( | ) | [virtual] |
Request for Close
Reimplemented in SkyGI::DebugSinkWindow, and SkyGI::Dialog.
| void Window::Scroll | ( | const Rect & | rRect, | |
| const Point & | pScrollBy, | |||
| bool | bScrollContent = true, |
|||
| bool | bScrollChildWindows = false | |||
| ) | [virtual] |
| bool Window::HigherThan | ( | Window * | pWindow | ) | [virtual] |
| void Window::EnableIdle | ( | bool | bEnable, | |
| EventQueue * | pEventQueue = NULL | |||
| ) |
Enable the windows idle handlers
| bEnable | Enable/Disable flag | |
| pEventQueue | Idle function gets called when this EventQueue is idle. Use NULL to use the Applications primary thread EventQueue |
| bool Window::OnIdle | ( | ) | [virtual] |
Window Idle handler
Implements SkyGI::IdleHandler.
| Point Window::GetMinimumSize | ( | ) |
Get minimum window size
| Point Window::GetPreferredSize | ( | ) |
Get the preferred window size
| void Window::SetMinimumSize | ( | const Point & | pSize | ) | [virtual] |
Set minimum window size
Reimplemented in SkyGI::FrameWindow.
| int Window::DisableToolTips | ( | bool | bDisable | ) | [static] |
| bool Window::DisableToolTips | ( | ) | [static] |
| bool Window::SetIcon | ( | bool | bSmall = true, |
|
| bool | bBig = true, |
|||
| bool | bAll = true | |||
| ) |
| bool Window::SetIcon | ( | Image * | pImage | ) |
| bool Window::SetIcon | ( | const String & | szPath, | |
| bool | bSmall = true, |
|||
| bool | bBig = true, |
|||
| bool | bAll = true | |||
| ) |
| signal2<int, void*> SkyGI::Window::TimerReached |
Painter* SkyGI::Window::m_Painter [protected] |
s_window* SkyGI::Window::m_plogicalWindow [protected] |
Rect SkyGI::Window::m_rFrame [protected] |
PhysicalWindow SkyGI::Window::m_physicalWindow [protected] |
Window* SkyGI::Window::m_pParent [protected] |
Window* SkyGI::Window::m_pTop [protected] |
Font* SkyGI::Window::m_pFont [protected] |
bool SkyGI::Window::m_bFocus [protected] |
bool SkyGI::Window::m_bActive [protected] |
Rect SkyGI::Window::m_rClientMargin [protected] |
Point SkyGI::Window::m_LastMousePosition [protected] |
String SkyGI::Window::m_cTitle [protected] |
Rect SkyGI::Window::m_rMaximized [protected] |
Window* SkyGI::Window::m_pTargetWindow [protected] |
bool SkyGI::Window::m_bDisabled [protected] |
bool SkyGI::Window::m_bAllowDrop [protected] |
unsigned int SkyGI::Window::m_uiBackgroundStyle [protected] |
Brush* SkyGI::Window::m_pBrushBackground [protected] |
ToolTip* SkyGI::Window::m_pToolTip [protected] |
int SkyGI::Window::m_iToolTipPopupDelay [protected] |
bool SkyGI::Window::m_pToolTipOpen [protected] |
bool SkyGI::Window::m_bDragStarted [protected] |
Point SkyGI::Window::m_pDragStartPosition [protected] |
1.5.1-p1