[mythtv] New menu code.

Isaac Richards mythtv-dev@snowman.net
Thu, 8 Aug 2002 01:30:22 -0400


So, I've had some contributions of a graphical nature..  500 lines of code 
later, there's now a fairly flexible themed menu class, which is now in CVS.. 
Neither of the two themes are complete yet (ie, why this isn't on the website 
yet), but:

   http://www.mythtv.org/mc/liquidtvmenu.png

is what I'm calling 'Liquid', by jer warren.  It matches the Liquid/Aqua Qt 
theme pretty nicely.  And:

   http://www.mythtv.org/mc/bluetvmenu.png

is what I'm currently calling 'Blue', by Forrest Walter.

Thanks to both of them for making those ugly menus look a whole lot spiffier.

So, if you want to check em out, just grab a CVS tarball and install things.  
The new theme.txt in /usr/local/share/mythtv/ will let you change between the 
two themes, which are stashed in /usr/local/share/mythtv/themes/
If a theme name is set in theme.txt that isn't valid, or can't otherwise be 
found, it'll drop back to the old Qt menus.

Also in CVS, if you have both the tv and music parts installed, it'll create a 
_main_ main menu when you run mythfrontend, and let you select between 'TV' 
and 'Music'.

The .menu files in the theme directories describe the button placement/look of 
the interfaces.  tv.menu and global.menu should be commented in both themes, 
if anyone's interesting in playing with their own graphics and such.  
Hopefully, it's simple enough, though I will be changing things in the 
future.

Isaac