Commit Graph

300 Commits

Author SHA1 Message Date
Juha
5b2b222aa4 LCL-GTK2: Properly use PANGO_PIXELS macro instead of just integer divide. Issue #39938, patch by Anton Kavalenka. 2022-10-03 13:47:08 +03:00
Željan Rikalo
027cf2cec3 Gtk2: fixed maximized form without border, fixed brush initialization. Patches by Anton Kavalenka. issue #39702, issue #39722 2022-04-28 09:44:10 +02:00
maxim
b8d0d9366b LCL: fixed typos related to 'occur' word
git-svn-id: trunk@65207 -
2021-06-10 22:21:45 +00:00
wp
426f9a5353 LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true. Issue #38852, patch by Anton Kavalenka.
git-svn-id: trunk@65088 -
2021-05-05 20:09:05 +00:00
juha
ef7d930ca6 LCL-GTK2: Fix rect calculation and GetTextMetrics. Prevent painting cropped chars 'jy'. Issue #38268, patch from Anton Kavalenka.
git-svn-id: trunk@65056 -
2021-04-23 15:34:08 +00:00
juha
05b9887d74 LCL-GTK2 font handling (mainly affects ScaleBy). Issue #32917, patch from C Western.
git-svn-id: trunk@64789 -
2021-03-12 10:08:57 +00:00
mattias
f45d7ed2c4 LCL: less hints
git-svn-id: trunk@64681 -
2021-02-28 08:51:17 +00:00
juha
e405b8c6ac LCL-GTK2: Fix drawing of text region in TListView and others. Issue #38062, patch from Joeny Ang.
git-svn-id: trunk@64130 -
2020-11-13 09:37:00 +00:00
mattias
4fd716a864 lcl gtk2: SetWindowRgn realize widget, issue #30385
git-svn-id: trunk@64054 -
2020-10-22 18:31:14 +00:00
mattias
3e797e6d64 lcl gtk2: fixed GetControlWindow
git-svn-id: trunk@64050 -
2020-10-22 14:48:28 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
juha
acc57c654f LCL-GTK2: Remove debug output from TGtk2WidgetSet.PeekMessage(). Issue #37521.
git-svn-id: trunk@63704 -
2020-08-09 06:16:08 +00:00
juha
bcfa936e39 LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63665 -
2020-07-28 20:55:55 +00:00
juha
5fa1cdcfb0 LCL-GTK2: Fix TGtk2WidgetSet.GetWindowRect() with an invisible TForm. Issue #37414, patch from Joeny Ang.
git-svn-id: trunk@63641 -
2020-07-24 11:14:36 +00:00
mattias
b45ee007da lcl gtk: fixed mem leak
git-svn-id: trunk@63635 -
2020-07-23 16:27:10 +00:00
juha
6c83a6da9e LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63436 -
2020-06-24 09:13:05 +00:00
zeljko
2a19f6f24d Gtk2: fixed GetSystemMetrics(SM_CYMENU). issue #28034
git-svn-id: trunk@62997 -
2020-04-16 12:25:01 +00:00
zeljko
f2f8feab9b Gtk2: implemented accurate frame under x11. fixes issue #36897
Gtk2: fixed Screen.WorkAreaRect. issue #36919

git-svn-id: trunk@62996 -
2020-04-16 09:24:25 +00:00
zeljko
40f8a7d0af gtk2: fix assertions and infinite loop in gtk2 library.
git-svn-id: trunk@62889 -
2020-04-05 10:55:15 +00:00
mattias
292fc283b9 lcl: less hints
git-svn-id: trunk@62602 -
2020-01-31 14:10:00 +00:00
juha
315a844105 LCL-GTK2: Use function DeleteAmpersands from unit LCLProc. Already handles a trailing &.
git-svn-id: trunk@62440 -
2019-12-23 21:01:06 +00:00
juha
22ba4321b9 LCL-GTK2: Render strikeout text on Listbox canvas with OwnerDrawFixed. Issue #36298, patch from Alexey Tor.
git-svn-id: trunk@62233 -
2019-11-12 22:42:17 +00:00
juha
d11016cd63 LCL-GTK2: Fix rendering of multiline label with Japanese text. Issue #36293, patch from Alexey Tor.
git-svn-id: trunk@62231 -
2019-11-12 22:28:22 +00:00
juha
7a73e88954 LCL-GTK2: Render text of TLabel correctly. Issue #36128, patch from Alexey Tor.
git-svn-id: trunk@61959 -
2019-10-03 12:20:31 +00:00
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