aboutsummaryrefslogtreecommitdiff
path: root/gui/console.cpp
AgeCommit message (Collapse)Author
2006-05-27Major GUI update:Eugene Sandulenko
- Implemented padding in console - Update only current line in console instead of whole screen - Fixed caret positioning in edit text widget - Improved buttons drawing, now they look more realistic - Added label spacing in popup widget - Correct shadow in popup widget - Fixed up with selected popup widget being drawn on wrong tab - Added shading to list dialog - Adjusted shading of inactive widgets - Proper coloring of browset (add game) dialog - Introduced Container widget - Used Container widget in scumm save/load dialog. Now it looks properly - Adjusted button colors even more. Now they match almost perfectly albeit with banding - Made scrollbar appear only when it is really needed svn-id: r22670
2006-05-26- Put scrollbar inside of list widgetEugene Sandulenko
- Use resize() instead of setPos() and setSize() where applicable svn-id: r22646
2006-05-26Do not create scrollbar copy on each resolution switchEugene Sandulenko
svn-id: r22645
2006-05-26Use Courier 12pt (free one) for 2x and 3x console. Looks much more useable now.Eugene Sandulenko
svn-id: r22644
2006-05-26Properly process screen change event in consoleEugene Sandulenko
svn-id: r22643
2006-03-09Converted last dialogs to new scheme. Now it seems to be everything. Please,Eugene Sandulenko
test throghoutly. svn-id: r21157
2006-02-11Change CVS keywords to SVN keywordsMax Horn
svn-id: r20518
2006-02-01Patch #1420942 (console page down fix)Max Horn
svn-id: r20342
2006-01-31Implements the usage of cached backgrounds in the old theme as well,Johannes Schickel
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-28- Fixes a bug that the debugger crashed while openingJohannes Schickel
- 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-27 - adds the new gui renderer also a new implementation for the classic guiJohannes Schickel
- 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-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-08Use font managerChris Apers
svn-id: r18964
2005-09-03Change PalmOS identChris Apers
svn-id: r18748
2005-07-14Don't count the time it takes to do the blending when timing the slideTorbjörn Andersson
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-13Cache the blended background in a surface, so that the blending only needsTorbjörn Andersson
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-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-06-21Patches needed to build for SYMBIAN32 WINS/GCC added.Lars Persson
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-05-15Draw scrollbar arrows using drawLine, instead of hard coding bitmaps; add a ↵Max Horn
param to the ListWidget constructor to choose a 'big' variant svn-id: r18115
2005-04-17Use variable width scrollbar in the console dialogMax Horn
svn-id: r17652
2005-04-17Allow usage of ScrollBarWidget with a non-standard widthMax Horn
svn-id: r17650
2005-04-17Added Dialog::wantsScaling(), to allow dialogs to turn off automatic scalingMax Horn
svn-id: r17646
2005-02-06Moved the console font from gui to graphicsMax Horn
svn-id: r16742
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-09Fix changing the scaler while GUI scaling and the console are activeMax Horn
svn-id: r16499
2005-01-06Patch #1092994 (Selfscaling GUI)Max Horn
svn-id: r16455
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-12clean up slide codeMax Horn
svn-id: r16040
2004-11-27Add slide animation effect to the consoleMax Horn
svn-id: r15903
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-08-15Use custom font for the console -> more information visible, helps when ↵Max Horn
using e.g. the 'actors' command svn-id: r14627
2004-08-15Removed some obsolete stuff; made switching to the alt font less intrusive ↵Max Horn
(you only have to recompile a single file now); foundation for future run-time font switching... svn-id: r14623
2004-05-23Applied patch #956989 ("Varous console fixes"). Fingolfin said it lookedTorbjörn Andersson
ok, and as far as I can tell it does fix bugs #941811 and #941814, just as it promised. svn-id: r13849
2004-05-05Maybe this change will cure one of erik's two console bug reports (namely ↵Max Horn
#941811). Maybe not svn-id: r13794
2004-05-05Cleaned up console code a bit - wrap around logic needs workMax Horn
svn-id: r13793
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-03-21Moved Surface/Font code into new 'graphics' moduleMax Horn
svn-id: r13357
2004-03-13Revamped the font code: now it's very easy to switch between the 'original' ↵Max Horn
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-02-09Modified version of patch #892795 (Let scumvm -v show supported libs)Max Horn
svn-id: r12780
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-11-28cleanupMax Horn
svn-id: r11416
2003-11-19new font code (currently disabled by default), which allows using ↵Max Horn
'arbitrary' BDF fonts (via convbdf) svn-id: r11350
2003-11-10added namespace GUIMax Horn
svn-id: r11255
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11223
2003-11-02turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵Max Horn
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045
2003-10-01vline -> vLine, hline-> hLine, slightly more in line with ScummVM naming ↵Jonathan Gray
style and more importantly doesn't conflict with the vline and hline Allegro functions svn-id: r10520
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-09-23console.h from bs2/ is found before gui/ on PalmOS and cause compilation errorsChris Apers
svn-id: r10386
2003-09-20make console height/width based on a float percentage of the overlay size -> ↵Max Horn
the overlay isn't so tiny anymore in COMI svn-id: r10329