Commit Graph
226 Commits
Author SHA1 Message Date
Avijeet c4ede93e79 WAGE: Add about screen 2022-08-05 20:15:03 +02:00
Avijeet 8a8d278529 WAGE: Set scene title before dimension 2022-08-05 20:15:03 +02:00
Avijeet 6721620826 WAGE: Enable autoscroll by making MacTextWindow editable 2022-08-05 20:15:03 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko 51c83d4e50 WAGE: Build-in borders instead of relying on external files 2021-05-26 12:01:02 +02:00
ysj1173886760 587772625e WAGE: set the offsets for new logic of macgui 2021-04-25 02:24:15 +02:00
ysj1173886760 a2f48f5343 WAGE: fix the code which may occur bug 2021-04-25 02:24:15 +02:00
ysj1173886760 3b47e56155 GRAPHICS: MACGUI: clean the codes 2021-04-12 14:04:25 +02:00
ysj1173886760 3b53a4f2f7 GRAPHICS: MACGUI: move titlePos into BorderOffsets 2021-04-12 14:04:25 +02:00
ysj1173886760 7f47b9f6c0 GRAPHICS: MACGUI: move border stuff into macwindowborder 2021-04-12 14:04:25 +02:00
ysj1173886760 7ea12368cf WAGE: set scrollbar of consoleWindow true, to suit for new logic in macgui 2021-04-12 14:04:25 +02:00
ysj1173886760 6d7e794ed3 GRAPHICS: MACGUI: Add flag to indicate the border type, move drawTitle and drawScrollBar into macwindowborder 2021-04-12 14:04:25 +02:00
ysj1173886760 307147c565 GRAPHICS: MACGUI: use titlePos to calc titleIndex, change the titleWidth in 9-patch when title is changed 2021-04-12 14:04:25 +02:00
ysj1173886760 1f3f8f55a8 WAGE: add title to wage border 2021-04-12 14:04:25 +02:00
ysj1173886760 37b4ca2ed6 WAGE: remove the subtraction used to calc relative coordinate, which was calc by MacGUI 2021-04-01 16:08:56 +02:00
ysj1173886760 383fbedded WAGE: change _wm to pointer 2021-03-27 13:05:31 +01:00
ysj1173886760 6879058018 WAGE: Disable ScummVM wallpaper in MacWindowManager 2021-03-27 13:05:31 +01:00
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