15 Commits

Author SHA1 Message Date
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
2768191288 workaround for fullscreen toggle on OS X
svn-id: r5879
2002-12-08 14:08:51 +00:00
Max Horn
d679af3ec5 fixed bug #621244 (GUI disappeared when screen mode was changed
svn-id: r5697
2002-11-23 00:13:52 +00:00
Max Horn
aae641c6cf properly initialize everything -> works w/o our custom new/delete now!
svn-id: r5531
2002-11-13 14:38:49 +00:00
Max Horn
1c999792f9 fixed stupid bug by me, again (see also 9th of May)
svn-id: r5225
2002-10-21 22:25:52 +00:00
Max Horn
e8f3f17067 renamed get_320x200_image() to get_screen_image(); cleanup
svn-id: r5145
2002-10-14 11:02:27 +00:00
Max Horn
977aea241e fixed buglet during shake mode
svn-id: r5040
2002-09-29 18:19:57 +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
29f8c3af95 made init_size in the SDL backend reentrant
svn-id: r5022
2002-09-27 13:05:54 +00:00
Max Horn
536692556b fixed cursor trail
svn-id: r5007
2002-09-22 16:12:37 +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
523d8e64c0 rewrote config class; cleanup; code restructuring
svn-id: r4903
2002-09-08 01:08:12 +00:00
Max Horn
f3b4f38892 SDL_gl and normal SDL backend now share a common base class
svn-id: r4813
2002-08-24 10:41:32 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00