Commit Graph

87 Commits

Author SHA1 Message Date
Bastien Bouclet
2c812a6b7a GUI: Add DropdownButtonWidget and use it in the launcher for mass add
DropdownButtonWidget is a button split in two parts vertically. Clicking
the left part triggers a default action. Clicking the right part shows a
list of other actions the user can choose from.

Using this widget on the launcher lets 'Mass add' be a secondary action
of the 'Add' button, removing the necessity of pressing the shift key to
access the feature.
2019-11-24 14:06:25 +01:00
Bastien Bouclet
1d764bd787 GRAPHICS: Vector renderer clipping rect related cleanups
Selecting whether a clipping variant of a draw call needs to be used is
no longer the responsibility to the caller. The clipping rect is now
part of the state of the renderer.

Also fix some of the draw calls to better apply the clipping rect.
2019-10-07 21:47:42 +02:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Alexander Tkachev
d7278cc48b GUI: Prepare button to be clipped 2016-07-03 12:14:45 +02:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
MaximRussia
ad4471f70c GUI: Improved pop up and scrollbar arrows look
Previous triangle drawing was all wrong, rewrote it from the scratch.
Added padding to drawsteps in stx files
2011-12-07 14:04:10 +00:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Torbjörn Andersson
c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Max Horn
f242266f6d Change a couple places from 'end of namespace' to 'End of namespace', for consistency
svn-id: r44634
2009-10-04 21:26:33 +00:00
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn
f465abb75d Removed unused area convolution code from VectorRenderer
svn-id: r36148
2009-01-30 15:43:45 +00:00
Jordi Vilalta Prat
b1999a2a16 Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
2008-12-22 11:22:15 +00:00
Johannes Schickel
98b0c4b33c Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
svn-id: r34864
2008-10-29 19:48:15 +00:00
Vicent Marti
dcc72fe29e Massive refactoring/cleanup on the theme engine/parser.
svn-id: r34285
2008-09-02 17:51:08 +00:00
Vicent Marti
b53220d2cc Split VectorRenderer interface from custom vector renderers.
svn-id: r34226
2008-08-31 13:51:48 +00:00
Vicent Marti
7c213ab110 Tons of misc. GFX fixes.
svn-id: r33911
2008-08-15 19:10:37 +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
Vicent Marti
52f3551587 Bugfix: Several text-drawing issues.
Bugfix: Overlapping text in text edit dialogs.

svn-id: r33768
2008-08-10 18:56:10 +00:00
Vicent Marti
85c36885f5 Theme layout parsing. Work in progress.
svn-id: r33613
2008-08-04 16:59:55 +00:00
Vicent Marti
a3f85956ff Added basic support for inner shadows.
Made sliders look pretty much like the current GUI.

svn-id: r33548
2008-08-02 22:11:57 +00:00
Vicent Marti
44d91bfa81 Massive changes to the renderer in order to replicate the current GUI theme, as requested by Eugene
svn-id: r33507
2008-08-01 20:19:37 +00:00
Vicent Marti
01cf9174b1 Bugfix: Pixel init in Conolution mappings
svn-id: r33460
2008-07-30 16:59:49 +00:00
Vicent Marti
e8d1527746 Convolution filters for the vector renderer. Pretty cool.
svn-id: r33319
2008-07-26 22:58:02 +00:00
Vicent Marti
078ac062e7 More triangle work
svn-id: r33286
2008-07-25 11:13:47 +00:00
Vicent Marti
1c0bceecd5 Fixed warning: kTriangleAuto not handled in switch
svn-id: r33269
2008-07-25 01:14:38 +00:00
Vicent Marti
49b4df308f Fixed triangle drawing. A bit.
svn-id: r33268
2008-07-25 00:59:53 +00:00
Vicent Marti
7f0aa32d51 Improved text handling.
Fixed About dialog scroll-out text.

svn-id: r33257
2008-07-23 22:32:00 +00:00
Vicent Marti
b5086559b8 Font rendering overhaul. Work in progress.
svn-id: r33247
2008-07-23 16:38:39 +00:00
Vicent Marti
7071a95a57 Fixed several segfaults and graphical glitches when drawing at low resolutions. Fixed dialog stack redrawing.
svn-id: r33182
2008-07-21 21:23:23 +00:00
Vicent Marti
c7b624d91e Bugfix: Rounded squares at low resolutions were not drawn.
Cleanup.

svn-id: r33179
2008-07-21 19:42:35 +00:00
Vicent Marti
89a21f1613 Valgrind fix: Invalid read/write while restoring background
svn-id: r33166
2008-07-21 09:53:06 +00:00
Vicent Marti
5a4fcb83e2 Valgrind fix: Invalid write in rounded square shadows
svn-id: r33164
2008-07-21 09:19:57 +00:00
Vicent Marti
9aa07d206e Rendering pipeline. Broken WIP.
svn-id: r33152
2008-07-20 21:47:28 +00:00
Vicent Marti
4645e706a8 Rendering pipeline (almost) fixed. This time for real.
svn-id: r33092
2008-07-17 21:58:43 +00:00
Vicent Marti
6214815e6e Finished tabs drawing.
Added support for dynamic parameters in the Vector Renderer.

svn-id: r33088
2008-07-17 08:36:16 +00:00
Vicent Marti
14c8d5d6c3 Stroking on tab widgets. Basic support for backcaching.
svn-id: r33084
2008-07-16 10:48:14 +00:00
Vicent Marti
47119ee8b1 Tab widget / tab drawing for the renderer. Improved text handling.
svn-id: r33076
2008-07-15 18:53:22 +00:00
Vicent Marti
23101e3dee Bugfix: Triangle AA at low resolutions.
svn-id: r33047
2008-07-13 22:25:11 +00:00
Vicent Marti
e7e7ff9b34 Bugfix of the bugfix. Rounded squares work now on all resolutions.
svn-id: r33040
2008-07-13 17:08:44 +00:00
Vicent Marti
a95c6fc76d Bugfix: Strange behaviour in rounded square corners.
svn-id: r33039
2008-07-13 16:41:44 +00:00
Vicent Marti
4cb2b8c3c4 Improved support for graphics positioning.
More widgets.
New triangle drawing function.

svn-id: r33027
2008-07-13 10:50:57 +00:00
Vicent Marti
a90be07c3e Support for Vertical text alignement.
svn-id: r32995
2008-07-10 20:36:02 +00:00
Vicent Marti
e0aad7f4be Bugfix: Delayed loading of fonts
svn-id: r32993
2008-07-10 16:37:45 +00:00
Vicent Marti
ccf9368c53 Added support for Text Steps in the Vector Renderer.
svn-id: r32991
2008-07-10 15:50:44 +00:00
Vicent Marti
d385c34dd0 InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI.
svn-id: r32876
2008-07-02 18:11:41 +00:00
Vicent Marti
42036e7fd3 Expanded parser.
Added regex support for Common::String
Changed drawstep state saving.

svn-id: r32729
2008-06-18 00:15:21 +00:00
Vicent Marti
6932c836cf Added massive parser documentation.
Some parser changes.

svn-id: r32726
2008-06-16 23:38:21 +00:00
Vicent Marti
04b36a12e1 Formating conventions.
Function parameter fixes.
Parser fixes.

svn-id: r32696
2008-06-13 17:47:56 +00:00
Vicent Marti
da6e5c4660 Another redesign on the Draw Steps. This time it's for real.
svn-id: r32647
2008-06-10 19:57:38 +00:00