Project

General

Profile

Actions

Feature #221

closed

Add Conditional OnXt; Add ACTION_NAV_BACK; Remove ButtonScroller control (XBMC Main - Depriciated)

Added by dom-dxecutioner about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
User Interface
Target version:
Start date:
16/10/2012
Due date:
% Done:

100%

Resolution:
fixed

Description

Ok... so this patch takes care of several things; I apologize in advance if this is not the proper way to address this.

Conditional Actions

Add optional condition attribute to <onfoo condition="bar">xbmc.builtin.function</onfoo>

main xbmc: https://github.com/xbmc/xbmc/commit/55941ded3b0d68c45fd006d98075a93626742137

Add ACTION_NAV_BACK

Not really sure what this accomplish but it was necessary for the above change to run successfully!

Main XBMC: https://github.com/xbmc/xbmc/commit/04135b400693cbe7cfba081787057a4d5dbafa39

Remove Depreciated (Main XBMC) Control: ButtonScroller

Again, this was necessary to make the Condition OnX changes work properly; besides, I don't know of any skin that uses this as we can use other containers such as the Group or GroupList container.

Main XBMC: https://github.com/xbmc/xbmc/commit/3a91e003a5ed0ece9ab424f061b7891cb91c348b

I've tested a windows and xbox build to work properly; however, the build i used is r31540; I tried it with the latest build but I got several error not related to the changes.


Files

xbmc4xbox.diff (50 KB) xbmc4xbox.diff diff file dom-dxecutioner, 16/10/2012 02:54 AM
GUIAction.cpp (3.12 KB) GUIAction.cpp dom-dxecutioner, 16/10/2012 02:54 AM
GUIAction.h (2.15 KB) GUIAction.h dom-dxecutioner, 16/10/2012 02:54 AM
Actions

Also available in: Atom PDF