Commit Graph
237 Commits
Author SHA1 Message Date
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
Eugene Sandulenko 9d2ca34ae4 GRAPHICS: MACGUI: Enforce surface cleanup on MacText clearing 2017-08-05 23:55:44 +02:00
Eugene Sandulenko 5091968f4c GRAPHICS: MACGUI: More work on clearing MacTextWindow content 2017-08-05 23:50:45 +02:00
Eugene Sandulenko 75491291f9 GRAPHICS: MACGUI: Made CLIP statemements more useful 2017-08-05 08:12:43 +02:00
D G Turner 81a236ee8f GRAPHICS: MACGUI: Fix GCC Compiler Warnings. 2017-08-05 06:16:22 +01:00
Eugene Sandulenko 58a30b9146 GRAPHICS: MACGUI: Do not crash when window callback is null 2017-08-05 00:24:28 +02:00
Eugene Sandulenko 4fea533dfd GRAPHICS: MACGUI: Added more selection manipulation methods to MacTextWindow 2017-08-05 00:05:44 +02:00
Eugene Sandulenko dfaadb1763 GRAPHICS: MACGUI: Fix compilation 2017-08-04 21:55:08 +02:00
Eugene Sandulenko 2aac665a2b GRAPHICS: MACGUI: Fix displaying two line text selections 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 1241ada63a GRAPHICS: MACGUI: Fixed bug with column detection in text selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko c7f83cd435 GRAPHICS: MACGUI: Fix end line text selection hihglight 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 410efd9ff5 GRAPHICS: MACGUI: Fix detection for Cut command enablement 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 9e81f4de89 GRAPHICS: MACGUI: Better selection row detection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 55a241494e GRAPHICS: MACGUI: Improved text selection edge case behaviour 2017-08-04 21:54:20 +02:00
Eugene Sandulenko b284895100 GRAPHICS: MACGUI: Leave text highlight after selection is made 2017-08-04 21:54:20 +02:00
Eugene Sandulenko dd2123f8bf GRAPHICS: MACGUI: Added method to append input to MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko a5fa164b8e GRAPHICS: MACGUI: Bugfixes for selection copying in MacText 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 23649e8d87 GRAPHICS: MACGUI: Initial code for copying selection to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 66f59aa893 GRAPHICS: MACGUI: Correctly display selection during scrolling 2017-08-04 21:54:20 +02:00
Eugene Sandulenko afb664df29 GRAPHICS: MACGUI: Made selection affecting the MacMenu 2017-08-04 21:54:20 +02:00
Eugene Sandulenko aab404864e GRAPHICS: GUI: Fix flicker in selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 676b6082ab GRAPHICS: GUI: Mark beginning and end column of selection in MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 71aadb5645 GRAPHICS: MACGUI: Correctly calculate row in MacText::getRowCol() 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 0be9566a5a GRAPHICS: MACGUI: Simplified selection drawing code 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 49ad5ff0cf GRAPHICS: MACGUI: Do not draw text selection at beginning of selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 145b7c9ec9 GRAPHICS: MACGUI: Initial selection drawing code to MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko b3c8a8e129 GRAPHICS: MACGUI: Align and store MacText selection coordinates 2017-08-04 21:54:20 +02:00