Eugene Sandulenko
819033b649
o Move built-in evaluator constants to AssocArray to speed it up
...
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file
svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
c9970b78b5
Rearrange launcher.
...
Logo is still shown weirdly.
svn-id: r21268
2006-03-14 02:19:38 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Eugene Sandulenko
1eff73cb41
GUI widget positions:
...
o Add 'true' and 'false' constants
o add .visible widget property
o allow dots to be part of section and key names in configs
svn-id: r21123
2006-03-07 13:41:36 +00:00
Eugene Sandulenko
018c93b14a
More work on customizable GUI.
...
o Implemented special alias 'prev'
o Added new calling scheme to several widgets
o Partially converted launcher dialog to new scheme
o Converted couple widgets of chooser dialog
svn-id: r21118
2006-03-07 05:39:52 +00:00
Max Horn
b34e207dbb
Change CVS keywords to SVN keywords
...
svn-id: r20518
2006-02-11 10:08:56 +00:00
Johannes Schickel
129e7846b5
Implemented shadow drawing, also extended the theme config again
...
(new color entries for highlighted buttons and for other widgets).
Also added a 'highlight' check to the CheckBox widget.
Changed the PopUpDialog to use a shadow around itself.
svn-id: r20341
2006-02-01 15:11:39 +00:00
Johannes Schickel
5051b080a2
- adds the new gui renderer also a new implementation for the classic gui
...
- adds a ImageMan and ImageDec class for loading and managing image files
- adds a loader for zip files which is used by the new theme and the image manager
- changes the widgets to use the new gui code
- changes the scumm dialogs to use the new gui code
- fixes a #include problem in the sky debugger with the new gui code
To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.
Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.
svn-id: r20227
2006-01-27 15:43:23 +00:00
Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
36e8989a6e
Cleanup
...
svn-id: r18318
2005-06-03 11:15:03 +00:00
Torbjörn Andersson
35dda2b636
Added big slider widget. There is nothing in the widget itself that's
...
dependent on size, so the two different sizes are handled through a new
addSlider() function.
Figuring out why the big widget won't let you set volume to 0 is left as an
exercise for the reader.
svn-id: r18170
2005-05-18 15:58:39 +00:00
Max Horn
81287495e9
Remove duplicate _ws member
...
svn-id: r18164
2005-05-18 10:30:52 +00:00
Max Horn
4c9761592a
Remove the label code from SliderWidget (simplifies it a lot); instead use a StaticTextWidget for the label
...
svn-id: r18163
2005-05-18 10:24:02 +00:00
Torbjörn Andersson
16a1f8814b
Big version of the checkbox widget.
...
svn-id: r18154
2005-05-18 07:23:21 +00:00
Max Horn
79241d323f
Start work on support for 'big' widgets
...
svn-id: r18060
2005-05-11 19:30:30 +00:00
Max Horn
3279513b64
A simple widget which renders any 16 bit graphics surface given to it (part of patch #1163026 )
...
svn-id: r17977
2005-05-08 22:38:29 +00:00
Max Horn
caf142657d
setLabel should probably cause an automatic redraw...
...
svn-id: r17638
2005-04-16 17:53:18 +00:00
Torbjörn Andersson
d0615eb956
Removed unnecessary semi-colons.
...
svn-id: r17418
2005-04-06 15:21:32 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
a9789acfc6
Moved Surface/Font code into new 'graphics' module
...
svn-id: r13357
2004-03-21 21:20:25 +00:00
Max Horn
a0bde7a732
Revamped the font code: now it's very easy to switch between the 'original' SCUMM font and any new font... or to have multiple different fonts (like, one for 320x240 and and one for 640x480); furthermore, font rendering can now be done w/o using NewGui
...
svn-id: r13243
2004-03-13 13:03:25 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
22c22d1e81
added namespace GUI
...
svn-id: r11255
2003-11-10 23:40:48 +00:00
Paweł Kołodziejski
14b7d027a2
cleanup whitespaces
...
svn-id: r11223
2003-11-08 23:22:16 +00:00
Max Horn
767fc87148
fixed memory leak in TabWidget
...
svn-id: r11191
2003-11-07 14:50:32 +00:00
Max Horn
8a8743a042
removed PushButtonWidget
...
svn-id: r11120
2003-11-03 23:33:40 +00:00
Max Horn
9f3edb11c5
added a builtin label to PopUpWidget
...
svn-id: r11076
2003-11-03 01:00:26 +00:00
Max Horn
cfd658cd29
added built-in label for SliderWidget
...
svn-id: r11075
2003-11-03 00:43:29 +00:00
Max Horn
56bc737086
Widget::handleCommand delegates unhandled commands to the boss
...
svn-id: r11071
2003-11-03 00:17:12 +00:00
Max Horn
1d9ac7b91b
more changes to allow widget nesting to fully work
...
svn-id: r11068
2003-11-02 22:31:20 +00:00
Max Horn
ac4b9ccdb8
refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor)
...
svn-id: r11061
2003-11-02 18:57:20 +00:00
Max Horn
f0d2a1b91c
make coordinate calculation based on position of parent -> needed for nested widgets
...
svn-id: r11058
2003-11-02 17:41:01 +00:00
Max Horn
e9ae86bb76
introduced common base class GuiObject for Dialog/Widget -> step towards making it possible to nest widgets (needed for TabWidget)
...
svn-id: r11052
2003-11-02 14:50:53 +00:00
Max Horn
b27a871f87
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
...
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
72699c3d2b
fixed Widget::draw for bordered items to adjust _h; removed unused label param from SliderWidget constructor; cleanup
...
svn-id: r11041
2003-11-01 22:21:18 +00:00
Max Horn
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
0df319e952
#include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
...
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
8c8f22f65a
whitespaces
...
svn-id: r9125
2003-07-22 16:26:12 +00:00
Max Horn
68f67c98e6
incresed button width a little more for spanish games
...
svn-id: r6988
2003-04-12 17:19:28 +00:00
Max Horn
ddb1173bf8
grow default buttons size & browser dialog to accomodate for spanish games
...
svn-id: r6871
2003-03-26 22:41:12 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
1ff9749b87
and more cleanup .... Last
...
svn-id: r6721
2003-03-06 19:52:54 +00:00
Max Horn
563f99b1fe
more -pedantic warnings fixed
...
svn-id: r6109
2002-12-25 00:38:53 +00:00
Max Horn
d0dff9d727
added TODO comment
...
svn-id: r5938
2002-12-13 21:43:46 +00:00
Max Horn
17cf386e88
changed the key input system in NewGUI: pass both the keycode and the ascii value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225 )
...
svn-id: r5691
2002-11-22 14:02:54 +00:00
Max Horn
9ff12dbc01
Implemented EditTextWidget; fixed Add Game/Remove Game in launcher; make use of EditTextWidget in EditGameDialog; various other tweaks
...
svn-id: r5665
2002-11-21 15:20:52 +00:00
Max Horn
56a41a26c0
make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable hack to swap ints
...
svn-id: r5427
2002-11-05 22:34:50 +00:00