Commit Graph

75 Commits

Author SHA1 Message Date
Eugene Sandulenko
8a5f44d797 Converted last dialogs to new scheme. Now it seems to be everything. Please,
test throghoutly.

svn-id: r21157
2006-03-09 05:18:00 +00:00
Max Horn
b34e207dbb Change CVS keywords to SVN keywords
svn-id: r20518
2006-02-11 10:08:56 +00:00
Max Horn
004b8b964a Patch #1420942 (console page down fix)
svn-id: r20342
2006-02-01 16:40:17 +00:00
Johannes Schickel
669f86705d Implements the usage of cached backgrounds in the old theme as well,
that should fix redrawing bugs with the about dialog.
Also I displayed cached background usage in the console for now, since
it produces redraw bugs with the old theme (maybe someone with knowledge how
redrawing of that dialog is handled should look at that).

svn-id: r20337
2006-01-31 20:19:47 +00:00
Johannes Schickel
5fda0cc6f1 - Fixes a bug that the debugger crashed while opening
- Changed gradient calculating
- added background saving for all dialog/widget backgrounds for now (change that later maybe)
- changed ScummDialog to use the colors of our launcher dialog

svn-id: r20276
2006-01-28 23:03: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
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