Commit Graph

37 Commits

Author SHA1 Message Date
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
837f33e31b changed back transparency
svn-id: r5943
2002-12-13 23:34:07 +00:00
Max Horn
e1b29ce16c playing a bit with the alpha level
svn-id: r5941
2002-12-13 23:17:47 +00:00
Max Horn
4bf96d1c8b changed OSystem to allow RBG<->16bit color conversion to be done in the backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes)
svn-id: r5931
2002-12-13 16:15:58 +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
bc883a5f1a fixed dialog redrawing (when you switched in the save/load dialog between save and load mode, it would loose the transparency)
svn-id: r5512
2002-11-10 19:39:32 +00:00
Max Horn
56a41a26c0 make buttons 2 pixel wider (fixes 'Options' button); don't use non-portable hack to swap ints
svn-id: r5427
2002-11-05 22:34: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
d0d709627c clip text drawing
svn-id: r5416
2002-11-05 13:33:34 +00:00
Lionel Ulmer
ab3aecddd5 Fix warning found by Valgrind.
svn-id: r5314
2002-10-26 09:31:14 +00:00
Nicolas Bacca
c585fe7a37 Do not repeat keys for WinCE (problems with GAPI and virtual keyboard)
svn-id: r5251
2002-10-22 22:35:07 +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
b1766c28b2 patch #620627: mouse wheel support for NewGui
svn-id: r5169
2002-10-16 20:32:12 +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
45877ea2dc changed the crosshair curso to match the Scumm one (I hope?)
svn-id: r5028
2002-09-28 15:58:25 +00:00
Max Horn
e674b9e2e2 enabled demo dialog shown during startup; some fixes/cleanup in NewGUI
svn-id: r5023
2002-09-27 13:06:58 +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
Matt Hargett
8390b0cc53 2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate
    PDBs on all builds.

  * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp,
    dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp:
    Fix warnings where possible. One pragma added to eliminate
    warning of unknown pragmas.

  * string.cpp: If unknown escape sequence, print warning.

svn-id: r4998
2002-09-22 03:53:53 +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
85aa2cd8e8 found out that guifont actually contains a char width table -> make use of it now
svn-id: r4976
2002-09-19 22:37:00 +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
Paweł Kołodziejski
bc81fc7aa1 added support for nonenglish the dig - for gui this time. now is completed :)
svn-id: r4960
2002-09-17 16:12:16 +00:00
Max Horn
27bfe32f16 decreased double click interval
svn-id: r4905
2002-09-08 12:56:44 +00:00
Paweł Kołodziejski
97ef7c2a34 more resolution fixes
svn-id: r4895
2002-09-01 16:37:08 +00:00
Max Horn
41c2d6fba3 sound system cleanup
svn-id: r4867
2002-08-29 23:45:15 +00:00
Max Horn
ec47d8c80c fixed some endian issues in the new SMUSH decoder; cleanup
svn-id: r4842
2002-08-25 10:50:18 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00