aryanrawlani28
e22b32abfe
GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
...
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
06fc491663
GRAPHOCS: MACGUI: Renamed MacWindow::getSurface() to getWindowSurface()
2020-04-14 00:27:49 +02:00
Eugene Sandulenko
419cb1e7c7
GRAPHICS: MACGUI: Switched MacText to U32String internally
2019-10-18 17:20:27 +02:00
Eugene Sandulenko
35773e76b9
GRAPHICS: MACGUI: Unify MacMenuItem and MacMenuSubItem
2019-10-04 15:54:48 +02:00
Eugene Sandulenko
3c0d84b0b2
WAGE: Use better border for the scene window
2019-09-30 23:54:00 +02:00
Eugene Sandulenko
1bca947874
WAGE: Use 9-patch borders also for the console
2019-09-30 00:25:54 +02:00
Eugene Sandulenko
643dccbf67
WAGE: Specify window border padding in 9-patch images
2019-09-29 23:26:05 +02:00
Eugene Sandulenko
6c36f4b550
WAGE: Reenabled 9-patch border drawing and added default border images
2019-09-28 01:29:35 +02:00
Cameron Cawley
7bf22fa996
BACKENDS: Add EVENT_CLIPBOARD_UPDATE event
2019-09-21 22:16:01 +03:00
Cameron Cawley
ec4c846e8c
WAGE: Implement global clipboard support
2019-09-21 22:16:01 +03:00
Cameron Cawley
9052a16887
GRAPHICS: MACGUI: Use Common::String for addMenuItem and addMenuSubItem
2019-08-10 14:50:33 +01:00
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