aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIWindow.h
AgeCommit message (Collapse)Author
2010-06-09added: <backgroundcolor> tag to windows, allowing skinners to specify ↵jmarshallnz
whether the window needs clearing prior to rendering, and if so which colour to use. Defaults to clearing to black. Set to 0 (or 0x00000000) to have no clearing at all (more efficient on slower GPUs such as tegra2) if you don't need it, or any other (info)color you wish. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31008 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-06-06cleanup: Move clearing of screen into the windowmanager, and do it ↵jmarshallnz
optionally based on each window. Currently always clears the screen except in fullscreen video git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30879 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-04-30changed: Move HasID() back to the .h and make it const - issue is id is ↵jmarshallnz
reserved under Obj-C git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29696 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-04-30fixed broken OSX compile caused by r29685davilla
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29693 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-03-25changed: Make On/SendMouseEvent() return an enum rather than true/false.jmarshallnz
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28796 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-20added: CGUIWindow::FrameMove function to update anything per frame, and ↵jmarshallnz
moved existing updating out of Render(). It is not safe to do a lot of processing in Render as some processing may invoke a further Render() at the app level (eg background loading directory refreshes) which may cause problems. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27989 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-19changed: Moved mouse action creation out to the app. Fixes possible mouse ↵jmarshallnz
issues during DVD menus and means we don't have to set mouse button values from the webserver. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27966 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-02-19cleanup: Get rid of unnecessary overrides of CGUIWindow::OnMouseAction()jmarshallnz
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27963 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-18changed: Moved the XML filename of windows into a property. Retrieve using ↵jmarshallnz
Window.Property(xmlfile). Ticket #8551, thanks to EqUiNoX git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26995 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-14cleanup: Interface to window properties. Removed HasProperty/ClearProperty ↵jmarshallnz
(use !GetProperty("foo").IsEmpty() or GetPropertyBool() instead) as it encourages use of the existence of a property as a bool, and added docs. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26774 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-12changed: Default the <hitrect> for windows and dialogs to the fullscreen ↵jmarshallnz
size, and remove unneeded HitTest() routine when the base class suffices. Fixes #8469 git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26710 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-10improved: Better exclusive control support for mouse dragging of ↵jmarshallnz
sliders/scroll bars. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26618 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-09fixed: Implement CGUIWindow::HitRect for windows to ensure mouse events get ↵jmarshallnz
picked up. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26612 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-09changed: OnMouse() -> OnMouseEvent() for consistency with base classes, and ↵jmarshallnz
use the event class members where reasonable rather than accessing the global mouse members. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26581 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-09changed: Improved mouse event handling - we now pass events down through the ↵jmarshallnz
control structure, giving better context for the performed event. Allows groups to react if their children don't. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26577 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-09changed: CGUIWindow::GetOrigin() -> CGUIControlGroup::GetPosition() with ↵jmarshallnz
override for window <origin> tags. Fixes possible mouse pointer location issues with dialogs using multiple <origin>'s, and provides consistency when reading these coords at the window level git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26566 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-08cosmeticsspiff_
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26558 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2010-01-08cleanup: eliminate some duplicate code.jmarshallnz
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26531 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-09-24removed: FRECT struct - use CRect instead.jmarshallnz
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23127 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-09-23changed: DWORD -> unsigned int for frame-based timings, and moved to using ↵jmarshallnz
CTimeUtils::Update/GetFrameTime() for UI timing. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23109 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
2009-09-23step 3/4: Move linuxport to trunk. How'd I get roped into this?AlTheKiller
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90