aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEval.cpp
AgeCommit message (Collapse)Author
2020-01-04GUI: Add finer control over cross-direction alignment for layout itemsBastien Bouclet
Previously it was only possible to specify whether items where aligned to the start or centered in the cross direction of the layouts. It is now additionally possible to align the items to the far end of the cross direction or to resize them to match the size of the layout. Terminology and behavior are loosely based on CSS's flexbox containers.
2020-01-04GUI: Introduce dynamic layoutsBastien Bouclet
Prior to this change, a GUI layout was only affected by the screen size. Now, a layout can additionally be influenced by the GUI dialog and widgets that uses it. This capability is leveraged to implement the following features: * Layout elements that are not bound to a GUI widget do not take space. This means that dialogs where the widgets shown depend on for example a feature being enabled at configure time no longer have blank spaces. * Widgets can define a minimal required size for their contents not to be cut. For now this is only used for buttons so their width is always sufficient for their caption not to be cut. This mechanism could be applied to other widget types in the future.
2016-07-03JANITORIAL: Remove trailing spacesAlexander Tkachev
2016-07-03GUI: Add ThemeLayoutTabWidgetAlexander Tkachev
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-03-20Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).Johannes Schickel
svn-id: r48310
2009-06-06Implement FR#2507667: "GUI: Improve PopupWidget rendering / theme layouting".Eugene Sandulenko
- Split out label from PopUp widget - Aligned every widget on all layouts so GUI becomes to look nice again - Moved textHAlign to layout properties svn-id: r41266
2009-06-06Implement widget property "textalign". Added it to all theme layoutsEugene Sandulenko
svn-id: r41265
2008-12-27Got rid of ThemeLayout::getDialogData; added some comments, asserts; moved ↵Max Horn
getParentW & getParentH to class ThemeLayoutStacked svn-id: r35571
2008-12-26Merged ThemeLayoutHorizontal and ThemeLayoutVertical into a new class ↵Max Horn
ThemeLayoutStacked (suggestions for a better name are welcome); stored padding data in a Common::Rect svn-id: r35548
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-12GUI: Got rid of the WidgetSize stuffMax Horn
svn-id: r35022
2008-11-12GUI: Got rid of most 'built-in' variablesMax Horn
svn-id: r35018
2008-11-09Removed many unnecessary #includesMax Horn
svn-id: r34959
2008-11-08Pushing down some header depsMax Horn
svn-id: r34936
2008-10-14Fixed: Parser crash when adding an XML layout with an unhandled type.Vicent Marti
svn-id: r34801
2008-10-12Merged ThemeEngine::themeEval() and ThemeEngine::evaluator() methods into a ↵Max Horn
single getEvaluator() method svn-id: r34789
2008-09-02Massive refactoring/cleanup on the theme engine/parser.Vicent Marti
svn-id: r34285
2008-08-15Added support for automatically resizing more than one widget in a flowing ↵Vicent Marti
layout. Classic theme launcher now looks ok in g3x. svn-id: r33906
2008-08-15Deprecated support for "direction" layout keys.Vicent Marti
svn-id: r33904
2008-08-14Added Classic Theme - WIP (yes, it's working).Vicent Marti
Added Builtin theme back. Added Python script to automatically build themes. svn-id: r33868
2008-08-13Finished GUI layout in g1x.Vicent Marti
svn-id: r33818
2008-08-10Bugfix: Inverse layout reflowing.Vicent Marti
Bugfix: Glitches with several layouts when using Aspect Ratio Correction. svn-id: r33764
2008-08-09Fixed 1.000.000 Valgrind warnings.Vicent Marti
svn-id: r33711
2008-08-08Resolution-dependence in XML files.Vicent Marti
G1X scaler GUI now loads. Added layout for the launcher menu. MILESTONE: All core GUI dialogs/widgets working on G2x/G3x MILESTONE: Completely removed old Evaluator/Parser. Improved layout expanding again. Improved XML parser. Several bugfixes. svn-id: r33704
2008-08-08Browser dialog.Vicent Marti
Improved layout expansion in the layout parser. Fixed serious coordinates initialization bug. svn-id: r33702
2008-08-08SCUMM save/load dialog.Vicent Marti
Expanded documentation. Added support for sub-blitting in the vector renderer. svn-id: r33697
2008-08-07SCUMM general and options dialog.Vicent Marti
Misc fixes. svn-id: r33692
2008-08-07Game Options menu parsing.Vicent Marti
Added support for importing layouts inside other layouts. Misc bugfixes. svn-id: r33676
2008-08-06Cleanup on default theme.Vicent Marti
Added support for Widget Type Declaration (makes XML much cleaner). svn-id: r33661
2008-08-06Options menu fully parsed. Needs tweaking.Vicent Marti
svn-id: r33657
2008-08-05Options menu layout parsing, featuring the brand new FATPOPUPS.Vicent Marti
svn-id: r33651
2008-08-05Look, the launcher is rendered with the new layout parser.Vicent Marti
svn-id: r33641
2008-08-05Missing file in last commit.Vicent Marti
svn-id: r33631