Commit Graph

177 Commits

Author SHA1 Message Date
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
3faf42a722 qt: improve GetKeyState - make it more windows compatible
git-svn-id: trunk@14267 -
2008-02-27 06:07:35 +00:00
paul
d424e05321 qt:
- workaround CreatePatterBrush (issue #0010735)
- few changes in createbitmap

git-svn-id: trunk@14160 -
2008-02-16 18:06:23 +00:00
paul
2fd9462bd6 qt: follow carbon way of drawing designer items (though hintwindow is crashing sometimes)
git-svn-id: trunk@14026 -
2008-02-08 08:01:32 +00:00
paul
0d2554b287 qt: correct 3 system colors
git-svn-id: trunk@13983 -
2008-02-06 02:23:36 +00:00
paul
d9f544ab7f qt: workaround GetWindowRect bug
git-svn-id: trunk@13979 -
2008-02-05 05:57:24 +00:00
paul
1df101d12e qt:
- implement getObject for HFONT
- some fixes to TQtFont

git-svn-id: trunk@13966 -
2008-02-03 11:51:39 +00:00
paul
16cac2db2d qt:
- simplify SetScrollInfo
- fix hiding scroll when bRedraw is false
- improve GetScrollInfo
(issue #0010734)

git-svn-id: trunk@13945 -
2008-02-01 18:11:11 +00:00
paul
6f0fd6986d qt: improved scrollbars (no more doubling of scrollbars after control reparenting)
git-svn-id: trunk@13890 -
2008-01-27 09:42:22 +00:00
paul
d76c114093 qt:
- qDrawWinPanel: temporary use own implementation
- complete Frame3D

git-svn-id: trunk@13678 -
2008-01-09 04:40:54 +00:00
paul
a4c149115d qt:
- add qDrawPlainRect, qDrawShadeRect to TQtDeviceContext
- improve Frame3D (not finished) and FrameRect

git-svn-id: trunk@13676 -
2008-01-09 03:35:30 +00:00
paul
da6ce26096 qt: fix 2 bugs in GetWindowRect
git-svn-id: trunk@13587 -
2008-01-02 18:43:27 +00:00
paul
09d6e02546 remove CreatePixmapIndirect
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
3ed6ba4007 TWinControl.PaintTo:
- implementation for win32 and qt
- initial implementation for gtk

git-svn-id: trunk@13209 -
2007-12-07 18:56:17 +00:00
paul
0b543bb9da qt:
- more correct return of QTabWidget ClientBounds (TCustomNotebook)
- restore Combobox text after switching between styles

git-svn-id: trunk@13058 -
2007-11-28 03:30:12 +00:00
paul
8bc69917b1 qt DrawText returned wrong result if text was multiline
git-svn-id: trunk@12970 -
2007-11-22 06:14:30 +00:00
paul
4746af795b Qt: fixed round rect coords (issue #0010178 by Patrick Chevalley)
git-svn-id: trunk@12876 -
2007-11-15 02:47:06 +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
de0119b05e - add CreatePatternBrush for win32 and qt
- fix qt CreateBitmap (winapi expect word alignment while qt needs dword and supports more formats now)
 

git-svn-id: trunk@12864 -
2007-11-14 07:11:42 +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
4c440ab33d qt: correct TQtWidgetSet.DrawFocusRect
git-svn-id: trunk@12688 -
2007-11-02 05:49:31 +00:00
paul
af5c0eef84 qt: make TQtWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12687 -
2007-11-02 05:34:12 +00:00
paul
2ea31e1d92 qt:
- fix previous error in StrechMaskBlt formula (r12581) {Thanks to Felipe and Mattias}
- take transform matrix of Source DC into account while Blitting (issue #0010018)

git-svn-id: trunk@12622 -
2007-10-29 06:42:13 +00:00
paul
72c2520711 qt: slightly change formula in StretchMaskBlt to prevent unneeded stretching (issue #10011)
git-svn-id: trunk@12581 -
2007-10-25 00:54:45 +00:00
zeljko
3de9cce666 Qt: Fixed LineTo() extra point drawing.
git-svn-id: trunk@12397 -
2007-10-09 20:57:59 +00:00
zeljko
096c6ceffd Qt: Repositioned scrollbars creation, fixed issues #9841 and #9864
git-svn-id: trunk@12340 -
2007-10-06 09:21:39 +00:00
paul
6c7ee16314 Qt: cleanup
git-svn-id: trunk@12300 -
2007-10-03 01:53:40 +00:00
zeljko
00578d83f3 Qt: Fixed debugging typos.
git-svn-id: trunk@12294 -
2007-10-02 11:58:37 +00:00
zeljko
df94f4122d Qt: Implemented GradientFill - copied from gtk implementation.
git-svn-id: trunk@12243 -
2007-09-29 16:12:00 +00:00
zeljko
f2c67b9f68 Qt: Comment writeln() in EnableScrollBar()
git-svn-id: trunk@12242 -
2007-09-29 15:33:56 +00:00
zeljko
c565a39dde Qt: Completely rewritten SetScrollInfo() & GetScrollInfo(), now scrollbars works ok and faster since invalidating of scrollbar is out of this routines now. Fixed EnableWindow() bug by reimplementation of SetScrollInfo() & GetScrollInfo().
git-svn-id: trunk@12241 -
2007-09-29 15:01:58 +00:00
zeljko
b9d2ceec0d Qt: Implemented ShowScrollBar() - qtwinapi.
git-svn-id: trunk@12239 -
2007-09-29 11:59:46 +00:00
zeljko
0c0bf8b39e Qt: use new getHeight & getWidth for TQtWidgets.
git-svn-id: trunk@12237 -
2007-09-29 11:06:13 +00:00
zeljko
5bdb68667e Qt: More winapi & TQtWidget routines implemented.
git-svn-id: trunk@12236 -
2007-09-29 10:54:55 +00:00
zeljko
62639b92b8 Qt: Small fix for TQtWidgetSet.TextOut()
git-svn-id: trunk@12233 -
2007-09-29 10:19:47 +00:00
paul
88dd7363cd Qt:
- improve keyhandling a bit
- remove some workarounds

git-svn-id: trunk@12205 -
2007-09-28 03:30:19 +00:00
zeljko
d1820a086c (Qt): ExtTextOut() bugfix. it's real boost for synedit now :)
git-svn-id: trunk@12201 -
2007-09-27 17:03:13 +00:00
paul
b2eddb8790 Qt: more GetSystemMetrics
git-svn-id: trunk@12191 -
2007-09-27 02:23:21 +00:00
paul
767f96d04f Qt: correct ExcludeClipRect
git-svn-id: trunk@12189 -
2007-09-27 01:34:44 +00:00
paul
13c1fd094c Qt:
- restored painting inside groupbox
- fix IntersectClipRect
- fix DrawText (clipping)

git-svn-id: trunk@12188 -
2007-09-27 01:16:33 +00:00
paul
d65866183a Qt:
- reimplement sendmessage same way as postmessage is done

git-svn-id: trunk@12174 -
2007-09-25 06:33:33 +00:00
paul
422599fafd Qt:
- fix bug with TQtCaret (no need to add 2 to pos anymore)
- revert some changes from previous commit

git-svn-id: trunk@12172 -
2007-09-25 02:51:23 +00:00
paul
a5a7bd7796 Qt:
- more checks while setting / getting scroll info
- another trial to speedup TCustomControl

git-svn-id: trunk@12171 -
2007-09-25 01:57:10 +00:00
paul
5269651533 Qt: implement PostMessage as postponed TWinControl.Perform
git-svn-id: trunk@12164 -
2007-09-24 12:37:29 +00:00
zeljko
8733c0037d (Qt): Reimplemented qtwinapi GetParent(), old implementation could fail with result - wrong parent returned. Check for nil parameter in QtObjectFromWidgetH() routine.
git-svn-id: trunk@12149 -
2007-09-23 09:01:38 +00:00
paul
60d836ccf8 widgetset: implement basic DrawFrameControl using TThemeServices class (no need for DrawFrameControl anymore in carbon, qt and maybe gtk widgetsets)
git-svn-id: trunk@12147 -
2007-09-23 06:48:16 +00:00
zeljko
4a83d24899 (Qt): Small fix in CreatePolygonRgn()
git-svn-id: trunk@12138 -
2007-09-22 18:26:16 +00:00
paul
589219fcdc Qt: implement SendMessage
git-svn-id: trunk@12137 -
2007-09-22 17:34:53 +00:00
paul
08ba2c42af Qt: trial to sppedup qt paintings through -dQtGraphicsSpeedUp
git-svn-id: trunk@12134 -
2007-09-22 13:02:04 +00:00
zeljko
7da21924fb (Qt): Commited workaround for issue #9746 (ListOutOfBounds in TCustomListView), fixed warning about uninitialized variable in EnumFontFamiliesEx()
git-svn-id: trunk@12117 -
2007-09-21 18:53:38 +00:00