Commit Graph

61 Commits

Author SHA1 Message Date
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