Nessus85100 / Bello

A GUI for XBMC Media Center
Other
54 stars 25 forks source link

Quit button #32

Closed Thomas-O closed 10 years ago

Thomas-O commented 10 years ago

Please can you add a (one-click) quit button to the list of Home Menu buttons? With the option to define the action: exit, power off etc.

Alternatively, could you tell me how to add a quit command to a custom button?

Thanks.

Thomas

Nessus85100 commented 10 years ago

I can add an optional "Exit" button to Home Menu but no additional options. Those are available through "Shutdown Menu" (press "S" on your keyboard).

The code for the Home Menu is here https://github.com/Nessus85100/Bello/blob/master/720p/IncludesStaticContent.xml#L3 and for the Shutdown Menu here https://github.com/Nessus85100/Bello/blob/master/720p/DialogButtonMenu.xml#L26

Also here you can find all the XBMC Built In Functions http://wiki.xbmc.org/index.php?title=XBMC_Skinning_Manual#Appendix_IV:_List_of_Built_In_Functions

Cheers Nessus

Thomas-O commented 10 years ago

An optional Exit button would be great.

I should mention that this isn't for myself but for elderly relatives who are confused by the power menu, and whom most likely won't remember keyboard short cuts. It'd make their (and my) life much easier if they can use the left-right arrow keys to go from Movies to Pictures to Music to arrive at Exit. With one push of the enter key they can close XBMC and return to the familiarity of the desktop.

BTW, Bello is a really, really beautiful skin. You have obviously invested a great deal of time and effort. So before I go I wanted to thank you for being such a cool guy/gal.

One last thing: I was surprised to find that Bello works smoothly on a Raspberry Pi + OpenElec. Even with the animations and effects engaged it's at least as smooth as the Quartz skin. Which seems to be the default lightweight choice for XBMC on Pi.

Nessus85100 commented 10 years ago

https://github.com/Nessus85100/Bello/commit/4d0c8cb22ab74b66439b81fbe0232591a2612e96