Commit Graph

45 Commits

Author SHA1 Message Date
Ž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
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
3d8db3b9fa LCL-GTK2: Revert value for psDot painting back to 4096. Issue #38599, patch from Joeny Ang.
git-svn-id: trunk@64788 -
2021-03-12 07:19:38 +00:00
juha
2f12a0e5c0 LCL-GTK2: Improve rendering Dash/Dot Pen Styles for widths > 1. Issue #38599, patch from Joeny Ang.
git-svn-id: trunk@64770 -
2021-03-09 09:11:16 +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
mattias
142965cb34 lcl: gtk2: fixed force realize, issue #37073
git-svn-id: trunk@63166 -
2020-05-15 22:46:40 +00:00
mattias
e1e4680a77 lcl gtk2: fixed gtk warnings
git-svn-id: trunk@63143 -
2020-05-13 08:52:21 +00:00
juha
c56c25c78a LCL-GTK2: Use correct Brush.Color with non-default Brush.Style. Issue #36709, patch from Anton Kavalenka.
git-svn-id: trunk@62743 -
2020-03-11 22:32:59 +00:00
jesus
58ba2d075e Gtk: fix pen style pattern on some systems, from Anton Kavalenka, issue #33866
git-svn-id: trunk@61378 -
2019-06-13 17:08:50 +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
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
zeljko
894fe3d7d4 Gtk2: create FDrawable on demand, only when FDrawable is nil and widget unmapped yet (usually happens only for TCustomForm). issue #27821
git-svn-id: trunk@48697 -
2015-04-10 12:05:48 +00:00
zeljko
7ab1cdbe1f Gtk2: fixed crash when GtkDeviceContext widget isn't mapped yet. Use default root win as drawable. issue #27795
git-svn-id: trunk@48643 -
2015-04-06 11:04:26 +00:00
juha
841a604d6e LCL: Prevent range overflow in TGtkDeviceContext.FillRect. Cast Cardinal -> TColor. Issue #26897.
git-svn-id: trunk@47027 -
2014-11-29 13:41:37 +00:00
paul
849077bfc5 gtk2: fix potential bug in TGtkDeviceContext.SelectBitmap
git-svn-id: trunk@43653 -
2014-01-06 09:34:05 +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
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
0309af8ded Gtk2: fixed clientRect of GtkTreeView, new routine GetWidgetClientRect() in gtk2proc to simplify gtk2winapi, fixed offset for custom drawn listview.
git-svn-id: trunk@39043 -
2012-10-11 09:11:48 +00:00
paul
977f05a8ef gtk2: rework SetWindowOrgEx() and related code
git-svn-id: trunk@38742 -
2012-09-19 01:48:48 +00:00
paul
272eb740df gtk2: rename TGtkDeviceContext.Origin to WindowOrg to be consistent with ViewPortOrg and WindowExt
git-svn-id: trunk@38728 -
2012-09-18 03:48:07 +00:00
paul
6d6ec57e0a gtk2: cleanup TgtkDeviceContext
git-svn-id: trunk@38727 -
2012-09-18 03:40:22 +00:00
mattias
bc07484146 lcl: gtk2: fixed label autosize
git-svn-id: trunk@38060 -
2012-07-27 14:46:04 +00:00
mattias
5b350609ab gtk2: less hints
git-svn-id: trunk@36761 -
2012-04-14 10:27:10 +00:00
mattias
07257ec5cd gtk2: less hints
git-svn-id: trunk@36760 -
2012-04-14 10:05:39 +00:00
zeljko
e96f8fdf7b Gtk2: fixed TPageControl page changing. issues #18754 and #21026
git-svn-id: trunk@35125 -
2012-02-04 16:17:32 +00:00
zeljko
33b5efc277 Gtk2: formatting
git-svn-id: trunk@34065 -
2011-12-09 07:58:06 +00:00
paul
cb7061fa17 gtk2: when FillRect is called with a hatched/bitmap brush first fill the rect with a BkColor if BkMode = OPAQUE
git-svn-id: trunk@31472 -
2011-06-30 10:09:56 +00:00
zeljko
b8d5b4793d Gtk2: introduced TGtkDeviceContext.ClipRect, now gtk_paint_xxx() respects clipping rectangle. issue #14660
git-svn-id: trunk@29537 -
2011-02-13 20:26:48 +00:00
paul
3ecb4329dc gtk2: formatting
git-svn-id: trunk@26974 -
2010-08-02 02:52:27 +00:00
marc
46ebaabc7a gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
paul
42558682c9 gtk2: fix text drawing defects introcudced in r24628 #72259342cb
git-svn-id: trunk@24643 -
2010-04-16 01:40:26 +00:00
mattias
72259342cb gtk2 intf: fixed pango bidi, bug #16271
git-svn-id: trunk@24628 -
2010-04-15 08:38:02 +00:00
paul
e11a223825 gtk2: fix typo
git-svn-id: trunk@18979 -
2009-03-13 07:56:50 +00:00
paul
fcaad0729b gtk2: don't fail in DrawTextWithColors if Widget = nil by C Western (part 1 of issue #0013317)
git-svn-id: trunk@18978 -
2009-03-13 06:37:10 +00:00
paul
b8af8691df gtk2:
- cleanup
 - minor preparations for using recent fpc gtk2 package changes

git-svn-id: trunk@16173 -
2008-08-21 07:43:46 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
a5f211b8cc tk2: fixed SetLayoutText string comparison
git-svn-id: trunk@15774 -
2008-07-13 22:14:39 +00:00
mattias
fbcc1bc581 gtk2 intf: improved layout text optimization by length parameter
git-svn-id: trunk@15763 -
2008-07-13 15:44:56 +00:00
mattias
4dedc3c8ec gtk2: removed quark code
git-svn-id: trunk@15761 -
2008-07-13 11:30:13 +00:00
mattias
50c3731145 gtk2 intf: implemented optimization for textout with the same text from Luiz
git-svn-id: trunk@15758 -
2008-07-13 09:21:33 +00:00
paul
012a16ffd7 gtk2: ifdef textout speed improvement - it brings some problems (#0011523)
git-svn-id: trunk@15735 -
2008-07-10 13:55:06 +00:00
mattias
a62a570ffd gtk2 intf: cache for DC textout operations from Paul
git-svn-id: trunk@15010 -
2008-04-29 12:12:27 +00:00
mattias
2ccba88670 gtk2 intf: improved rotated fonts
git-svn-id: trunk@14045 -
2008-02-09 13:58:27 +00:00
paul
77989dc1e0 gtk2: draw text with rotation
- rearrange extras
- introduced TGtk2DeviceContext.DrawTextWithColor (mostly from 0009665 with modifications)
- use DrawTextWithColor in TextOut and ExtTextOut

git-svn-id: trunk@13987 -
2008-02-06 06:13:00 +00:00
marc
28578c3a91 * Started with object based GDI
* More splitup of gtk1/gtk2 code
* Fixed restore of GC after linedrawing
* Enabled desktop grabbing for gtk1

git-svn-id: trunk@12975 -
2007-11-23 00:07:45 +00:00