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
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
4a16f5fc39
WAGE: Begin adding borders to the windows
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
9ce6fbd0d7
GRAPHICS: Move MacMenu constants
2016-07-31 14:05:14 +02:00
Borja Lorente
1080f19995
GRAPHICS: Create wrapper namespace for MacWindowManager 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
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
Eugene Sandulenko
859cd9d1f9
WAGE: Removed dependency of Menu on Wage::Design
2016-04-28 16:13:27 +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
5fbac749e2
WAGE: Moved patterns to WindowManager
2016-04-28 12:37:03 +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
c31e59b10c
WAGE: Moved font loading to WM. wage.dat is now classicmacfonts.dat
2016-04-28 11:14:13 +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
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
99fbda5842
WAGE: Implement window dragging
2016-04-23 22:31:38 +02:00
Eugene Sandulenko
c1bf8f9e55
WAGE: Cleanup
2016-04-21 21:37:31 +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
Eugene Sandulenko
6f03947bc9
WAGE: Implemented text console callback
2016-04-19 11:14:48 +02:00
Eugene Sandulenko
c9d3b7210e
WAGE: Switched WM::add() to returning window pointer instead of id
2016-04-19 10:56:42 +02:00
Eugene Sandulenko
fd7bf64131
WAGE: Switched event processing to generic code
2016-04-19 10:37:53 +02:00
Eugene Sandulenko
43d49e68b2
WAGE: Draw console via MacWindow
2016-04-15 17:24:16 +02:00
Eugene Sandulenko
00399d27db
WAGE: Switch to ManagedSurface
2016-04-15 17:24:14 +02:00
Eugene Sandulenko
4153780703
WAGE: Started to plug the WM in
2016-04-14 18:35:16 +02:00
Eugene Sandulenko
866650fccd
WAGE: Draw border in MacWindow
2016-04-14 12:08:27 +02:00
Eugene Sandulenko
d42a8d0f2d
WAGE: Stub for MacWindow class
2016-04-13 11:23:39 +02:00
Eugene Sandulenko
7555d041b5
WAGE: Split scene and console drawing
2016-04-05 09:39:16 +02:00
Eugene Sandulenko
c6abe904c4
WAGE: Proper scroll drawing
2016-03-23 18:51:31 +01:00
Eugene Sandulenko
671d3faa71
WAGE: Initial code for border manipulation
2016-03-18 11:45:29 +01:00
Eugene Sandulenko
bd7ef4143d
WAGE: Enable required menu items to allow game restart
2016-02-16 11:32:48 +01:00
Eugene Sandulenko
a6120d8b27
WAGE: Started post-gameover code implementation
2016-02-16 11:32:47 +01:00
Eugene Sandulenko
9c8d0352ad
WAGE: Avoid potential race condition in cursor drawing code
2016-02-14 17:13:21 +01:00
Eugene Sandulenko
5cea5a4d3a
WAGE: Implement Cut and Clear actions
2016-02-14 17:13:06 +01:00
Eugene Sandulenko
1158987a1e
WAGE: Disable Undo action after command exectution
2016-02-14 17:13:06 +01:00