Commit Graph

276 Commits

Author SHA1 Message Date
juha
bfd348501a LCL-GTK2: Remove a boolean param from GetWidgetInfo and use new func GetOrCreateWidgetInfo. Identify memory leaks.
git-svn-id: trunk@61684 -
2019-08-11 17:15:48 +00:00
juha
bf45896b72 LCL-GTK2: Support fractions of degrees in font orientation. Issue #35437.
git-svn-id: trunk@61049 -
2019-04-24 18:29:15 +00:00
juha
23bc495d4c LCL-GTK2: Support ampersands in LCLIntf.MessageBox. Issue #35427, patch from Alexey Tor.
git-svn-id: trunk@61040 -
2019-04-22 22:27:18 +00:00
martin
e46c6dc9fe GTK2: memory leaks, not freed gdk objects
git-svn-id: trunk@60226 -
2019-01-26 17:58:27 +00:00
juha
6831ce0d0b LCL-GTK2: Prevent Clipboard.AsText crashing. Issue #34795, patch from engkin.
git-svn-id: trunk@60064 -
2019-01-12 20:27:02 +00:00
juha
c8beaba5c1 LCL-GTK2: Fix icon scaling in menuitems. Patch from Ondrej.
git-svn-id: trunk@59325 -
2018-10-19 16:13:03 +00:00
juha
2ee72166e4 LCL-GTK2: Prevent flickering in TOpenGLControl. Turn DoubleBuffered off. Issue #33864, patch from accorp.
git-svn-id: trunk@59111 -
2018-09-21 09:13:12 +00:00
juha
574bb4ecb7 LCL-GTK2: Implement TGtk2WidgetSet.GetTextExtentExPoint(). Issue #34276, patch from accorp.
git-svn-id: trunk@58987 -
2018-09-14 08:45:30 +00:00
juha
b20cf40349 Use RaiseGDBException from LazTracer unit. Remove similar funcs from IDEProcs and ComponentReg.
git-svn-id: trunk@58622 -
2018-07-24 17:49:21 +00:00
martin
c3fff83320 Clipboard: fix trailing null issue for gtk2. Issue #0021453
git-svn-id: trunk@58530 -
2018-07-15 10:23:43 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
juha
c7ba603d21 Reduce typecasts. Use TIntegerList and TByteList where appropriate.
git-svn-id: trunk@56399 -
2017-11-13 23:20:44 +00:00
zeljko
63e24c7ffa gtk2: get correct primary monitor if we are using gtk2 >= 2.20. issue #32464
git-svn-id: trunk@55913 -
2017-09-24 16:07:20 +00:00
michl
e229634abf LCL: GTK2: Fixed cursor size. Issue #32385.
git-svn-id: trunk@55795 -
2017-09-07 21:04:09 +00:00
michl
81635180d3 LCL: GTK2: Fixed font issues at high-DPI on Gtk2. Issue #32268
git-svn-id: trunk@55665 -
2017-08-15 20:43:58 +00:00
juha
1184822164 LCL: Use a helper function for testing fontname 'default'. Issue #31940, patch from AlexeyT.
git-svn-id: trunk@55188 -
2017-06-03 18:56:34 +00:00
zeljko
cba5c9c545 Gtk2: removed workaround for SW_SHOWNORMAL, added checks for SW_RESTORE and SW_SHOWMAXIMIZED. issue #31832
git-svn-id: trunk@54975 -
2017-05-18 17:28:58 +00:00
mattias
36c1a482a0 lcl: gtk2: fixed shrinking designer form, bug #31832, patch Kostas Michalopoulos
git-svn-id: trunk@54958 -
2017-05-17 23:10:40 +00:00
mattias
558d5887a9 LCL: gtk2: fixed compiling with -dDebugLCLComponents
git-svn-id: trunk@54936 -
2017-05-15 16:10:36 +00:00
zeljko
33d34bce77 Gtk2: implemented LCLIntf.ShowWindow(SW_RESTORE).Patch by AlexeyT. issue #31740
git-svn-id: trunk@54791 -
2017-05-01 11:45:06 +00:00
juha
ae6948b6b3 GTK2, GTK3: In DrawText support prefixed UTF-8 codepoints. Issue #31674, solution by AlexeyT.
git-svn-id: trunk@54633 -
2017-04-18 18:12:07 +00:00
juha
75e8f692bd LCL-GTK2: Fix memory leaks in widgetset code. Issue #31616, patch from Anton Kavalenka.
git-svn-id: trunk@54503 -
2017-04-01 06:33:54 +00:00
juha
c993ba74ff LCL-GTK2: Don't change parameters of method TGtk2WidgetSet.Polyline. Use a temp variable. Issue #31205, patch from C Western.
git-svn-id: trunk@53908 -
2017-01-10 10:31:09 +00:00
blikblum
98866fb02d gtk2: do not set fill, tile or stipple in SelectObject
git-svn-id: trunk@53839 -
2017-01-02 20:11:17 +00:00
blikblum
9108c60199 gtk2: allocate background color in TextOut when drawing opaque text (same as what was done for ExtTextOut in rev 38758 #06660654be). Issue #31187
git-svn-id: trunk@53838 -
2017-01-02 20:00:07 +00:00
blikblum
5a0d2dc90a gtk2: fix drawing with pattern bitmap brushes. Related to issue #23663
git-svn-id: trunk@53833 -
2017-01-02 10:42:11 +00:00
mattias
c8e36e96fd lcl: gtk2: use UTF8_STRING as default, COMPOUND_TEXT does not always work see bug #30775, sleep a milisecond while waiting
git-svn-id: trunk@53198 -
2016-10-23 10:50:24 +00:00
ondrej
365d820d9e gtk2: remove unneeded code
git-svn-id: trunk@51672 -
2016-02-20 11:02:51 +00:00
ondrej
bd1384ed17 gtk2: r51664 #08fa33a88d refactoring
git-svn-id: trunk@51665 -
2016-02-19 09:57:21 +00:00
ondrej
08fa33a88d gtk2: Fix error location in the form Form.Position: = poScreenCenter. Issue #29371
git-svn-id: trunk@51664 -
2016-02-19 09:31:49 +00:00
mattias
16ca8935b5 lcl: added SM_LCLHasFormAlphaBlend to GetSystemMetrics, added OnDrawDockImage, when widgetset supports alphablend use a transparent hint window for dock (preview) image, patch #29426
git-svn-id: trunk@51340 -
2016-01-19 17:15:03 +00:00
ondrej
5a9dd3a6f2 lcl: gtk2: fix GetWindowRect result value (0 for error, 1 for success)
git-svn-id: trunk@51110 -
2016-01-02 09:08:14 +00:00
mattias
264c56af19 lcl: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50300 -
2015-11-11 13:40:08 +00:00
mattias
7bece2f1bc lcl: gtk2: less hints
git-svn-id: trunk@49468 -
2015-06-29 09:33:11 +00:00
juha
16c48dc400 GTK2: Allow TPopupMenu GroupIndex = 0 as a valid index. Issue #28329, patch from Anton Kavalenka.
git-svn-id: trunk@49464 -
2015-06-28 12:45:41 +00:00
mattias
023bd23bb0 LCL: gtk2: fixed TGtk2WidgetSet.GetClipRGN fetching default
git-svn-id: trunk@48430 -
2015-03-20 14:37:24 +00:00
zeljko
c0732e2019 Gtk2: drawtext with rotated font. issue #27547
git-svn-id: trunk@48299 -
2015-03-12 15:19:13 +00:00
mattias
bdf67e7160 LCL: less hints
git-svn-id: trunk@47726 -
2015-02-13 07:49:04 +00:00
zeljko
49d77cd1cc Gtk2: do not crash inside PtInRegion if passed handle is not of HRGN type. issue #27080
git-svn-id: trunk@47056 -
2014-12-02 08:25:57 +00:00
mattias
b82866c190 LCL: gtk2: ExtSelectClipRGN: check Drawable=nil
git-svn-id: trunk@46759 -
2014-11-05 12:32:12 +00:00
zeljko
0aef03aadb Gtk2: fixed returning font height from TGtk2WidgetSet.GetObject(). issue #26660
git-svn-id: trunk@46112 -
2014-09-03 07:40:11 +00:00
mattias
b8e5c48833 lcl: gtk2: clean up
git-svn-id: trunk@45546 -
2014-06-15 20:37:11 +00:00
zeljko
1f8aa4a21d Gtk2: fixed linespacing in DrawText().Patch by Boris. issue #26090
git-svn-id: trunk@44842 -
2014-04-29 06:16:34 +00:00
zeljko
204e1058b2 Gtk2: fixed regression in TGtk2WidgetSet.InvalidateRect() for GtkFixed widgets (TGroupBox, TTabSheet).issue #25572
git-svn-id: trunk@44093 -
2014-02-16 09:25:30 +00:00
mattias
03ec89dc0b lcl: gtk2: less hints
git-svn-id: trunk@43915 -
2014-02-06 09:33:27 +00:00
zeljko
f2e9065f51 Gtk2: Fixed TGtk2WidgetSet.Polygon overwriting points array.Patch by Bart. issue #25507
git-svn-id: trunk@43719 -
2014-01-12 19:14:23 +00:00
juha
a76c5900bc LCL: Fix GTK2 image transparency issues for common cases. Issue #25491, patch from Kostas Michalopoulos
git-svn-id: trunk@43644 -
2014-01-04 21:05:19 +00:00
jesus
49a69fc324 LCL, gtk2, updated VerboseFocus debug info
git-svn-id: trunk@42937 -
2013-09-25 22:42:13 +00:00
mattias
2dcaeb39e0 gtk2: fixed mem leak
git-svn-id: trunk@42388 -
2013-08-11 17:45:35 +00:00
mattias
6e6f461181 lcl: gtk2: SetScrollInfo: only draw if something has changed
git-svn-id: trunk@41668 -
2013-06-10 21:23:44 +00:00