Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a
Patches needed to build for SYMBIAN32 WINS/GCC added.
...
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).
svn-id: r18430
2005-06-21 22:08:21 +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
Max Horn
f2646d3e53
Turn off auto scaling for now
...
svn-id: r18114
2005-05-15 17:59:27 +00:00
Max Horn
2425e657a2
Add a switch which allows turning off the automatic GUI scaling easily
...
svn-id: r18112
2005-05-15 17:08:44 +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
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn
25d56525c8
Replace OSystem::hasAlpha with a feature flag
...
svn-id: r17695
2005-04-19 20:35:48 +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
Marcus Comstedt
d2214dca99
Use alpha channel if available.
...
svn-id: r17354
2005-04-03 19:41:20 +00:00
Eugene Sandulenko
a9c2e6ecbf
MM NES fixes:
...
o Fixed crash when in-game GUI was displayed
o Support for save/load
o Savegame version bumped
svn-id: r17232
2005-03-25 22:11:08 +00:00
Max Horn
1fde0d90f4
Fix popup widget in scaled GUI mode
...
svn-id: r17099
2005-03-12 15:29:16 +00:00
Max Horn
bf984cb7f0
Fix crash that occured when disabling the GUI scaling code
...
svn-id: r17098
2005-03-12 15:04:49 +00:00
Eugene Sandulenko
7bb53f3bf1
Patch #1013937 "OSystem layer with bigger resolution". Now you will always
...
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.
Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.
svn-id: r17055
2005-03-09 23:07:32 +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
6563990ad2
Fix changing the scaler while GUI scaling and the console are active
...
svn-id: r16499
2005-01-09 15:40:34 +00:00
Max Horn
fa3d618fae
Distinguish left and right mouse button
...
svn-id: r16468
2005-01-06 22:51:25 +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
87afdf9a64
oops again
...
svn-id: r16462
2005-01-06 21:46:21 +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
f52be9df68
Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
...
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
b15d92e470
Fix running ScummVM in plugin-mode
...
svn-id: r16360
2004-12-28 20:29:42 +00:00
Max Horn
f09293b22c
Clean up OSystem::Event
...
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
573cac9580
do clipping
...
svn-id: r15902
2004-11-27 00:55:48 +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
ea9d53be79
cleanup
...
svn-id: r15597
2004-10-17 19:40:34 +00:00
Max Horn
ce8c99bf62
Rename remaining OSystem methods to match our coding guidelines
...
svn-id: r15332
2004-09-28 20:19:37 +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
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