mattias
53e5a4ea10
gtk2 intf: clean up old mouse capture
...
git-svn-id: trunk@37032 -
2012-04-26 12:15:42 +00:00
zeljko
5c73765c8b
Gtk2: do not draw text background if colormap isn't assigned. Second part of issue #21863
...
git-svn-id: trunk@37031 -
2012-04-26 08:03:59 +00:00
zeljko
d9d4cafa40
Gtk2: fixed drawing of text with solid brush. issue #21863
...
git-svn-id: trunk@37029 -
2012-04-26 06:48:06 +00:00
zeljko
92224c7798
Gtk2: fixed retreiving font name from TGtk2WidgetSet.GetObject() when font is default. issue #21828
...
git-svn-id: trunk@36967 -
2012-04-22 08:11:43 +00:00
zeljko
ca6e3b563c
Gtk2: fixed text background drawing in TGtk2WidgetSet.ExtTextOut() when BkMode = OPAQUE.issue #19384
...
git-svn-id: trunk@36929 -
2012-04-20 13:45:52 +00:00
mattias
38c771eeb4
gtk2 intf: fixed TGtk2WSCustomTabControl.GetDefaultClientRect to check if gtknotebook has a page
...
git-svn-id: trunk@36905 -
2012-04-19 09:58:51 +00:00
mattias
eec588e537
gtk2: removed OldCreateStatusBarPanel
...
git-svn-id: trunk@36789 -
2012-04-15 11:08:57 +00:00
mattias
8e2c46f2b0
gtk2: fixed Gtk2WidgetSet.ClipboardGetData mem leak on stream write error
...
git-svn-id: trunk@36788 -
2012-04-15 11:05:31 +00:00
mattias
2fd5ebfb38
gtk2: clean up
...
git-svn-id: trunk@36787 -
2012-04-15 10:59:36 +00:00
mattias
0c274a2e41
gtk2: less hints
...
git-svn-id: trunk@36770 -
2012-04-14 11:18:45 +00:00
mattias
5b350609ab
gtk2: less hints
...
git-svn-id: trunk@36761 -
2012-04-14 10:27:10 +00:00
zeljko
3cd59126ec
Gtk2: allow changing state to maximized if we are iconified or fullscreen
...
git-svn-id: trunk@36410 -
2012-03-29 07:13:11 +00:00
zeljko
2c50b772e5
Gtk2: allow back from fullscreen to normal window
...
git-svn-id: trunk@36409 -
2012-03-29 07:10:38 +00:00
zeljko
5b126c909b
Qt, Gtk2: check if our Str:PChar param is nil, so do not any translation in GetTextExtentPoint() or GetTextExtentExPoint()
...
git-svn-id: trunk@36111 -
2012-03-17 11:33:26 +00:00
zeljko
32c73d9d34
Gtk2,Qt: fixed returning value of GetTextExtentPoint() when string is empty.
...
git-svn-id: trunk@36108 -
2012-03-17 11:19:29 +00:00
zeljko
3068129128
LCL: added SM_LCLMAXIMIZEDWIDTH and SM_LCLMAXIMIZEDHEIGHT to system metrics rules to get accurate size of maximized window until we fix difference between forms frame rect and client rect. issue #21119
...
git-svn-id: trunk@36106 -
2012-03-17 10:46:34 +00:00
zeljko
3ca38dadcd
Qt,Gtk2,Gtk: prepared winapi GetSystemMetrics to get accurate measures for maximized and fullscreen forms.part of #21119
...
git-svn-id: trunk@36103 -
2012-03-17 08:48:39 +00:00
zeljko
9652b47265
Gtk2: do not assert, check if we are GtkScrolledWindow inside TGtk2WidgetSet.InvalidateRect
...
git-svn-id: trunk@35883 -
2012-03-11 13:27:56 +00:00
zeljko
c19754b22d
Gtk2, Qt: InvalidateRect() should offset by scrollbars position, so it's compatibile with win32. issue #21364
...
git-svn-id: trunk@35881 -
2012-03-11 12:34:35 +00:00
zeljko
5405c2b6db
Gtk2: always increase SM_CYMENU by border size
...
git-svn-id: trunk@35705 -
2012-03-04 15:33:36 +00:00
zeljko
aaa6a65283
Gtk2: added missing result in gtk2trayicon, cleanup of unused variables, fixed compiler warnings
...
git-svn-id: trunk@35675 -
2012-03-03 16:13:08 +00:00
zeljko
ac502d8486
Gtk2: increase SM_CYMENU result by border shadows if compositing manager is running
...
git-svn-id: trunk@35626 -
2012-02-29 19:11:14 +00:00
zeljko
1c24c910b6
Gtk2: fixed crash in gtk2.GetWindowRect. issue #21382
...
git-svn-id: trunk@35606 -
2012-02-27 11:31:06 +00:00
zeljko
0eca80ca44
Gtk2: fixed TGtk2WidgetSet.GetWindowRect wrong result.
...
git-svn-id: trunk@35602 -
2012-02-26 20:08:39 +00:00
zeljko
a31497d03b
Gtk2: fixed wrong result from ScreenToClient for child controls. issue #21366
...
git-svn-id: trunk@35574 -
2012-02-24 09:39:05 +00:00
zeljko
f3ce22c442
Gtk2: removed stalled writeln()
...
git-svn-id: trunk@35524 -
2012-02-21 09:04:37 +00:00
zeljko
df39c84ef2
Qt,Gtk2: fixed result of LCLIntf.IsWindowEnabled, it should check if handle is visible too.
...
git-svn-id: trunk@35523 -
2012-02-21 07:48:50 +00:00
zeljko
1e4d20ff14
Gtk2: fixed bug in TGtk2WidgetSet.GetActiveWindow where it can return handle of invisible gdkwindow.
...
git-svn-id: trunk@35522 -
2012-02-21 07:39:57 +00:00
zeljko
1a8e151f60
Gtk2: TGtk2WidgetSet.InvalidateRect() do not update widget if we are already inside paint event.
...
git-svn-id: trunk@35402 -
2012-02-16 16:32:22 +00:00
zeljko
447396f4b7
Gtk2: rewritten TGtk2WidgetSet.EnumFontFamiliesEx to use pure pango font families.Old behaviour (raw X11 font naming) can be reached with -dGTK2OLDENUMFONTFAMILIES. part of issue #18795
...
git-svn-id: trunk@35400 -
2012-02-16 15:56:36 +00:00
zeljko
ec1b2bc680
Gtk2: removed wrong debugln
...
git-svn-id: trunk@35399 -
2012-02-16 10:57:13 +00:00
zeljko
785b59e3ec
Gtk2: implemented SM_CXBORDER and SM_CYBORDER system metrics
...
git-svn-id: trunk@35308 -
2012-02-11 17:49:56 +00:00
zeljko
38cd170673
Gtk2: implemented SM_CXMENUCHECK and SM_CYMENUCHECK system metrics.
...
git-svn-id: trunk@35304 -
2012-02-11 13:41:05 +00:00
zeljko
93bcdf9640
Gtk2: implemented SM_CXMENUSIZE and SM_CYMENUSIZE system metrics.
...
git-svn-id: trunk@35303 -
2012-02-11 13:36:30 +00:00
zeljko
7cf5618863
Gtk2: implemented SM_CYMENU system metric.
...
git-svn-id: trunk@35301 -
2012-02-11 12:51:00 +00:00
zeljko
045a3558a4
Gtk2: implemented SM_CYCAPTION system metrics.
...
git-svn-id: trunk@35300 -
2012-02-11 11:56:20 +00:00
mattias
fa6daa7243
gtk2 intf: clean up
...
git-svn-id: trunk@35032 -
2012-01-30 09:22:54 +00:00
martin
53db968eab
GTK2 ScrollWindowEx / flag and prcUpdate
...
git-svn-id: trunk@34889 -
2012-01-23 20:33:24 +00:00
martin
de7c2a8a60
GTK2 ScrollWindowEx / rewrite
...
git-svn-id: trunk@34878 -
2012-01-22 20:41:38 +00:00
mattias
6f4c4b5d3c
gtk2: clean up
...
git-svn-id: trunk@34876 -
2012-01-22 20:25:54 +00:00
martin
b46ea85bc3
GTK2 ScrollWindowEx
...
git-svn-id: trunk@34872 -
2012-01-22 18:12:29 +00:00
zeljko
6e4efa1d2e
Gtk2: fixes all problems with cursor under gtk2 >= 2.18. Patch by Ere Maijala. issue #20313
...
git-svn-id: trunk@34635 -
2012-01-07 09:59:16 +00:00
zeljko
91eda267c1
Gtk2: cleanup
...
git-svn-id: trunk@34519 -
2011-12-30 17:18:18 +00:00
paul
ecdc478798
gtk, gtk2: fix crash in SetSysColors
...
git-svn-id: trunk@34419 -
2011-12-26 06:59:11 +00:00
sekelsenmat
89dd7c918b
Fixes bug #20195 : Removes LCLIntf.Frame in favor of a cross-platform implementation for TCanvas.Frame
...
git-svn-id: trunk@34379 -
2011-12-24 10:52:33 +00:00
zeljko
649fbe7f16
Gtk2: Fixed ScrollWindowEx when region rect is equal clip rect.
...
Gtk2: TGtk2WidgetSet.ShowWindow(), changed behaviour so it's win32 and qt compatibile.Respect SW_SHOW and SW_HIDE if hand
le is PGtkWidget without window.
git-svn-id: trunk@34099 -
2011-12-11 13:58:46 +00:00
zeljko
5522c80015
Gtk2: fixed bug in TGtk2WidgetSet.DrawText() where gtk2 missed to draw text if DT_NOCLIP flag exists.
...
git-svn-id: trunk@34086 -
2011-12-10 15:50:29 +00:00
zeljko
8522c6ff0b
Gtk2: check if window is GDKWindow before processing of updates
...
git-svn-id: trunk@33934 -
2011-12-04 10:41:55 +00:00
zeljko
06b32bf839
Gtk2: TGtk2WidgetSet.ScrollWindowEx() - implemented region moving when prcScroll <> nil.
...
git-svn-id: trunk@33932 -
2011-12-03 20:38:34 +00:00
sekelsenmat
51b8e33ac9
Removes the implementations of GetTextExtentExPoint from Qt and Gtk2 because they were wrong and because the default implementation is cross-platform and correct
...
git-svn-id: trunk@33506 -
2011-11-13 09:09:44 +00:00