paul
116b83b78c
gtk:
...
- don't compare GC with nil (it will create you a new GC on the fly) but use HasGC
- minor formatting
git-svn-id: trunk@16824 -
2008-10-01 09:13:07 +00:00
paul
05e23ab608
qt: if nil is passed to GetObject return needed Size
...
qt, gtk: forget that GetObject.Result = SizeOf structure
git-svn-id: trunk@16806 -
2008-09-30 05:45:19 +00:00
paul
d31a48a9d4
gtk, gtk2: implement GetObject for HPEN
...
git-svn-id: trunk@16805 -
2008-09-30 05:23:04 +00:00
paul
d8ca7e8a1b
cleanup
...
git-svn-id: trunk@16784 -
2008-09-29 06:35:28 +00:00
paul
d0f9e88743
gtk, gtk2: PolyLine must skip last point draw to be delphi/win32 compatible
...
git-svn-id: trunk@16689 -
2008-09-23 23:29:10 +00:00
paul
eee75551b6
gtk: don't try to draw Text if Rect is empty
...
git-svn-id: trunk@16665 -
2008-09-21 13:32:30 +00:00
mattias
d8ca4194ff
gtk2 intf: enabling gtk threading when thread manager is set
...
git-svn-id: trunk@16475 -
2008-09-07 23:16:18 +00:00
mattias
8acfc91bed
gtk1+2 intf: added comment about wake up gtk main loop from another threa
...
git-svn-id: trunk@16329 -
2008-08-31 11:28:31 +00:00
mattias
5e37b07ce5
gtk1+2 intf: made FMessageQueue thread safe
...
git-svn-id: trunk@16328 -
2008-08-31 11:18:41 +00:00
mattias
4b50534529
gtk intf: added safety check
...
git-svn-id: trunk@16310 -
2008-08-30 19:26:18 +00:00
mattias
67ebb5aa2d
gtk2: fixed compilation for fpc 2.2.2
...
git-svn-id: trunk@16156 -
2008-08-20 08:50:21 +00:00
mattias
b340abac03
gtk1: fixed GetCursorPos
...
git-svn-id: trunk@16103 -
2008-08-18 07:38:30 +00:00
mattias
8889f04e1d
clean up
...
git-svn-id: trunk@16100 -
2008-08-18 06:56:53 +00:00
mattias
c81aab571f
fixed uninitialized function results
...
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
5f699ac8b2
gtk2: implemented TCanvas.ClipRect during paint, improved hiding/drawing caret with double buffer
...
git-svn-id: trunk@15865 -
2008-07-25 14:42:09 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
92fb8c2d5e
gtk: add default values for SM_CXICON and friends
...
git-svn-id: trunk@15736 -
2008-07-10 13:57:39 +00:00
paul
dabde77f8b
lcl (from me and Marc):
...
- create bitmaps for icon in with icon description instead of alpha bitmaps (fixes #0011514 , #0011539 )
- add support for gtk mono cursors
- fix gtk2 shifts on pixbufs (gtk2 bug)
- misc graphic fixes
git-svn-id: trunk@15557 -
2008-06-24 03:45:36 +00:00
mattias
96e855ad53
LCL: TControlScrollBar: implemented hiding scrollbar, bug #11491
...
git-svn-id: trunk@15470 -
2008-06-19 10:41:09 +00:00
paul
db26dddf06
gtk1, gtk2: Add CreateIconIndirect implementation which returns pixbuf. Move CreateCursor code there and remove its declaration.
...
git-svn-id: trunk@15457 -
2008-06-18 09:14:27 +00:00
mattias
e3520a6d50
gtk intf: reduced warnings/notes - use -dVerboseLCLTodos and -dVerboseGtkTodos to see them
...
git-svn-id: trunk@15422 -
2008-06-14 12:04:46 +00:00
paul
1cd9bfb7a0
TextRect: pass DT_EXPANDTABS to DrawText if Style.ExpandTabs is true
...
DrawText: qt, gtk - add support for DT_EXPANDTABS
TCustomLabel: draw with ExpandTabs = true (issue #0011050 )
git-svn-id: trunk@14702 -
2008-04-01 02:34:47 +00:00
paul
11de6af8b9
decapitalize all procedure and function keywords to make all looks the same
...
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
40c9844f59
GetKeyState:
...
- gtk1, gtk2: implement pressed state for mouse buttons
- qt: return state for X mouse buttons
git-svn-id: trunk@14294 -
2008-02-28 06:07:29 +00:00
paul
083521d007
gtk:
...
- fix GetKeyState (only keys state at moment)
- gtk drag/dock for windows
git-svn-id: trunk@14277 -
2008-02-27 12:54:30 +00:00
mattias
11d6ac41f5
translations: fixed spelling mistake, fixed crash when rst file not found, updated german translation from Joerg Braun
...
git-svn-id: trunk@14245 -
2008-02-25 14:36:59 +00:00
sekelsenmat
fc312ff2bb
Removes the obsolete CListBox under gtk and qt.
...
git-svn-id: trunk@14176 -
2008-02-18 07:02:01 +00:00
mattias
348cc7798a
LCL: small cleanups
...
git-svn-id: trunk@14021 -
2008-02-07 18:52:11 +00:00
mattias
377ac8850f
gtk intf: preventing deleting stock font object
...
git-svn-id: trunk@13998 -
2008-02-06 12:51:53 +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
paul
dff1565eb1
gtk2:
...
- enable GetObject for HFont
- use MulDiv in font size calculation instead of *, div (as in font.inc) (Grzegorz Zakrzewski)
- use PixelsPerInchY instead of PixelsPerInchX (Grzegorz Zakrzewski)
- minor formatting
git-svn-id: trunk@13985 -
2008-02-06 04:37:06 +00:00
paul
b66fdb0bab
gtk: remove LM_INTERNALPAINT and related things
...
git-svn-id: trunk@13848 -
2008-01-24 01:37:40 +00:00
paul
e48133ad74
gtk: perform erasing background on non opaque controls
...
git-svn-id: trunk@13842 -
2008-01-23 10:21:20 +00:00
paul
bdb8aa451e
gtk:
...
- added some missed function to extra
- correct GetWindowRect
git-svn-id: trunk@13665 -
2008-01-08 09:33:43 +00:00
paul
c8d52d15d6
gtk:
...
- remove FinishComponentCreate: code moved to appropriate ws classes
- remove HookSignals (same reason)
git-svn-id: trunk@13537 -
2007-12-30 18:15:53 +00:00
paul
9e76d7e615
remove OldRawImageProcs
...
git-svn-id: trunk@13495 -
2007-12-28 06:05:12 +00:00
paul
09d6e02546
remove CreatePixmapIndirect
...
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
79fbbcfde2
repair VerboseFocus for gtk2
...
git-svn-id: trunk@13326 -
2007-12-14 04:17:15 +00:00
mattias
2261662fc3
gtk2 intf: removed some unused variables and fixed TNoteBook.ClientOrigin
...
git-svn-id: trunk@13109 -
2007-12-01 23:33:54 +00:00
mattias
8ac236ef4e
gtk intf: removed unused vras
...
git-svn-id: trunk@12988 -
2007-11-23 15:48:05 +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
paul
f90b1ff958
change gtk DrawText formatting a bit
...
git-svn-id: trunk@12969 -
2007-11-22 06:09:40 +00:00
paul
821fdb9802
gtk: fix DrawText - it should return height of resulting text instead of 0/1
...
git-svn-id: trunk@12968 -
2007-11-22 06:03:32 +00:00
paul
c6a5a6d431
- use CreateBrushIndirect for gtk and qt to implement CreatePatternBrush
...
- use changes of Luiz Americo from 0008814 to pattern brush
git-svn-id: trunk@12874 -
2007-11-15 01:55:33 +00:00
paul
c3039af8d3
gtk DrawText: if count = -1 then use StrLen to get actual count (as in winapi)
...
git-svn-id: trunk@12868 -
2007-11-14 09:03:53 +00:00
paul
63b2e4b144
gtk: add ref to pixmap in CreatePatternBrush
...
git-svn-id: trunk@12867 -
2007-11-14 08:50:41 +00:00
paul
129ee739df
gtk: implement CreatePatternBrush
...
git-svn-id: trunk@12865 -
2007-11-14 07:25:17 +00:00
paul
c80a848d46
GetSystemMetrics: added SM_CYSIZEFRAME for gtk and qt
...
git-svn-id: trunk@12795 -
2007-11-09 08:25:33 +00:00
paul
fd746ab2f9
gtk1/2: implement GetSystemMetrics(SM_CXTHUMB/SM_CYTHUMB)
...
git-svn-id: trunk@12753 -
2007-11-06 09:11:58 +00:00
mattias
bbf3a6393a
images: made vase transparent
...
git-svn-id: trunk@12724 -
2007-11-03 19:01:50 +00:00