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
|
5d0f0ea0c6
|
Added generic variable size stack class - COMPLETELY UNTESTED. Really should add some unit tests for this...
svn-id: r13776
|
2004-05-05 01:19:42 +00:00 |
|
Max Horn
|
178bf539b4
|
Make use of Stack template
svn-id: r13430
|
2004-03-29 22:29:30 +00:00 |
|
Max Horn
|
7b158941e7
|
cleanup
svn-id: r13364
|
2004-03-22 22:01:10 +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
|
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
|
033ff78ae9
|
updated copyright notice
svn-id: r12176
|
2004-01-06 12:45:34 +00:00 |
|
Max Horn
|
e04d8576cb
|
explicitly specify namespace in g_gui helper macro
svn-id: r11450
|
2003-12-01 21:16:18 +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
|
ee253d4c90
|
modified NewGui::drawString to shorten strings which don't fit using ellipsis (disabled for the EditTextWidget for now)
svn-id: r11136
|
2003-11-04 22:00:36 +00:00 |
|
Max Horn
|
ac4b9ccdb8
|
refactored code in Dialog::findWidget to Widget::findWidgetInChain; changed NewGui::box() to take colors as param (instead of hard coding _color and _shadowColor)
svn-id: r11061
|
2003-11-02 18:57:20 +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 |
|
Max Horn
|
0e645f88ae
|
renamed namespace ScummVM to Common
svn-id: r10544
|
2003-10-02 17:43:02 +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 |
|
Max Horn
|
6ac86b9760
|
added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
svn-id: r10047
|
2003-09-06 20:21:54 +00:00 |
|
Max Horn
|
0df319e952
|
#include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
|
2003-08-01 12:21:04 +00:00 |
|
Max Horn
|
898387e1ac
|
Patch #732707: EditTextWidget: long string support
svn-id: r7359
|
2003-05-05 16:10:19 +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 |
|
Max Horn
|
563f99b1fe
|
more -pedantic warnings fixed
svn-id: r6109
|
2002-12-25 00:38:53 +00:00 |
|
Max Horn
|
9fee7b2326
|
make alpha blend level adjustable, and fixed an overflow bug
svn-id: r5958
|
2002-12-14 16:07:26 +00:00 |
|
Max Horn
|
2af8f20344
|
added a dummy global options dialog; PopUpWidget tweaks
svn-id: r5919
|
2002-12-12 23:22:48 +00:00 |
|
Max Horn
|
57d8bb978f
|
added PopUpWidget; hacked it into the edit game dialog just to show how to use it; note: this is NOT finished by any means, the look will change, the code will change, this is just an early preview :-)
svn-id: r5914
|
2002-12-12 12:07:46 +00:00 |
|
Max Horn
|
17cf386e88
|
changed the key input system in NewGUI: pass both the keycode and the ascii value to handleKeyUp/Down. Also, use this to fix the key repeat code (see bug #626225)
svn-id: r5691
|
2002-11-22 14:02:54 +00:00 |
|
Max Horn
|
dec234c6a5
|
factored out ChooserDialog into it's own header/source file, and made the title adjustable; added a dummy file for EditFieldWidget (not implemented yet); some other cleanup
svn-id: r5658
|
2002-11-21 12:48:50 +00:00 |
|
Max Horn
|
5c0b145315
|
fix for bug #633087 (umlauts in GUI)
svn-id: r5426
|
2002-11-05 21:48:40 +00:00 |
|
Max Horn
|
7198181b09
|
reworked the way the save/load dialog works. yup, still not perfect, but we're hopefully getting closer. Feedback welcome
svn-id: r5189
|
2002-10-19 01:22:41 +00:00 |
|
Max Horn
|
d5bcb63f82
|
dialogs now can be run 'modal'
svn-id: r5168
|
2002-10-16 17:37:30 +00:00 |
|
Max Horn
|
8f7e3119bf
|
fixed key repeat in NewGui; made the launcher game list non-editable
svn-id: r5052
|
2002-09-30 12:56:59 +00:00 |
|
Max Horn
|
9dc5fe2a1d
|
cleaned up various variable names in the SDL backend & NewGui; also fixed a small buglet that could cause garbage to appear behind the mouse cursor when closing NewGui while inside a game
svn-id: r5029
|
2002-09-28 16:19:28 +00:00 |
|
Max Horn
|
58e5e0069f
|
added simple message dialog
svn-id: r5020
|
2002-09-26 11:44:02 +00:00 |
|
Max Horn
|
1bfaa3c02f
|
removed even the last traces of Scumm dependencies from NewGUI. Yes, you heard right NewGUI is now 100% Scumm free and we can go for the launcher/message dialogs!
svn-id: r5016
|
2002-09-24 23:45:25 +00:00 |
|
Max Horn
|
6bb2e335c7
|
NewGUI now has its own event loop; this may cause some regression
svn-id: r5001
|
2002-09-22 04:03:45 +00:00 |
|
Max Horn
|
f838473c25
|
NewGui now has its own mouse cursor code -> again one less dependency on Scumm; moved makeCursorColorTransparent to gfx.cpp where it belongs
svn-id: r4977
|
2002-09-19 23:06:54 +00:00 |
|
Max Horn
|
9939746022
|
removed even more scumm dependencies from NewGUI; fixed some redraw issues (this might help the inventory-display issue in The Dig, and definitly fixes the 'vanishing volcanoe' in the FOA extro)
svn-id: r4974
|
2002-09-19 21:45:56 +00:00 |
|
Max Horn
|
859ef578dc
|
moved the Scumm specific dialogs to scumm/dialogs.*
svn-id: r4973
|
2002-09-19 17:44:41 +00:00 |
|
Max Horn
|
f644bea112
|
improved the text display in a newgui a bit: make the font proportiona; implemented text alignment (left/right/center); alpha blending now not anymore at 50% but at 66%; moved some #defines to util.h
svn-id: r4972
|
2002-09-19 17:03:24 +00:00 |
|
Max Horn
|
bb57506d48
|
Added overlay to OSystem interface; implemented overlay in SDL backend (all other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X
svn-id: r4971
|
2002-09-19 16:06:51 +00:00 |
|
Max Horn
|
27bfe32f16
|
decreased double click interval
svn-id: r4905
|
2002-09-08 12:56:44 +00:00 |
|
Max Horn
|
523d8e64c0
|
rewrote config class; cleanup; code restructuring
svn-id: r4903
|
2002-09-08 01:08:12 +00:00 |
|
Max Horn
|
ce46866403
|
Initial revision
svn-id: r4785
|
2002-08-21 16:07:07 +00:00 |
|