Eugene Sandulenko
265fc48d15
WAGE: Do something when player is not defined instead of crashes
2017-08-24 09:25:25 +02:00
Eugene Sandulenko
59bc70299e
WAGE: Fake input text when using shortcuts
2017-08-24 08:45:26 +02:00
Eugene Sandulenko
97ed6a2af7
GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes
...
This fixes Command menu in WAGE.
2017-08-21 19:40:05 +02:00
Eugene Sandulenko
7313de59b6
WAGE: Use new MacTextWindow API for selection cut/clear
...
This enables multiline selection cutting and clearing.
2017-08-15 19:51:33 +02:00
Eugene Sandulenko
bca79db96b
WAGE: Set default values for DITL messages
2017-08-08 23:45:26 +02:00
Eugene Sandulenko
0e2d14ac41
GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts
2017-08-08 11:25:55 +02:00
Eugene Sandulenko
742a7fbb2c
WAGE: Resize console window for new scene (restore lost functionality)
2017-08-07 13:06:12 +02:00
Eugene Sandulenko
a00ca84bdb
WAGE: Implement Gui::clearOutput()
2017-08-05 23:50:45 +02:00
Eugene Sandulenko
fe88fab431
WAGE: Mark Gui::clearOutput() as stub
2017-08-05 00:29:28 +02:00
Eugene Sandulenko
b60e2eb89b
WAGE: Remove all old console code
...
Now we have fully switched to MacTextWindow. Yay!
2017-08-05 00:27:12 +02:00
Eugene Sandulenko
afb664df29
GRAPHICS: MACGUI: Made selection affecting the MacMenu
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
cb48575c91
WAGE: Switched console rendering to MacTextWindow
2017-08-04 21:54:19 +02:00
Eugene Sandulenko
15d0d12c71
WAGE: Draw cursor only when MacTextWindow is not used
2017-08-01 10:42:22 +02:00
Eugene Sandulenko
042b3dc60e
WAGE: Switched Console window to MacTextWindow
2017-08-01 10:42:21 +02:00
Eugene Sandulenko
2092c10d33
WAGE: Fix compilation with MacTextWindow enabled
2017-08-01 10:42:21 +02:00
VelocityRa
3a2ce12288
WAGE: Fix resizing and text selection bug
...
Revise/Simplify old optional text rendering
Set things up a bit for selected text rendering
Add MacTextWindow::clearText and MacTextWindow::setSelection
Add MacTextWindow::appendText variant that accepts a MacFont
2017-07-17 23:45:22 +02:00
VelocityRa
0f65852d2f
WAGE: Experimental MacText(Window) console rendering
...
Currently the font specified in the constructor is not
being used, I explain why in gui.cpp, line 182.
Use the 2 defines in gui.h to specify whether:
1) The new text rendering in general is used
(USE_NEW_TEXT_RENDERER)
2) The MacTextWindow class is used
for rendering (USE_MACTEXTWINDOW)
2017-07-17 23:45:22 +02:00
Eugene Sandulenko
0ecaa79f08
GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision
2017-01-14 13:17:38 +01:00
Eugene Sandulenko
fab199d37e
JANITORIAL: Make GPL headers uniform
2016-09-03 12:46:38 +02:00
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