Commit Graph

107 Commits

Author SHA1 Message Date
paul
df6f72a520 lcl, widgetsets: remove IntfSendsUTF8KeyPress from the widgetset interfaces implementation and call GetLCLCapability instead inside the generic function body
git-svn-id: trunk@36446 -
2012-03-30 08:28:34 +00:00
juha
a21fbde6ef LCL: Make MessageDlg default button work on Windows 7. Issue #19863, patch from Bart Broersma
git-svn-id: trunk@32035 -
2011-08-22 18:29:58 +00:00
paul
2e3d386b9e win32, wince: make sure all LoadIcon, LoadCursor go to windows unit instead of graphics
git-svn-id: trunk@30010 -
2011-03-25 06:04:41 +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
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
c2aca4cd85 lcl: replace TWidgetSet.AppHandle function with a readwrite property
git-svn-id: trunk@29278 -
2011-02-01 04:10:57 +00:00
paul
82b51df5c8 win32: use MainFormHandle in some places instead of MainForm.Handle
git-svn-id: trunk@29264 -
2011-01-31 08:45:57 +00:00
paul
ab02ee49aa lcl: redo QuestionDialog buttons usage, move buttons to outer class for use in widgetsets
win32: implement QuestionDialog for Vista+ systems

git-svn-id: trunk@28448 -
2010-11-24 10:12:28 +00:00
paul
4bcf14762c win32: show text in TaskDialog as Content instead of Main Instruction
git-svn-id: trunk@28237 -
2010-11-15 01:36:37 +00:00
paul
8e99ab359b win32: use TaskDialogIndirect for MessageDlg and ShowMessage on windows vista+
git-svn-id: trunk@28198 -
2010-11-13 07:42:13 +00:00
paul
b83df84f67 win32: use standard hand point cursor (issue #0017432)
git-svn-id: trunk@27744 -
2010-10-18 04:45:18 +00:00
marc
74c55b5b4e * Take lineorder into account when creating bitmap
git-svn-id: trunk@27377 -
2010-09-15 23:22:25 +00:00
marc
fd72ca7ff3 * Use DstBpp instead of SrcDepth when calculating DstLineSize (fixes #0017234)
* Use SrcBytes (=3) for 24Bpp images when RGB indices require a pixel copy

git-svn-id: trunk@27376 -
2010-09-15 22:59:16 +00:00
marc
74596e95e8 * Don't use ADesc.Depth as biBitCount, it can only be used in case of a 24 bits image. Fixes #0017234
git-svn-id: trunk@27235 -
2010-08-29 16:30:24 +00:00
marc
a65d1b9fc1 * Convert rgb(a) bitmap data if data in different order. Modified patch #0016304 by Denis Golovan
git-svn-id: trunk@27044 -
2010-08-09 22:55:52 +00:00
paul
fe54310b0f lcl: introduce new widgetset functions for rubberband creation and moving, implement them for win32, qt and gtk2
git-svn-id: trunk@26446 -
2010-07-03 15:25:36 +00:00
paul
195d1c5013 win32: improve DrawDefaultDockImage - use it with winxp too since it looks prettier, prevent window and application deactivation
git-svn-id: trunk@26439 -
2010-07-03 09:20:13 +00:00
paul
a849dbc99a win32: use highlight color for transparent dock drawing, fix drawing for the case when no theme engine is used
git-svn-id: trunk@26312 -
2010-06-29 01:16:27 +00:00
paul
7ddd34c18c win32: implement dock image using alpha-transparent window for windows >= vista (issue #0016782)
git-svn-id: trunk@26309 -
2010-06-28 08:22:32 +00:00
dmitry
a5fd959f77 win32: changed DrawGrid to use widgetset DCSetPixel, instead of Windows.SetPixel
git-svn-id: trunk@25291 -
2010-05-10 09:34:19 +00:00
paul
9b24fc25c2 win32: don't perform check 'is TCustomCalendar' in widgetset code
git-svn-id: trunk@23629 -
2010-02-04 04:27:43 +00:00
paul
88d281329b lcl: remove TWidgetset.DrawArrow which got a TArrow control and TCanvas as arguments, move some implementations to TWSArrow classes
git-svn-id: trunk@23626 -
2010-02-04 04:06:00 +00:00
paul
048789bd19 win32: move GetDesignerDC, ReleaseDesignerDC to the appropriate files, implement IsDesignerDC
git-svn-id: trunk@21835 -
2009-09-23 12:00:42 +00:00
paul
c92f6641d1 lcl: replace TWidgetSet.LoadStockPixmap by ThemeServices.GetStockImage
git-svn-id: trunk@19769 -
2009-05-02 15:36:56 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
paul
397d98136b lcl:
- MaskHandleNeeded create default mask now if TransparentMode = tmAuto and mask by color in case of TransparentMode = tmFixed
  - BitmapHandleNeeded does not create mask if TransparentMode = tmFixed or MaskHandle is already present

This fixes some issues with changing of TransparentColor.

git-svn-id: trunk@16250 -
2008-08-26 03:01:50 +00:00
paul
a6461c8562 win32: remove occasional commited debug code
git-svn-id: trunk@16233 -
2008-08-25 14:56:00 +00:00
paul
f4a27a76a4 lcl: don't create mask in SetTransparentColor, but remove old if exists. Create mask on demand. fixes #0011903
git-svn-id: trunk@16232 -
2008-08-25 14:53:36 +00:00
paul
8c1f0ed08d win32: override DrawGrid, use old way since it works 2-4 times faster on slow machines (win98) or through terminal server on xp. Although it works indeed slower on direct session on fast machine.
git-svn-id: trunk@16188 -
2008-08-22 16:55:05 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
marc
b972e96632 * changed QueryDescription out param into var since it is allowed to update the description too (in that case it should be var).
git-svn-id: trunk@15810 -
2008-07-17 22:48:45 +00:00
marc
a0853e7841 * Return alpha description when asked for
git-svn-id: trunk@15765 -
2008-07-13 18:47:07 +00:00
marc
c1820846a9 Issue #11571:
* on Carbon color  DC bitmaps are always 32bpp, our description specifies this, bitmapinfo should skip alpha when no alpha present
* only reduce bitsperpixel to 24bit on win32

git-svn-id: trunk@15714 -
2008-07-09 00:10:47 +00:00
vincents
9e94fa854d win32 interface: fixed compiler warning about mixed sign calculations
git-svn-id: trunk@15624 -
2008-06-30 09:04:58 +00:00
paul
c8d58add6a lcl:
- revert TLazIntfImage.HasMask (it was indeed right)
 - improve a bit TWin32WidgetSet.RawImage_CreateBitmaps

git-svn-id: trunk@15597 -
2008-06-27 15:36:15 +00:00
paul
9ecd69546b win32: create non-dib in case of bitsperpixel = 1 and boundary = word
git-svn-id: trunk@15581 -
2008-06-27 05:08:38 +00:00
marc
d43db7b7f3 * Splitup of TBitmap into TRasterImage, TCustomBitmap, TFPImageBitmap and TBitmap
* Implemented TIcon and reading .ico (including Vista icons)

git-svn-id: trunk@15472 -
2008-06-20 00:21:07 +00:00
paul
d0a99f8c64 win32: revert some constraints, restrict progress bar constraint only for themed windows
git-svn-id: trunk@14937 -
2008-04-23 11:55:32 +00:00
sekelsenmat
cfe715b953 Adds minimum height for ProgressBar under win32. Fixes #10626
git-svn-id: trunk@14926 -
2008-04-22 00:16:26 +00:00
vincents
95e234bd6e win32 interface: improved wm_char handling
git-svn-id: trunk@14770 -
2008-04-07 08:46:39 +00:00
paul
2b483d841f inline few functions
git-svn-id: trunk@14373 -
2008-03-03 06:39:51 +00:00
paul
921cee3b57 win32: make DrawDefaultDockImage more windows like
git-svn-id: trunk@14372 -
2008-03-03 06:38:54 +00:00
paul
8e4a1950a9 more potential range check errors
git-svn-id: trunk@14253 -
2008-02-26 04:30:37 +00:00
paul
a5b4f9d12f fix key handling of edit part of csSimple combobox (0007318)
git-svn-id: trunk@14249 -
2008-02-26 02:31:35 +00:00
paul
3d629400eb win32: don't constraint and autosize csSimple combobox
git-svn-id: trunk@14242 -
2008-02-25 07:42:01 +00:00
paul
e158ce57ae reduce warnings and hints
git-svn-id: trunk@14099 -
2008-02-12 05:47:43 +00:00
paul
4e33251c35 bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00
paul
9e76d7e615 remove OldRawImageProcs
git-svn-id: trunk@13495 -
2007-12-28 06:05:12 +00:00
paul
da798a9f11 win32 device dependent bitmaps doesnot have alpha in any case (solves 0010299)
git-svn-id: trunk@13314 -
2007-12-13 10:42:15 +00:00
paul
134a65e9b5 win32: fix win98 crash when screen color depth < 16bpp (with Marc's help)
git-svn-id: trunk@12851 -
2007-11-13 10:13:07 +00:00