Commit Graph
263 Commits
Author SHA1 Message Date
Paul Gilbert 11e33ba3fc JANITORIAL: Removing trailing spaces after int casts 2018-08-17 20:30:20 -07:00
Andrei Prykhodko bb995bc871 GRAPHICS: MACGUI: fixed mem leak in MacText 2018-08-05 23:07:55 +03:00
Andrei Prykhodko ed384a0deb GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow 2018-07-30 07:03:00 +03:00
Andrei Prykhodko 75eceedfa5 GRAPHICS: MACGUI: add additional arg to MacTextWindow's constructor to disable cursor handler 2018-07-29 21:23:04 +03:00
Andrei Prykhodko 841e0c11d8 GRAPHICS: MACGUI: fixed SIGSEGV when ptr to menu in MacTextWindow is NULL 2018-07-29 21:23:04 +03:00
Andrei Prykhodko f447ccb390 GRAPHICS: MACGUI: fixed restoring screen 2018-07-26 05:18:04 +03:00
Andrei Prykhodko 6eee64e8fb GRAPHICS: MACGUI: added field initialization 2018-07-26 04:44:20 +03:00
Andrei Prykhodko a961427373 GRAPHICS: MACGUI: fixed memory leak 2018-07-26 04:37:00 +03:00
Eugene Sandulenko c48489f6d2 GRAPHICS: MACGUI: Restore screen on exiting from menu 2018-07-23 14:47:46 +02:00
Andrei Prykhodko f4eda44186 GRAPHICS: MACGUI: fixes for menu parser from win exe 2018-07-22 21:19:02 +03:00
Andrei Prykhodko 62c66bc67a GRAPHICS: MACGUI: added unicode submenu rendering 2018-07-22 20:37:44 +03:00
Andrei Prykhodko 71e933e778 GRAPHICS: MACGUI: fixed engine unpausing after releasing mouse 2018-07-22 20:12:37 +03:00
Andrei Prykhodko 997694b329 GRAPHICS: MACMENU: added missing field initialization 2018-07-22 12:48:15 +03:00
Eugene Sandulenko f515393a74 GRAPHICS: MACGUI: Fix color searching 2018-07-21 12:52:32 +02:00
Eugene Sandulenko 359609353a GRAPHICS: MACGUI: Fix compilation 2018-07-21 12:20:57 +02:00
Andrei Prykhodko 99f458dafa GRAPHICS: MACMENU: added menu parser from Win32 PE executable 2018-07-21 12:16:54 +03:00
Andrei Prykhodko df63dea4b6 GRAPHICS: MACMENU: added partial unicode support
It misses renderSubmenu impl and accelerator rendering
2018-07-21 12:16:54 +03:00
Andrei Prykhodko da34d0dce2 GRAPHICS: MACGUI: moved engine ptr, pause callback to private section 2018-07-20 22:05:46 +03:00
Andrei Prykhodko 8a27ac879e GRAPHICS: MACGUI: added initialization of engine ptr 2018-07-20 22:05:46 +03:00
Andrei Prykhodko e1460103e1 GRAPHICS: MACGUI: added WMModalMenuMode 2018-07-18 21:47:22 +03:00
Eugene Sandulenko 5684134ef6 GRAPHICS: MACGUI: Do not use hardcoded colors 2018-07-12 00:41:11 +02:00
Eugene Sandulenko f2b61dd814 GRAPHICS: MACGUI: Added isMenuActive() helper method 2018-07-11 22:45:36 +02:00
Eugene Sandulenko a14a1230e3 GRAPHICS: MACMENU: Calculate menu bounds after adding static items 2018-07-11 22:45:36 +02:00
Eugene Sandulenko 04dfa9b0a9 GRAPHICS: MACGUI: Made autohiding menu reentrable 2018-07-11 22:45:36 +02:00
Eugene Sandulenko ddfe6c3bce GRAPHICS: MACGUI: Implemented autohide menus 2018-07-11 22:45:36 +02:00
Eugene Sandulenko 2446810378 GRAPHICS: MACGUI: Added possibility to specify WM behaviour 2018-07-11 22:45:36 +02:00
Eugene Sandulenko 4a1a7f965f GRAPHICS: MACGUI: Do not crash when nothing was drawn yet 2017-08-28 19:17:45 +02:00
Eugene Sandulenko f8284623c4 GRAPHICS: MACGUI: Clear whole surface when resizing
This removes black artifacts when previous text was narrower
2017-08-26 21:34:16 +02:00
Eugene Sandulenko 4783541529 GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter 2017-08-22 10:26:53 +02:00
Eugene Sandulenko 8458630e50 GRAPHICS: MACGUI: Added support for scrolling with mouse wheel 2017-08-22 10:25:00 +02:00
Eugene Sandulenko a7dbacb5c3 GRAPHICS: MACGUI: Ignore keys with modifiers in MacTextWindow 2017-08-22 10:25:00 +02:00
Eugene Sandulenko e13d567eb9 GRAPHICS: MACGUI: Improved debug output in MacFontManager 2017-08-22 10:25:00 +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 2689373049 JANITORIAL: Fix spelling error in comment 2017-08-21 10:47:10 +02:00
Eugene Sandulenko bedbe39087 GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing 2017-08-18 19:04:37 +02:00
Eugene Sandulenko bc8b952d71 GRAPHICS: MACGUI: Perform sanity checks before blitting 2017-08-18 10:17:52 +02:00
Eugene Sandulenko df7bd3033e GRAPHICS: MACGUI: Syncronise internal state when selection is cut 2017-08-15 19:50:07 +02:00
Eugene Sandulenko b9a7f2c800 GRAPHICS: MACGUI: Fix crash in selection when there is no text found 2017-08-15 19:49:15 +02:00
Eugene Sandulenko 0f0dd88b61 GRAPHICS: MACGUI: Fix MacText::getTextChunk() for multiline selections 2017-08-15 19:48:16 +02:00
Eugene Sandulenko 615af937df GRAPHICS: MACGUI: Initial code for MacTextWindow::cutSelection() 2017-08-14 09:19:41 +02:00
D G Turner fbd1e87824 GRAPHICS: MACGUI: Fix GCC Compiler Warnings. 2017-08-11 00:56:28 +01:00
Eugene Sandulenko 0e2d14ac41 GRAPHICS: MACGUI: Initial code for Cutting/Paste multiline input texts 2017-08-08 11:25:55 +02:00
Eugene Sandulenko c5b28a171b GRAPHICS: MACGUI: Do not resize MacTextWindow when not necessary 2017-08-07 13:05:35 +02:00
Eugene Sandulenko 65265d87d7 GRAPHICS: MACGUI: Fix selection visual feedback 2017-08-07 12:28:43 +02:00
Eugene Sandulenko 7896e9572f GRAPHICS: MACGUI: Correctly process revere oneliner selections 2017-08-07 12:18:20 +02:00
Eugene Sandulenko d51a87a83b GRAPHICS: MACGUI: Correctly expand selection beyond last line 2017-08-07 12:18:20 +02:00
Eugene Sandulenko abf6abdb65 GRAPHICS: MACGUI: Correctly display last selection line 2017-08-07 12:18:20 +02:00
Eugene Sandulenko 6e690dbca9 GRAPHICS: MACGUI: Do not draw selection in the initial state 2017-08-07 12:18:20 +02:00
Eugene Sandulenko 8b81bb2faa GRAPHICS: MACGUI: Better handling for displaying selection end 2017-08-06 22:43:09 +02:00
Eugene Sandulenko 86d1b1b050 GRAPHICS: MACGUI: Fix cursor position when MacTextWindow is scrolled 2017-08-06 11:23:23 +02:00