Commit Graph
77 Commits
Author SHA1 Message Date
Martin Kiewitz 16efee3c0d SCI: drawMenuBar, drawStatus now called directly and w/o SciGui
svn-id: r47913
2010-02-05 20:48:06 +00:00
Martin Kiewitz f3ea96d168 SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly
svn-id: r47908
2010-02-05 18:56:13 +00:00
Martin Kiewitz f8f490c565 SCI: calling most of the cursor functions directly via _gfxCursor instead of SciGui/32
svn-id: r47903
2010-02-05 14:48:51 +00:00
Martin Kiewitz 6c204cc890 SCI: renamed class Cursor to GfxCursor
svn-id: r47902
2010-02-05 13:05:26 +00:00
Martin Kiewitz a20f4ef1fc SCI: implemented reset for GfxMenu, not recreating object anymore
svn-id: r47793
2010-02-01 10:16:45 +00:00
Martin Kiewitz 845c245ff3 SCI: class menu renamed to GfxMenu - now getting called directly, also fix for loading savedgames
svn-id: r47792
2010-02-01 09:53:42 +00:00
Martin Kiewitz 19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +00:00
Martin Kiewitz 72c2d360f7 SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz 7929255cd9 SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui
svn-id: r47745
2010-01-31 12:35:15 +00:00
Max Horn 4ffec28103 SCI: Move selector stuff to new header; reorder k_argc & k_argp param of invoke_selector
svn-id: r47665
2010-01-29 11:03:54 +00:00
Martin Kiewitz 9d1dc48a6e SCI: removed oldMenuId check for BitsShow in menu (was done for keyboard interaction) - using mouse its possible to leave the menu which would now result in inverted menu topic not displayed - fixed
svn-id: r47526
2010-01-24 21:24:07 +00:00
Martin Kiewitz 8f41cc0631 SCI: removed error inside Menu::mouseFindMenuItemSelection, instead returning 0
svn-id: r47442
2010-01-22 18:20:57 +00:00
Martin Kiewitz 61acb22fc5 SCI: draw a black line under menubar when menu is active (effectively for jones, wouldnt be needed otherwise), adjust inverting menu selections accordingly
svn-id: r47441
2010-01-22 17:38:06 +00:00
Martin Kiewitz f2ddf8cdd8 SCI: call showBits() on the line between menubar and the actual menu (because reanimate clips to picPort, so that line wouldnt be shown as restored)
svn-id: r47390
2010-01-19 19:48:56 +00:00
Martin Kiewitz 7b5a55a6a2 SCI: use reanimate instead of BitsShow() when removing menus
svn-id: r47386
2010-01-19 18:11:09 +00:00
Martin Kiewitz ef5c9f62d7 SCI: implemented mouse interaction while being in keyboard mode, also ignore disabled entries/separator lines within mouse mode
svn-id: r47285
2010-01-12 21:49:43 +00:00
Martin Kiewitz 1ebe047972 SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier code, also fixed stupid oversight that made the code crash in e.g. lsl6
svn-id: r47278
2010-01-12 20:51:45 +00:00
Martin Kiewitz a62bf2528f SCI: interactive menu with mouse fully implemented, mouse within keyboard menu not yet done
svn-id: r47277
2010-01-12 20:38:57 +00:00
Martin Kiewitz 7ed2146977 SCI: changed interactive with mouse menu code (still not finished)
svn-id: r47273
2010-01-12 19:52:43 +00:00
Martin Kiewitz c1e4156587 SCI: added comment about "not behaving like sierra here", also added TODO on mouse state change
svn-id: r47270
2010-01-12 18:46:42 +00:00
Filippos Karapetis dc45c729a9 Added mouse click handling for top menus (mouse clicks on menu items of each menu are not handled yet)
svn-id: r47260
2010-01-12 00:18:40 +00:00
Martin Kiewitz c067bf053d SCI: support "Ctrl-" prefix keys in menu, makes Ctrl-keys work in lsl6
svn-id: r47164
2010-01-08 17:25:39 +00:00
Martin Kiewitz b5603ee822 SCI: support "+" and "-" for menu (fixes speed changes via those keys in all games)
svn-id: r47163
2010-01-08 16:52:45 +00:00
Martin Kiewitz 2aca490e13 SCI: remove displaying tag in menu of some games (e.g. qfg1ega)
svn-id: r47143
2010-01-07 23:32:45 +00:00
Martin Kiewitz 7d7d23ce2b SCI: making most of the variables in screen class private (some of it was needed for old gui)
svn-id: r47075
2010-01-06 13:05:14 +00:00
Filippos Karapetis e72e130048 Yet more renaming
svn-id: r47010
2010-01-05 01:47:44 +00:00
Filippos Karapetis d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00