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
Chris Apers
3bd243e043
Use font manager
...
svn-id: r18964
2005-10-08 19:40:47 +00:00
Chris Apers
be9d8951eb
Change PalmOS ident
...
svn-id: r18748
2005-09-03 16:24:58 +00:00
Torbjörn Andersson
19e118324d
Don't count the time it takes to do the blending when timing the slide
...
action of the console. (I thought I could do this simpler by doing the
blending in open(), but for some reason I couldn't get that to work, and I
would still have had to blend in drawDialog() anyway, so maybe this is for
the best...)
svn-id: r18541
2005-07-14 06:58:06 +00:00
Torbjörn Andersson
983643bc5a
Cache the blended background in a surface, so that the blending only needs
...
to be made once, instead of whenever the console is redrawn. (This is the
same trick as the About dialog uses.)
It should speed up the drawing quite a bit, though it's not particularly
noticeable on the computer I'm using at the moment, so I can't say for
sure.
svn-id: r18540
2005-07-13 14:38:26 +00:00
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
Max Horn
841c600fef
Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a param to the ListWidget constructor to choose a 'big' variant
...
svn-id: r18115
2005-05-15 18:02:10 +00:00
Max Horn
2141a2648c
Use variable width scrollbar in the console dialog
...
svn-id: r17652
2005-04-17 12:03:03 +00:00
Max Horn
a9f700b0a3
Allow usage of ScrollBarWidget with a non-standard width
...
svn-id: r17650
2005-04-17 11:47:44 +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
028cc42f2b
Moved the console font from gui to graphics
...
svn-id: r16742
2005-02-06 18:12:29 +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
4fae197c67
Patch #1092994 (Selfscaling GUI)
...
svn-id: r16455
2005-01-06 19:09:34 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
74e789ce99
clean up slide code
...
svn-id: r16040
2004-12-12 21:23:21 +00:00
Max Horn
096f2b6110
Add slide animation effect to the console
...
svn-id: r15903
2004-11-27 01:25:25 +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
cb052da949
Use custom font for the console -> more information visible, helps when using e.g. the 'actors' command
...
svn-id: r14627
2004-08-15 14:39:35 +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
Torbjörn Andersson
8b5f08efb6
Applied patch #956989 ("Varous console fixes"). Fingolfin said it looked
...
ok, and as far as I can tell it does fix bugs #941811 and #941814 , just as
it promised.
svn-id: r13849
2004-05-23 14:06:52 +00:00
Max Horn
83cd000207
Maybe this change will cure one of erik's two console bug reports (namely #941811 ). Maybe not
...
svn-id: r13794
2004-05-05 23:08:30 +00:00
Max Horn
71df4c5e72
Cleaned up console code a bit - wrap around logic needs work
...
svn-id: r13793
2004-05-05 23:06:44 +00:00
Max Horn
14378cb56e
Renamed more OSystem methods
...
svn-id: r13410
2004-03-28 16:30:50 +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
1141ff1ac2
Modified version of patch #892795 (Let scumvm -v show supported libs)
...
svn-id: r12780
2004-02-09 01:27:27 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
3944eb4494
cleanup
...
svn-id: r11416
2003-11-28 22:08:52 +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
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
Chris Apers
ec15369d66
console.h from bs2/ is found before gui/ on PalmOS and cause compilation errors
...
svn-id: r10386
2003-09-23 18:07:50 +00:00
Max Horn
21ce55bc9f
make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
...
svn-id: r10329
2003-09-20 01:08:48 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
4240dcbe34
removed outdated comments
...
svn-id: r10015
2003-09-05 20:18:32 +00:00
Oliver Kiehl
2a89cd9c9d
fix killLastWord
...
svn-id: r9896
2003-08-28 19:46:52 +00:00
Max Horn
b05e7de7bb
replaced SCUMMVM_VERSION/SCUMMVM_CVS by gScummVMVersion/gScummVMBuildDate/gScummVMFullVersion; made engine.o depend on all other .o files, so that the build date in it is always up-to-date
...
svn-id: r9032
2003-07-15 02:16:33 +00:00
Max Horn
975d325a92
Patch #731613 : debugger tab-completion (thanks, Willem!)
...
svn-id: r7293
2003-05-03 21:49:19 +00:00
Max Horn
e61f0316dc
Patch #731615 : console: KillLastWord broken
...
svn-id: r7270
2003-05-03 00:08:38 +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
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
27f896deca
fix Ctrl-D; work around VC++ quirks properly
...
svn-id: r6003
2002-12-16 22:25:54 +00:00
Oliver Kiehl
e3bfb6f1fe
small fix
...
svn-id: r6002
2002-12-16 22:15:38 +00:00
Paweł Kołodziejski
fa4f785f71
fixed compilation under MSVC
...
svn-id: r5998
2002-12-16 19:53:41 +00:00
James Brown
e989809665
New debugger core. Doesn't really have anything implemented yet, but is far more expandable and userfriendly than our previous.
...
Enable experimental console debugger by default, as I havn't written the text console code yet :)
svn-id: r5990
2002-12-16 06:21:08 +00:00
James Brown
4c831704cd
Fix segfault
...
svn-id: r5988
2002-12-16 03:21:38 +00:00
Oliver Kiehl
9648ea6f44
console now "remembers" the text which the user had typed before using the history
...
svn-id: r5977
2002-12-15 12:56:13 +00:00
Max Horn
1d40232efb
added a history (based on code by olki)
...
svn-id: r5976
2002-12-15 02:24:32 +00:00
Max Horn
f7b692dfbb
added input callback hook to console
...
svn-id: r5973
2002-12-15 00:36:34 +00:00
Oliver Kiehl
d58ec10ea2
oops
...
svn-id: r5972
2002-12-14 22:37:42 +00:00
Max Horn
e91eda059e
use killChar for backspace as well
...
svn-id: r5971
2002-12-14 22:31:43 +00:00
Oliver Kiehl
02d66e1b1d
fixed ctrl-w and added ctrl-d and <delete>
...
svn-id: r5970
2002-12-14 22:25:09 +00:00
Max Horn
2f30b76ceb
retrieve the input and (for now) print it back to the console
...
svn-id: r5969
2002-12-14 22:18:00 +00:00
Max Horn
bb210766ce
scroll to caret if user types
...
svn-id: r5968
2002-12-14 22:10:37 +00:00
Max Horn
09e8c84ca3
improved caret
...
svn-id: r5966
2002-12-14 21:57:30 +00:00
Max Horn
3af3741562
improved line editing; reworked various internal details
...
svn-id: r5965
2002-12-14 21:37:40 +00:00
Max Horn
534b4c4be4
added a scrollbar to console
...
svn-id: r5964
2002-12-14 20:04:46 +00:00
Max Horn
c5294a3528
added a simple prompt; added an edit caret; some other cleanup
...
svn-id: r5963
2002-12-14 18:57:15 +00:00
Max Horn
531f758c66
changed console look&feel a little bit
...
svn-id: r5959
2002-12-14 16:08:37 +00:00
Max Horn
d30e577416
some more console code
...
svn-id: r5955
2002-12-14 15:45:45 +00:00
Max Horn
b9b8045e1f
moved the console code to gui/console.cpp; make it actually printout something. Note that this is WORK IN PROGRESS! I know it is incomplete, no need to tell me that
...
svn-id: r5952
2002-12-14 14:31:44 +00:00