added: Control.SetFocus(id,position) to allow focusing of a list and selection of...
authorjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Wed, 7 May 2008 09:28:33 +0000 (09:28 +0000)
committerjmarshallnz <jmarshallnz@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Wed, 7 May 2008 09:28:33 +0000 (09:28 +0000)
commita13cc4cf812fc00e2797fede376efc8f78a3de78
tree87498f641435f5767d720224cefc9d08c63b99c8
parentbe8b7b789056a4af66c98099e8330ce8882d078f
added: Control.SetFocus(id,position) to allow focusing of a list and selection of the position to focus.
added: Container(id).Position label - returns the position as a label. With these two things you can do <onleft>Control.SetFocus(id2,$INFO[Container(id).Position])</onleft> to move naturally between two lists next to each other, keeping the same row focused.

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC@12907 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
guilib/GUIBaseContainer.cpp
guilib/GUIListContainer.cpp
xbmc/Util.cpp
xbmc/utils/GUIInfoManager.cpp