Commit Graph
22 Commits
Author SHA1 Message Date
Eugene Sandulenko 44373fd8b4 GUI: Introduce %using directory to THEMERC. Unify themes. Bump theme version
Now all duplicate files are read from common* directories.
We have only 2 sets of theme files now, classic/modern.

No more copy/paste!
2021-11-22 14:58:56 +01:00
Eugene Sandulenko 55ae2e4367 GUI: Added SVG support to theme parser 2021-04-11 21:21:44 +02:00
Cameron Cawley 94e18f53ff GUI: Fix permissions for scummtheme.py 2020-10-26 16:09:43 +00:00
aryanrawlani28 f800ca4ada GUI: U32: Convert majority of code to use U32
This commit also includes some additional major changes.

- Return U32String from TransMan getTranslation()
- Change tooltips to be U32Strings
- Remove temporary code of convertToU32String
- U32 Support various dialogs (Browser, FileBrowser, Messages, Chooser, etc)
- U32 for music plugins
- U32 for OSD messages
- Add some helper functions to ustr.cpp
- Change default tooltips from nullptr & 0 -> ""
- Some runtime exceptions may occur when changing languages due to incorrect String::Format
2020-08-30 14:43:41 +02:00
Eugene Sandulenko 657d737b89 GUI: Compress GUI themes with maximum compression. Regenerate theme files 2020-08-26 01:32:55 +02:00
Eugene Sandulenko 0281b1eba8 GUI: Added support for PNG images 2016-08-24 16:07:55 +06:00
Eugene Sandulenko 7d58a50c46 GUI: Removed 64k limit on built-in theme XML size 2015-11-07 13:26:56 +01:00
Johannes Schickel eac2f789fe GUI: Use sorted file list in scummtheme.py.
This will (hopefully) reduce the amount of changes when recreating the themes
because the order in which files will be processed is the same unless the
sorting differs on systems...
2014-06-05 03:33:22 +02:00
D G Turner 01a1e63786 GUI: Add code to default theme generation to reduce string length.
The additional code skips the extraneous spaces after the end of an
XML close brace (>) reducing the string literal by 3106 characters,
thus bringing it within the limit for C++ string literals.

Have regenerated the default.inc from scummclassic with this change.
2013-08-16 06:57:40 +01:00
D G Turner 49ea7cd1fd GUI: Add too long string literal warning code to theme generation tool.
This has the same effect as clang's -Woverlength-strings warning of
string literals longer than C++ compilers are specified to work with.
2013-08-16 06:54:54 +01:00
Johannes Schickel d21ae1aa40 GUI: Add support for loading TTF files with ISO-8859-1 charset. 2012-01-29 16:26:20 +01:00
Eugene Sandulenko 5b3b73c523 GUI: Added icon to clear button. Reverted PNG support 2011-10-24 05:18:49 +01:00
Eugene Sandulenko 4c08fccf58 GUI: Add support for PNG images in themes 2011-10-23 23:44:14 +01:00
Jordi Vilalta Prat 8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Eugene Sandulenko fd94eeead0 Make script executable
svn-id: r41304
2009-06-06 20:58:36 +00:00
Vicent Marti 49976794c4 Updated Theme Package generator to work with Python 2.6-3.0 (push Python forward!)
svn-id: r35613
2008-12-29 16:22:52 +00:00
Vicent Marti 631c679e40 Added some more whitespace skipping to default theme generation script.
svn-id: r34982
2008-11-10 10:40:08 +00:00
Vicent Marti 1cc3ae04cd Fixed: Default theme had several XML headers.
svn-id: r34818
2008-10-18 10:06:33 +00:00
Vicent Marti 0cd4939110 Changed XMLParser comment syntax to conform to XML standards (<!-- * -->)
Changed STX version string to 0.2.

svn-id: r34807
2008-10-15 13:34:18 +00:00
Vicent Marti 1f2ce8b188 Manual merge of the GSoC2008 GUI branch. (71 files)
svn-id: r34757
2008-10-09 11:49:35 +00:00
Vicent Marti 1b0c29cb01 Added popup widget in Options menu to change GUI renderer on the fly.
svn-id: r33898
2008-08-15 11:05:25 +00:00
Vicent Marti 8eaa982c41 Added Classic Theme - WIP (yes, it's working).
Added Builtin theme back.
Added Python script to automatically build themes.

svn-id: r33868
2008-08-14 18:43:27 +00:00