# # Copyright (C) 2005-2008 Team XBMC # http://xbmc.org # # This Program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This Program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with XBMC; see the file COPYING. If not, write to # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. # http://www.gnu.org/copyleft/gpl.html # ''' This module creates your scripts GUI from a standard XBMC skinfile.xml. It works for both Windows and WindowDialogs. Hopefully it will make it easier to skin your scripts for different XBMC skins. There is one optional tag you may use, . This tag is used in place of the folder structure XBMC skinning engine uses. It's used for setCoordinateResolution(). It is suggested you use the tag. can be one of (1080i, 720p, 480p, 480p16x9, ntsc, ntsc16x9, pal, pal16x9, pal60, pal6016x9) e.g. pal GUI Builder sets initial focus to the with equal to . You may use tags and references.xml will be used for default values if no tag is given. (Unless you use fastMethod=True) All unsupported tags will be ignored. (e.g. ) GUI Builder sets up navigation based on the , , and tags. The fadelabel takes multiple