juha
9278af1408
LCL: Allow external ColorDialog for custom operations in TColorBox and TColorListBox. issue #39189 , patch by jamie philbrook.
...
git-svn-id: trunk@65426 -
2021-07-09 09:14:19 +00:00
juha
9046b533af
LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
...
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
juha
077ebbe494
Optimise string manipulation. Reduce calls to Copy().
...
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
368225808a
LCL: Remove deprecated TComboBox.ReadOnly.
...
git-svn-id: trunk@63110 -
2020-05-01 21:12:54 +00:00
juha
7f45a8a146
LCL: Paint a cross mark also in TColorListbox for clNone. Issue #34632 , patch from AlexeyT.
...
git-svn-id: trunk@59807 -
2018-12-12 21:08:39 +00:00
juha
5c4bd12dd3
LCL: Publish OnMouseWheelHorz/Left/Right events for most controls. Issue #34683 , patch from AlexeyT.
...
git-svn-id: trunk@59801 -
2018-12-12 11:33:10 +00:00
ondrej
0cd8ed04e5
LCL: combobox, listbox: fix drawing of customdrawn items. Change TOwnerDrawStateType.odPainted to odBackgroundPainted
...
git-svn-id: trunk@55304 -
2017-06-10 11:43:19 +00:00
ondrej
083ef5923c
LCL: rename TControl.ScaleCoord* methods
...
git-svn-id: trunk@55022 -
2017-05-20 10:02:25 +00:00
ondrej
575c84d642
lcl: colorbox: high-dpi: ColorRectWidth. Issue #31768
...
git-svn-id: trunk@54913 -
2017-05-14 08:41:56 +00:00
juha
e2932283ec
Revert r49699 #57795c6d42, "LCL: Prevent opening custom color selection dialog in ColorBox wrongly."
...
git-svn-id: trunk@49869 -
2015-09-23 09:19:55 +00:00
juha
57795c6d42
LCL: Prevent opening custom color selection dialog in ColorBox wrongly. Issue #28549 , patch from Janusz Tomczak.
...
git-svn-id: trunk@49699 -
2015-08-21 11:17:27 +00:00
juha
89b1411c3f
LCL: Improve property ColorBox.ColorRectOffset. Issue #28135 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49135 -
2015-05-22 20:20:34 +00:00
juha
8214b4e6ee
LCL: New property ColorBox.ColorRectOffset. Issue #28135 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49110 -
2015-05-19 17:13:38 +00:00
bart
2ef47b3812
ColorListBox: use same logic for Style as TColorBox. Issue #0027397 .
...
git-svn-id: trunk@47583 -
2015-02-02 18:21:18 +00:00
juha
51ab663b7f
LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781 , patch from Sandro Cumerlato.
...
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
juha
94f04cc3f2
LCL: Improved painting of the clNone color icon in TColorBox. Issue #26707 , patch from wp.
...
git-svn-id: trunk@46191 -
2014-09-11 18:03:30 +00:00
mattias
856f36c29c
IDE: options: messages: colors
...
git-svn-id: trunk@45197 -
2014-05-27 13:16:16 +00:00
juha
ccd509acfc
LCL: Add ColorRectWidth property to TCustomColorBox. Issue #24761 , patch from Michael Fuchs
...
git-svn-id: trunk@42131 -
2013-07-18 13:04:41 +00:00
juha
7b162087fd
Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
41d9e5262e
LCL: Add ColorRectWidth property to TColorListBox. Issue #24041 , patch from Michael Fuchs
...
git-svn-id: trunk@40554 -
2013-03-15 13:09:47 +00:00
zeljko
d444ee76f9
LCL: ColorBox - keep FSelected in sync all the time. fixes issue #22729
...
git-svn-id: trunk@38396 -
2012-08-27 08:57:04 +00:00
zeljko
a595df99d1
LCL: fix colorbox displaying standard colors. issue #19055
...
git-svn-id: trunk@35611 -
2012-02-27 19:18:58 +00:00
zeljko
ac028a407b
TCustomColorComboBox: trigger custom color dialog on OnCloseUp instead of OnChange.Patch by theo. issue #20924
...
git-svn-id: trunk@34337 -
2011-12-21 07:00:56 +00:00
paul
cf37ea98d1
lcl: bidi mode support for TColorBox, TColorListBox from Zeher Dirkey (issue #0015001 )
...
git-svn-id: trunk@22449 -
2009-11-05 15:01:57 +00:00
paul
2f6201ed2e
lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575 )
...
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
paul
49fffeed25
lcl: fix TColorBox bug introduced in #0014552
...
git-svn-id: trunk@21639 -
2009-09-09 22:52:48 +00:00
paul
747eead0bb
lcl: TColorBox: trigger OnChange event when manually change selected color (by Denis Golovan, issue #0014516 )
...
git-svn-id: trunk@21588 -
2009-09-06 10:55:38 +00:00
sekelsenmat
9d1b80451a
Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
...
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
68603b956b
lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
...
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
35789f98bf
lcl: allow to translate more color names
...
git-svn-id: trunk@17642 -
2008-12-01 03:09:17 +00:00
paul
25088aa92b
lcl: call colorbox custom color dialog *before* firing Change event
...
git-svn-id: trunk@17629 -
2008-11-29 12:59:22 +00:00
paul
0b67eb27a2
lcl: workaround fpc 2.2 compilation from fpk
...
git-svn-id: trunk@17453 -
2008-11-19 23:16:00 +00:00
paul
8220969ef4
lcl: Colors
...
- add clMenuBar, clMenuHighlight system colors
- add pretty names for windows system colors
git-svn-id: trunk@17439 -
2008-11-19 12:20:13 +00:00
paul
ab459c3829
lcl: try to fix colorbox compilation for 64bit
...
git-svn-id: trunk@17342 -
2008-11-11 14:43:14 +00:00
paul
b36d20730f
lcl:
...
- add TColorBox.CustomColors property (as delphi has)
- populate TColorBox.CustomColors with standard + extended colors
- add function to extract ColorIndex and ColorValue from CustomColors list
win32:
- split TWin32WSColorBox code between CreateHandle, FreeHandle and ShowModal
- use TColorBox.CustomColors to populate win32 colorbox custom colors (todo for qt, gtk2, carbon?)
git-svn-id: trunk@17337 -
2008-11-11 10:39:22 +00:00
paul
8277d0556e
lcl: don't fire ColorDialog when TColorListBox ItemIndex was changed by LCL code
...
git-svn-id: trunk@17334 -
2008-11-11 04:43:02 +00:00
paul
3bf7576397
lcl: fix some troubles with ColorBox, ColorListBox under gtk2
...
git-svn-id: trunk@17332 -
2008-11-11 04:05:56 +00:00
paul
3db97beca1
lcl: reimplement TColorBox, TColorListBox to be more delphi compatible
...
git-svn-id: trunk@17330 -
2008-11-11 04:01:16 +00:00
paul
dd34b2fc9f
lcl: extract TCustomColorBox from TColorBox, TCustomColorListBox from TColorListBox
...
git-svn-id: trunk@17274 -
2008-11-08 11:38:20 +00:00
paul
3374c666b8
lcl: publish OnUTF8KeyPress
...
git-svn-id: trunk@16520 -
2008-09-10 09:22:59 +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
f8e055073d
publish some properties (from Aleksey Lagunov)
...
git-svn-id: trunk@13413 -
2007-12-22 09:17:19 +00:00
paul
7bb6447b50
lcl: added support for custom colors to TColorBox (from Nikolay Ermolov)
...
git-svn-id: trunk@12401 -
2007-10-10 08:47:52 +00:00
vincents
8609307af8
LCL : Changed TColorBox.Selection to TColorBox.Selected (bug #9498 )
...
git-svn-id: trunk@11863 -
2007-08-25 21:50:38 +00:00
marc
04b4e27b62
* Implemented basic alpha support
...
* Implemented LCL side of imagelist
* restructured rawimage to more OO
Merged revisions 11289-11617 via svnmerge from
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl
........
r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
private branch for bitmap rework
........
r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
* Initial linux and win32 implementation
........
r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
- fix compilation with fpc 2.3.1
- remove unneded code for converting cursor mask
- enabled loading of standard windows status icons instead of LCL
........
r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
- some bugs with mask and alpha
........
r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
* force alpha channel when PNG has alpha
........
r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
- fix black rectangles instead of manu item images
........
r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
formatting
........
r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
* Added alpha premultiply
* Published Colorbox selection property
........
r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
misc
........
r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
* start with carbon
........
r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
- BitBtn glyph transparency
........
r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
- problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
- More LCL way of painting images through ThemeServices
........
r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
- ability to override bitbtn glyph to nothing
........
r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
painting headercontrol images through ThemeServices
........
r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
fixing painting of 32bpp bitmaps with no Alpha
........
r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
missed file
........
r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
- revert previous commit
- create 24bpp bitmaps by default
........
r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
* Added Alpha support on Carbon
* Simplified win32 rawimage_fromdevice
........
r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
- adopt gtk2 code
........
r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
make gtk2 work
........
r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
- default WS imagelist implementation
........
r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
* Implemented MaskBlit
........
r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
draw new imagelist bitmap on widget canvas
........
r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
* Rawimage rework
........
r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
+ Added header
........
r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
* Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
* added
........
r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
+ added header
........
r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
* Added alpha/masked strechblt support
........
r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
* create DIBSection instead of DIBitmap
........
r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
* Fixed transparentcolor after loading bitmap
........
r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
- Removed ARGB dataconversion, internal format is by default the same now
........
r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
* changed TRawImage into object
........
r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init
- change imagelist defines to use old imagelist (new is crashes ide)
- change TWin32ThemeServices to use old imagelist
........
r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
- change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
- change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation on 2.0.4
........
r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed compilation
........
r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
* fixed fillchar on TRawImage object
........
r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
* fixed crash when object has vmt
........
r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
* Made TRawimage compatible with record again
........
r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
* enabled newimagelist
........
r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
* fixed font
........
git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
vincents
a168e7a228
LCL: don't capitalize keywords (e.g Property -> property)
...
git-svn-id: trunk@11043 -
2007-05-01 17:32:12 +00:00
mattias
f3acaa1f79
lcl: added TColorBox.GetColor, TColorListBox.GetColor from Michael Van Canneyt
...
git-svn-id: trunk@11042 -
2007-05-01 11:47:27 +00:00
vincents
ba85e84687
LCL: published dragging related properties
...
patch by: Paul Ishenin
git-svn-id: trunk@10648 -
2007-02-16 08:31:43 +00:00
vincents
6c2178c4d6
added TColorListBox from Diogo Piçarra
...
git-svn-id: trunk@10255 -
2006-11-29 12:22:26 +00:00