juha
7548ba8e96
LCL: Support for TImage.AntialiasingMode (stretching). Implement Win32 and GTK2. Issue #22205 , patch from Chronos
...
git-svn-id: trunk@39894 -
2013-01-19 17:42:38 +00:00
juha
7b19e58f07
LCL: Implement function SetRectRgn for Windows and Gtk(2). Issue #23288 , patch from Valdinilson Lourenço da Cunha
...
git-svn-id: trunk@39263 -
2012-11-07 22:56:59 +00:00
juha
32fa5fe6c5
LCL: Implement function EqualRgn for Windows and Gtk(2). Issue #23287 , patch from Valdinilson Lourenço da Cunha
...
git-svn-id: trunk@39262 -
2012-11-07 22:56:49 +00:00
juha
2f0ee470cb
LCL: Implement function PaintRgn for Windows and Gtk(2). Issue #23286 , patch from Valdinilson Lourenço da Cunha
...
git-svn-id: trunk@39261 -
2012-11-07 22:53:54 +00:00
juha
2ed0e7a34c
LCL: implement PtInRegion for GTK2 and RectInRegion for all widgetsets properly
...
git-svn-id: trunk@39160 -
2012-10-25 00:19:00 +00:00
paul
a152f6fb8f
win32: return normal size for minimized windows in GetWindowSize() - fixes issue #0021508
...
git-svn-id: trunk@36184 -
2012-03-21 02:51:15 +00:00
paul
5a475a393d
win32: handle SW_SHOWFULLSCREEN in TWin32WidgetSet.ShowWindow
...
git-svn-id: trunk@36183 -
2012-03-21 01:43:45 +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
paul
cd6febc8f8
lcl: replace UTF8String with String type
...
git-svn-id: trunk@33552 -
2011-11-16 05:52:31 +00:00
jesus
7d583e3b30
LCL, win, use rop on BitBtl and StretchBlt, issue #20613
...
git-svn-id: trunk@33319 -
2011-11-05 05:21:08 +00:00
sekelsenmat
926a51a81f
Some clarification comments
...
git-svn-id: trunk@33317 -
2011-11-05 04:40:43 +00:00
sekelsenmat
eaa3a52df0
Adds a cross-platform implementation for LCLIntf.GetTextExtentExPoint
...
git-svn-id: trunk@33315 -
2011-11-05 04:36:48 +00:00
sekelsenmat
2ce733728d
Introduces TCanvas.TextFitInfo and implements LCLIntf.GetTextExtentExPoint for Win32
...
git-svn-id: trunk@33215 -
2011-11-02 11:11:28 +00:00
juha
ae0edb7828
LCL Win32: take care of more clipboard formats. Issue #20089 , patch from Flávio Etrusco
...
git-svn-id: trunk@32726 -
2011-10-07 07:23:49 +00:00
juha
cd513d16e3
LCL: Fix clipboard format of pictures under Windows. Issue #20089 , patch from Flávio Etrusco
...
git-svn-id: trunk@32342 -
2011-09-14 22:16:53 +00:00
blikblum
d05fb70212
win32: FillRgn does not change DC region so not necessary to save the previous value
...
git-svn-id: trunk@31287 -
2011-06-19 23:39:30 +00:00
juha
b3dbb6e552
LCL Win: Call Windows FillRgn and SetStretchBltMode from cross-platform code. Patch from Bernd Gabriel
...
git-svn-id: trunk@31277 -
2011-06-19 06:47:30 +00:00
paul
1106bb17a4
win32: reduce warnings and hints
...
git-svn-id: trunk@30015 -
2011-03-25 09:04:25 +00:00
paul
d3caac78b7
win32: cleanup
...
git-svn-id: trunk@30013 -
2011-03-25 08:56:24 +00:00
paul
cbb791a543
win32: replace default CreateRoundRectRGN with a winapi call (issue #0018125 )
...
git-svn-id: trunk@29849 -
2011-03-15 04:34:00 +00:00
paul
dd4583c8bf
win32: check win32 code for correctness after Assert->DebugLn replacement, fix ObjectToHWND, remove TraceEvent, remove all commented DebugLn
...
git-svn-id: trunk@29828 -
2011-03-14 02:32:50 +00:00
juha
eb49696a40
Windows: fix compilation with DebugLn.
...
git-svn-id: trunk@29823 -
2011-03-13 20:10:25 +00:00
juha
01db3bb47c
LCL (mostly), Replace Assert(False... with //DebugLn(... Now Assert can be used for its original purpose again.
...
git-svn-id: trunk@29820 -
2011-03-13 18:21:51 +00:00
paul
0f516fc6ef
win32: set WindowPlacement.Length before the call of GetWindowPlacement
...
git-svn-id: trunk@29754 -
2011-03-09 03:20:36 +00:00
juha
0928ead547
LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
...
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
paul
0677e4c2b9
lcl: another bunch of TColorRef <-> TColor conversion
...
git-svn-id: trunk@29715 -
2011-03-03 09:19:34 +00:00
paul
3aace13834
lcl: fix TColor -> TColorRef assignments and vice versa
...
git-svn-id: trunk@29713 -
2011-03-03 08:35:06 +00:00
paul
7a9b188e2c
lcl, win32, wince, qt, gtk2, carbon: implement OffsetRGN winapi compatible function
...
git-svn-id: trunk@29697 -
2011-03-01 07:37:42 +00:00
sekelsenmat
75192fa3f6
Fixes drawing of arcs in Windows with negative length and updates the parameter names in LCLIntf.Arc to the correct names which fully describes a arc: startangle and length
...
git-svn-id: trunk@29633 -
2011-02-21 11:07:26 +00:00
paul
ec810a0892
win32: exclude border and caption only from Forms and not from child windows (first part of bug #0016764 )
...
git-svn-id: trunk@28826 -
2010-12-27 08:06:02 +00:00
vincents
89ae509848
win32 interface: use same parameter names for Frame3D as other widget sets and TWidgetSet.
...
git-svn-id: trunk@28457 -
2010-11-24 14:33:23 +00:00
paul
d57e6262e0
win32: don't ignore frame width in Frame3D (issue #0018006 )
...
git-svn-id: trunk@28391 -
2010-11-22 03:25:34 +00:00
paul
d35e85a332
win32: restore wm_erasebkgnd default handler after clDefault experiments
...
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls
git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
8944d373f9
win32, lcl: further work on clDefault implementation
...
git-svn-id: trunk@28111 -
2010-11-07 12:54:33 +00:00
paul
d9dba370df
win32: start clDefault implementation
...
git-svn-id: trunk@28108 -
2010-11-06 16:55:08 +00:00
paul
019f77c33d
gtk2: don't change the focus on GetCapture call. gtk_grab_add do all the required job
...
win32: improve the debugging
git-svn-id: trunk@28094 -
2010-11-05 10:56:38 +00:00
martin
89bc817f68
Fix getting too much string data from clipboard (w32 only). Issue #16483 Based on patch by Bart Broersma
...
git-svn-id: trunk@27553 -
2010-10-03 19:37:32 +00:00
blikblum
d2ab60647a
lcl,win32: implement GetBkColor. Issue #14792
...
git-svn-id: trunk@27388 -
2010-09-16 19:02:43 +00:00
paul
35a4f8ad05
lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065 )
...
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
paul
b18be4646a
lcl: fix ControlAtPos when it search recursively by Martin Friebe (issue #0014256 )
...
git-svn-id: trunk@26660 -
2010-07-15 06:25:51 +00:00
blikblum
2b652bd86c
lcl/win32: Add GetCurrentObject. Implement under win32. Part of 14792
...
git-svn-id: trunk@26256 -
2010-06-22 17:03:04 +00:00
paul
b4c23c4585
win32: formatting
...
git-svn-id: trunk@25475 -
2010-05-17 02:15:56 +00:00
paul
bc8f5f3d69
lcl: map LM_PAINT to WM_PAINT message number, don't perform any special handling if control has no doublebuffering and Message.DC = 0
...
win32: don't use doublebuffing and other hacks for TBitBtn wm_paint handler - pass the message to LCL as is (windows 7 glue is not visible on focused bit buttons, to be done for regular buttons too)
git-svn-id: trunk@25400 -
2010-05-14 09:55:36 +00:00
paul
256161bfc7
lcl: add LPtoDP - symmetrical to DPtoLP winapi compatibility method
...
win32: implement LPtoDP, DPtoLP
qt: implement LPtoDP
git-svn-id: trunk@25236 -
2010-05-07 07:08:43 +00:00
paul
365cf5ddde
win32: fix record initialization in TWin32WidgetSet.GetWindowSize
...
git-svn-id: trunk@25232 -
2010-05-07 03:03:48 +00:00
paul
8e045a3736
win32: redo SpinEdit control:
...
- don't use CreateUpDownControl since it is deprecated for win32 (was made for 16bit win 3.1)
- return Edit window handle as handle instead of UpDown
git-svn-id: trunk@25229 -
2010-05-07 02:47:44 +00:00
paul
9e2134c1a2
lcl: use GetSysColorBrush if solid brush needs to be created with system color
...
win32: call Windows.GetSysColorBrush for lclintf.GetSysColorBrush
git-svn-id: trunk@25128 -
2010-05-02 09:25:41 +00:00
paul
676c706e5c
lcl, win32: implement loading icon,cursor from an icon handle (HICON) (GetInfoInfo needs to be implement for other widgetsets to support on other platforms), issue #0016356
...
git-svn-id: trunk@25024 -
2010-04-28 08:52:16 +00:00
zeljko
f8cb0875ea
win32: added IsWindow()
...
git-svn-id: trunk@24284 -
2010-03-29 12:45:42 +00:00
paul
db2312a9d8
win32: revert r24144 #7174f32749
...
git-svn-id: trunk@24206 -
2010-03-25 07:20:24 +00:00