Alexander Tkachev
18a3f5c125
WAGE: Fix crash in Brownie's Dream
...
I guess it would crash everywhere else as well, if console window would
be placed the same way. The problem is that console window goes off
screen a little in that game, but copyRectToScreen arguments are not
adjusted to stay within screen area.
This commit adds some checks and adjusts these arguments.
2016-08-05 14:44:31 +06:00
Alexander Tkachev
8fcc919b56
WAGE: Fix cursor
...
It's now being clipped within window borders.
2016-08-05 14:40:53 +06:00
Borja Lorente
a0bea8567b
WAGE: Revert indentation
2016-08-02 08:33:50 +02:00
Borja Lorente
2b586e7c59
WAGE: Fallback to built-in borders
2016-07-31 14:47:22 +02:00
Borja Lorente
fafd209d04
WAGE: Remove custom borders
2016-07-31 14:45:37 +02:00
Borja Lorente
638e8e99c8
WAGE: Change GUI Scene to load BMP borders
2016-07-31 14:45:37 +02:00
Borja Lorente
1bfb1a561c
WAGE: Implement active/inactive borders
2016-07-31 14:45:36 +02:00
Borja Lorente
d49d573edc
WAGE: Fix border loading
2016-07-31 14:05:15 +02:00
Borja Lorente
4a16f5fc39
WAGE: Begin adding borders to the windows
2016-07-31 14:05:15 +02:00
Borja Lorente
3d950ad125
WAGE: Remove superfluous comment
2016-07-31 14:05:15 +02:00
Borja Lorente
98d0838df3
WAGE: Add basic border loading code
2016-07-31 14:05:15 +02:00
Borja Lorente
5bb5bb64f0
WAGE: Fix style issues
2016-07-31 14:05:14 +02:00
Borja Lorente
b9ca6836bd
WAGE: Adapt to namespace change
2016-07-31 14:05:14 +02:00
Borja Lorente
9ce6fbd0d7
GRAPHICS: Move MacMenu constants
2016-07-31 14:05:14 +02:00
Borja Lorente
941617fc38
GRAPHICS: Create wrapper namespace for MacWindow constants
2016-07-31 14:05:14 +02:00
Borja Lorente
ffbc6b0c78
GRAPHICS: Create wrapper namespace for MacMenu constants
2016-07-31 14:05:14 +02:00
Borja Lorente
68b2d44a0f
WAGE: Extract MacMenu
2016-07-31 14:04:48 +02:00
Borja Lorente
8a2aeeecc9
WAGE: Adapt to MacMenu namespace change
2016-07-30 10:06:14 +02:00
Borja Lorente
744034bd98
WAGE: Extract MacWindow
2016-07-30 10:06:09 +02:00
Borja Lorente
592a6defb7
WAGE: Change namespace of MacWindow
2016-07-30 09:42:49 +02:00
Borja Lorente
3d4087b9d0
WAGE: Extract MacWindowManager
2016-07-30 09:41:54 +02:00
Alexander Tkachev
f50d9feee1
WAGE: Make menu items show Save/Load dialog
...
Default ScummVM Save/Load dialog shows up on click.
2016-07-29 17:48:23 +06:00
Eugene Sandulenko
a2e4157114
JANITORIAL: Fix indentation
2016-07-20 23:11:08 +03:00
Eugene Sandulenko
8b41a50766
WAGE: Compose MacMenu instead of screen copying.
...
This completes making Mac* classes engine-agnostic.
2016-04-28 16:45:07 +02:00
Eugene Sandulenko
72b8f3a1c7
WAGE: Implemented menu commands as callback
2016-04-28 15:25:14 +02:00
Eugene Sandulenko
3027433b66
WAGE: Moved game-specific menu creation to gui.cpp
2016-04-28 13:43:29 +02:00
Eugene Sandulenko
6c610e7a18
WAGE: Move rest of console-related functionality to gui-console.cpp
2016-04-28 12:51:30 +02:00
Eugene Sandulenko
b5335ed9d4
WAGE: Moved cursor management to WM
2016-04-28 12:09:08 +02:00
Eugene Sandulenko
6998182b1f
WAGE: Moved pattern and palette to WM
2016-04-28 11:28:55 +02:00
Eugene Sandulenko
367946f83b
WAGE: Renamed menu.* to macmenu.*
2016-04-28 11:19:02 +02:00
Eugene Sandulenko
c31e59b10c
WAGE: Moved font loading to WM. wage.dat is now classicmacfonts.dat
2016-04-28 11:14:13 +02:00
Eugene Sandulenko
bbd107825f
WAGE: Decoupled Window class too
2016-04-28 10:22:13 +02:00
Eugene Sandulenko
137d6b9727
WAGE: More Menu class decoupling from the engine
2016-04-28 09:59:35 +02:00
Eugene Sandulenko
d26c12c497
WAGE: Reuse WM _screen for Menu
2016-04-26 19:35:27 +02:00
Eugene Sandulenko
fab749cbe6
WAGE: More abstraction to menu rendering
2016-04-26 11:17:56 +02:00
Eugene Sandulenko
587f03fab9
WAGE: Moved menu shortcut processing to Menu class
2016-04-26 11:05:39 +02:00
Eugene Sandulenko
98061bdc4c
WAGE: Move menu event processing to WindowManager
2016-04-25 19:54:26 +02:00
Eugene Sandulenko
df6ee16631
WAGE: Moved menu rendering to WindowManager
2016-04-25 19:47:08 +02:00
Eugene Sandulenko
3a9159c5a3
WAGE: Made Menu subclass of BaseMacWindow
2016-04-25 19:02:25 +02:00
Eugene Sandulenko
35d5d93725
WAGE: Fix crash when cursor is off-screen
2016-04-25 18:38:24 +02:00
Eugene Sandulenko
b8fcb449c4
WAGE: Virtualized MacWindow class
2016-04-25 10:59:16 +02:00
Eugene Sandulenko
357c64cd51
WAGE: Move desktop drawing to WM
2016-04-24 13:51:17 +02:00
Eugene Sandulenko
9877abe936
WAGE: Implemented window resizing
2016-04-24 10:47:09 +02:00
Eugene Sandulenko
b4a2361bf7
WAGE: Started window resize implementation
2016-04-24 10:29:08 +02:00
Eugene Sandulenko
c1bf8f9e55
WAGE: Cleanup
2016-04-21 21:37:31 +02:00
Eugene Sandulenko
f3f9a57d2a
WAGE: Make sure we're reporting only actually processed by the callback events
2016-04-21 17:53:24 +02:00
Eugene Sandulenko
e74a8ba619
WAGE: Moved console text selection to callbacks
2016-04-21 11:03:58 +02:00
Eugene Sandulenko
7861efb7ce
WAGE: Cleanup
2016-04-20 00:59:21 +02:00
Eugene Sandulenko
d75dc3e660
WAGE: Console scroll via callbacks
2016-04-20 00:56:04 +02:00
Eugene Sandulenko
fd7b31292d
WAGE: Implement object clicking as part of callbacks
2016-04-20 00:55:54 +02:00