Commit Graph

24 Commits

Author SHA1 Message Date
wp_xxyyzz
86dd2650d1 Colorpalette: Deprecate OnColorMouseMove
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4306 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-29 16:40:01 +00:00
wp_xxyyzz
2192c0ab35 Colorpalette: Add some ColorPalette properties to palette file; add TPaletteItems parameter to "LoadFromPalette".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4303 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-29 14:26:07 +00:00
wp_xxyyzz
5613459aeb ColorPalette: Fix size issue with aligned ColorPalette. Replace #13 by "LineEnding"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4301 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-28 10:40:44 +00:00
wp_xxyyzz
2941a83e64 ColorPalette: turn off ShowColorHint in ToolbarDemo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4298 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-26 20:54:44 +00:00
wp_xxyyzz
1c21a6547f ColorPalette: Fix ToolbarDemo to show flipped colorpalette fully. Fix missing MouseLeave notification.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4297 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-26 20:31:52 +00:00
wp_xxyyzz
0e8bee25b6 ColorPalette: Remove properties related to "Selected" color, replace by "Picked" color etc. Reason: Color selection event handler must pass Shift state to calling routine for further evaluation --> Reactivate old OnColorPick (instead of OnSelectColor). Remove property PickShift.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4296 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-26 14:29:55 +00:00
wp_xxyyzz
754d1f376e ColorPalette: Fix fpc3.1.1/x64 compilation error (issue #28568). Avoid duplicate colors in built-in gradient palette. Modifications in Toolbar demo (not complete yet). Rename property "Vertical" to "Flipped".
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4295 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-26 09:15:35 +00:00
wp_xxyyzz
7bc0d5fe4f ColorPalette: Add new property Vertical (Note: In vertical orientation, "ColumnCount" defines the number of ROWS !!!). New demo ToolbarDemo showing application of ColorPalette in toolbar. Old demo moved to folder demo/GeneralDemo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4294 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-25 17:13:02 +00:00
wp_xxyyzz
fc29a13688 ColorPalette: Replace ShowSelection by SelectionKind. Add property SelectionColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4293 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-25 12:12:26 +00:00
wp_xxyyzz
0f6162b2a8 ColorPalette: Fix demo (Colornames in LblMouseColorInfo not changing).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-24 20:08:06 +00:00
wp_xxyyzz
ec4cc3f4b3 ColorPalette: Fix painting of background color.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4289 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-24 17:29:23 +00:00
wp_xxyyzz
0239cb3c67 ColorPalette: Add MouseIndex and MouseColor. Restructure painting and layout calculation. Rename BorderWidth to ButtonDistance, BorderColor to ButtonBorderColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4288 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-24 16:56:28 +00:00
wp_xxyyzz
ce951f772f ColorPalette: Support named colors. New property "UseSpacers" (false: clNone is a "no-fill" color). Replace hkWebsafePalette2 by pkHTMLPalette.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4287 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-23 20:46:00 +00:00
wp_xxyyzz
bb268bb712 Colorpalette: Add event OnGetHintText to provide a custom color hint text.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4286 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-23 13:36:05 +00:00
wp_xxyyzz
324471915a ColorPalette: Add off-line version of wiki page as chm file. Default value of Pickmode is pmImmediate now.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4285 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-23 13:18:30 +00:00
wp_xxyyzz
4474770b78 ColorPalette: Add built-in palettes (property "PaletteKind", and "GradientSteps" for GradientPalette)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4284 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-22 19:20:50 +00:00
wp_xxyyzz
3980f70b8b ColorPalette: New properties BorderColor and BorderWidth.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4283 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-21 22:32:56 +00:00
wp_xxyyzz
895bad7c04 ColorPalette: Support for popup hints.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-21 15:27:19 +00:00
wp_xxyyzz
7d6e60fc65 ColorPalette: New property SelectedIndex.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4281 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-21 14:46:15 +00:00
wp_xxyyzz
bec8c5ac86 ColorPalette: Some cosmetic changes. Add new event OnSelectColor (which fires if ShiftState matches, in contrast to OnColorPick which fires always now).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4280 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-21 12:38:46 +00:00
wp_xxyyzz
7f5584ad24 ColorPalette: Add new properties "PickMode" and "PickShift" to select when and by which mouse button the color is selected. Some reorganisation of code. Update demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4279 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-20 21:02:08 +00:00
wp_xxyyzz
77c582dda8 ColorPalette: Improved demo by forum user "polpero"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-20 18:59:01 +00:00
wp_xxyyzz
4ffb9185c2 TColorPalette: Add method "SavePalette" and property "ColumnCount"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-19 15:08:19 +00:00
wp_xxyyzz
94124c6bb7 TColorPalette: New methods AddColor and DeleteColor. Add demo project. (see discussion in http://forum.lazarus.freepascal.org/index.php/topic,29400.msg185669.htm)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4274 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-08-19 14:23:23 +00:00