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
63984c3a23
The alternative form of drawString() is no longer needed.
...
svn-id: r18326
2005-06-03 13:09:24 +00:00
Torbjörn Andersson
bf89c8a4b9
The GUI has reached the point where I think it's safe to begin removing the
...
old auto-scaling hack. Removed wantsScaling(), USE_AUTO_SCALING,
_scaleFactor and _scaleEnable.
Also removed drawBitmap() since we no longer use bitmaps for widget
decorations.
svn-id: r18310
2005-06-02 12:29:01 +00:00
Torbjörn Andersson
801db4a515
Added big editable text widget, and removed some cruft. I think this means
...
that all our widgets are able to scale themselves now, but I could be
mistaken.
svn-id: r18192
2005-05-20 15:03:26 +00:00
Torbjörn Andersson
8e7c4ffa37
Quick fix to make button texts etc. draw at the correct position. (They
...
were being drawn at unscaled coordinates.) I don't know if this is the
correct fix, but the change is small and easy to revert, if need be.
svn-id: r18072
2005-05-12 15:46:03 +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
919af98314
Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scaling
...
svn-id: r17646
2005-04-17 11:20:59 +00:00
Max Horn
7aebedcc14
Patch #1183808 (GUI: Less CPU-intensive credits scroll), with some tweaks by me
...
svn-id: r17620
2005-04-16 11:40:15 +00:00
Max Horn
cffd917165
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
...
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
858c6c4d5b
Switching GUI to an alternate font; using a second, bigger, font for 640x480 games like COMI. Note: we can always easily switch back to the SCUMM font or any other font, if we want to
...
svn-id: r16467
2005-01-06 22:48:42 +00:00
Max Horn
c6e0d31e76
Added a font manager (work in progress)
...
svn-id: r16460
2005-01-06 21:15:52 +00:00
Max Horn
4fae197c67
Patch #1092994 (Selfscaling GUI)
...
svn-id: r16455
2005-01-06 19:09:34 +00:00
Max Horn
5d88c39549
Modify the singleton code once more to help overcome an issue with MSVC 7 (see also patch #1095133 )
...
svn-id: r16454
2005-01-06 18:38:34 +00:00
Max Horn
74bf578bda
Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too
...
svn-id: r16404
2005-01-01 19:19:06 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
5ad29fd7e0
Make use of the new graphic primitives
...
svn-id: r15886
2004-11-25 23:35:02 +00:00
Max Horn
0f142572f7
Allow char drawing with a custom font
...
svn-id: r14624
2004-08-15 13:49:13 +00:00
Max Horn
e27f2c5592
Removed some obsolete stuff; made switching to the alt font less intrusive (you only have to recompile a single file now); foundation for future run-time font switching...
...
svn-id: r14623
2004-08-15 13:15:55 +00:00
Max Horn
5d0f0ea0c6
Added generic variable size stack class - COMPLETELY UNTESTED. Really should add some unit tests for this...
...
svn-id: r13776
2004-05-05 01:19:42 +00:00
Max Horn
178bf539b4
Make use of Stack template
...
svn-id: r13430
2004-03-29 22:29:30 +00:00
Max Horn
7b158941e7
cleanup
...
svn-id: r13364
2004-03-22 22:01:10 +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
4aa240e0e5
use 'Surface' in NewGui
...
svn-id: r13244
2004-03-13 13:22:14 +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
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
e04d8576cb
explicitly specify namespace in g_gui helper macro
...
svn-id: r11450
2003-12-01 21:16:18 +00:00
Max Horn
b8c0fbf06e
new font code (currently disabled by default), which allows using 'arbitrary' BDF fonts (via convbdf)
...
svn-id: r11350
2003-11-19 23:46:39 +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
ee253d4c90
modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
...
svn-id: r11136
2003-11-04 22:00:36 +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
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
0e645f88ae
renamed namespace ScummVM to Common
...
svn-id: r10544
2003-10-02 17:43:02 +00:00
Jonathan Gray
745497dea4
vline -> vLine, hline-> hLine, slightly more in line with ScummVM naming style and more importantly doesn't conflict with the vline and hline Allegro functions
...
svn-id: r10520
2003-10-01 15:00:26 +00:00
Max Horn
6ac86b9760
added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
...
svn-id: r10047
2003-09-06 20:21:54 +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
898387e1ac
Patch #732707 : EditTextWidget: long string support
...
svn-id: r7359
2003-05-05 16:10:19 +00:00
Max Horn
59bff559d1
PalmOS changes: allow 8 bit GUI mode
...
svn-id: r7226
2003-04-30 13:57:57 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Max Horn
563f99b1fe
more -pedantic warnings fixed
...
svn-id: r6109
2002-12-25 00:38:53 +00:00
Max Horn
9fee7b2326
make alpha blend level adjustable, and fixed an overflow bug
...
svn-id: r5958
2002-12-14 16:07:26 +00:00
Max Horn
2af8f20344
added a dummy global options dialog; PopUpWidget tweaks
...
svn-id: r5919
2002-12-12 23:22:48 +00:00
Max Horn
57d8bb978f
added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
...
svn-id: r5914
2002-12-12 12:07: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
dec234c6a5
factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
...
svn-id: r5658
2002-11-21 12:48:50 +00:00
Max Horn
5c0b145315
fix for bug #633087 (umlauts in GUI)
...
svn-id: r5426
2002-11-05 21:48:40 +00:00
Max Horn
7198181b09
reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
...
svn-id: r5189
2002-10-19 01:22:41 +00:00
Max Horn
d5bcb63f82
dialogs now can be run 'modal'
...
svn-id: r5168
2002-10-16 17:37:30 +00:00