84 Commits

Author SHA1 Message Date
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
7b158941e7 cleanup
svn-id: r13364
2004-03-22 22:01:10 +00:00
Max Horn
7410f041ee cleanup; added a TODO to Font class
svn-id: r13308
2004-03-15 18:44:14 +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
7faa960649 remove outdated TODO
svn-id: r13058
2004-02-25 23:16:04 +00:00
Max Horn
fbd83ab27e cleanup
svn-id: r12781
2004-02-09 01:37:20 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Nicolas Bacca
bb3a9e4cb3 Undo old tweak not necessary anymore
svn-id: r12603
2004-01-26 07:35:31 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Chris Apers
392af5eab9 Fixed error using NEW_FONT_CODE with PalmOS port
svn-id: r11412
2003-11-28 15:18:14 +00:00
Chris Apers
9da541f657 This is no more needed
svn-id: r11407
2003-11-28 10:08:36 +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
Chris Apers
0be0f01226 Use GUI namespace
svn-id: r11268
2003-11-12 12:36:36 +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
79068761f2 make light gray slightly lighter, for better contrast
svn-id: r11080
2003-11-03 01:16:29 +00:00
Max Horn
7724d9a340 distinguish selected tab by size, too (not just by color)
svn-id: r11079
2003-11-03 01:14:40 +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
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
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Max Horn
7d95a33922 make use of the new get_overlay_height/get_overlay_width
svn-id: r10327
2003-09-20 00:47:56 +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
0045dfe9c6 added TODO
svn-id: r10022
2003-09-05 21:23:28 +00:00
Max Horn
898bbc85d0 double cursor animation speed (see bug #757191)
svn-id: r9895
2003-08-28 19:20:30 +00:00
Chris Apers
a47e80cb55 Updated globals access for PalmOS
svn-id: r9759
2003-08-18 10:59:21 +00:00
Max Horn
103112dd3d removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
2003-08-02 00:36:38 +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
Paweł Kołodziejski
e5e117006a back disable warnings into stdafx.h, vc6 is lack of warnings support
svn-id: r9337
2003-07-31 18:35:01 +00:00
Jamieson Christian
c5de745580 Disabled unknown pragma warning in MSVC-6.
svn-id: r9320
2003-07-31 06:47:05 +00:00
Max Horn
26d05c0190 the VC warning for unknown pragmas is now gloabally disabled, no need to work around it locally
svn-id: r9300
2003-07-30 18:40:28 +00:00
Max Horn
ece1b83ac1 fixed key autorepeat when using button hot keys
svn-id: r9126
2003-07-22 16:29:23 +00:00
Chris Apers
6d92375093 Fix for bug #775512
svn-id: r9117
2003-07-22 08:33:13 +00:00
Max Horn
9f8338503a added tilda (~) character to GUI font
svn-id: r8484
2003-06-14 21:16:22 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
898387e1ac Patch #732707: EditTextWidget: long string support
svn-id: r7359
2003-05-05 16:10:19 +00:00
Jonathan Gray
6b17d487e4 compilation fix
svn-id: r7235
2003-04-30 21:37:02 +00:00
Max Horn
59bff559d1 PalmOS changes: allow 8 bit GUI mode
svn-id: r7226
2003-04-30 13:57:57 +00:00
Jonathan Gray
361e312a6c change RBG to RGB which follows the argument order and hence makes more sense...
svn-id: r6767
2003-03-08 06:53:32 +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
James Brown
92c8e4ef1e Fix NewGui for higher resolutions (eg, CMI)
svn-id: r6216
2002-12-28 04:51:34 +00:00
Max Horn
2c01dc8536 even more -peantic fixes
svn-id: r6111
2002-12-25 00:48:13 +00:00
Max Horn
70769ee04b fixed invalid memory access
svn-id: r6110
2002-12-25 00:46:34 +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
837f33e31b changed back transparency
svn-id: r5943
2002-12-13 23:34:07 +00:00
Max Horn
e1b29ce16c playing a bit with the alpha level
svn-id: r5941
2002-12-13 23:17:47 +00:00