djsrv
61cfbdc469
GRAPHICS: MACGUI: Add more colors as properties
...
Finding the closets color in the current palette is necessary for
transparency in bitmap borders to work.
2020-08-07 16:47:19 -04:00
Nathanael Gentry
a7426c2872
GRAPHICS: MACGUI: Eliminate window composition surface
...
Now there is just the composeSurface from the widget. This fixes a bug where the
inner window contents would be blitted with transparency and also eliminates a
redundant copying. Now the border and inner surfaces are composed together on demand.
2020-07-21 14:48:27 -04:00
Eugene Sandulenko
927825f6ac
GRAPHICS: MACGUI: Fix overridden method footprint
2020-07-07 12:17:18 +02:00
Eugene Sandulenko
430915ce00
GRAPHICS: MACGUI: Const'ness
2020-04-27 13:57:35 +02:00
Eugene Sandulenko
7a4d5f45e9
GRAPHICS: MACGUI: Renamed clashing methods
2020-04-25 13:44:18 +02:00
Eugene Sandulenko
f382d0fd01
GRAPHICS: MACGUI: Clear cursor flag after redrawing
2020-04-25 00:57:22 +02:00
Eugene Sandulenko
2fb21ba90a
GRAPHICS: MACGUI: Split drawing and blitting operations for widgets
2020-04-14 00:42:39 +02:00
Eugene Sandulenko
419cb1e7c7
GRAPHICS: MACGUI: Switched MacText to U32String internally
2019-10-18 17:20:27 +02:00
Eugene Sandulenko
695ba47063
GRAPHICS: MACGUI: Added possibility to create read only text windows
2019-10-15 23:58:00 +02:00
Filippos Karapetis
7346b69d88
GRAPHICS: Initialize potentially uninitialized variables
2019-05-27 14:53:46 +03:00
Paul Gilbert
e232d024c5
GLK: Standardizing uint vs uint32 usage
2018-12-09 14:47:15 -08: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
Eugene Sandulenko
5684134ef6
GRAPHICS: MACGUI: Do not use hardcoded colors
2018-07-12 00:41:11 +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
bedbe39087
GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizing
2017-08-18 19:04:37 +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
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
abf6abdb65
GRAPHICS: MACGUI: Correctly display last selection line
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
5091968f4c
GRAPHICS: MACGUI: More work on clearing MacTextWindow content
2017-08-05 23:50:45 +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
410efd9ff5
GRAPHICS: MACGUI: Fix detection for Cut command enablement
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
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
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
Eugene Sandulenko
c5da0bece4
GRAPHICS: MACGUI: Remove redundant method from MacTextWindow
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
c25a26d11c
GRAPHICS: MACGUI: Event processing code for text selection in MacTextWindow
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
20734108e3
GRAPHICS: MACGUI: Incapsulate MacWindow internals
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
04bb7c3e7a
GRAPHICS: MACGUI: Reduce constant scope
2017-08-04 21:54:20 +02:00
Eugene Sandulenko
7b7117d5b8
GRAPHICS: MACGUI: Implement scrolling in MacTextWindow
2017-08-04 21:54:19 +02:00