Commit Graph

40 Commits

Author SHA1 Message Date
a9bff701eb Match the char case of SpkToolbar unit name with its file name. Enables installing it in Lazarus.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5371 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-21 13:13:05 +00:00
c277ae5e88 SpkToolbar: Avoid painting gradient in Tab if GradientType is bkSolid. Selection of predefined styles in AppearanceEditor by Listbox instead of ComboBox.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5370 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-19 15:21:19 +00:00
34a9a3ad70 SpkToolbar: Respect ElementAppearance.Style when drawing checkboxes or radiobuttons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5369 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 22:22:49 +00:00
2188bdf375 SpkToolbar: new property HotTrackBrightnessChange of Element.Appearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5368 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 22:16:36 +00:00
bbe5b1e8a3 SpkToolbar: Refactor small button painting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5367 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 21:49:56 +00:00
b7e5090cc1 SpkToolbar: Add new demo "styles" showing all pre-defined styles.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5366 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 19:01:27 +00:00
629356469a SpkToolbar: Add new property "HotTrackBrightnessChange" to Pane.Appearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5365 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-18 16:57:35 +00:00
47c02cf7e4 SpkToolbar: Add property "Style" to TSpkToolbar for quick change of appearance style.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5362 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-17 22:01:53 +00:00
1595dc270d SpkToolbar: Make Appearance Editor DPI-aware.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5355 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-16 22:44:40 +00:00
9e82f074d9 SpkToolbar: Add new property Style to Appearance.Element (esRounded, esRectangle). Refactoring of Button drawing. Lots of cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5354 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-16 18:56:23 +00:00
588166bb4c SpkToolbar: Export Appearance properties as Pascal code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5353 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-15 22:28:06 +00:00
b4cb2a0de2 SpkToolbar: Add new pane property "Style". Update appearance editor. Minor refactoring of pane drawing code.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5350 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-14 16:13:10 +00:00
812b1db7f8 SpkToolbar: Use new property InactiveTabHeaderFontColor when painting inactive tabs.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-14 12:05:14 +00:00
f5e3227e71 spktoolbar: Improved layout of Appearance editor. Add new tab appearance property .InactiveTabHeaderFontColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5347 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-13 23:42:13 +00:00
0c39438e61 SpkToolbar: Remove outdated custom license header in most files and add a modified LGPL license header (with linking exception, according to "license.txt" and http://forum.lazarus.freepascal.org/index.php/topic,13463.msg70814.html#msg70814)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5346 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-13 19:05:46 +00:00
a7a1a1158c spkToolbar: Fix appearance fonts not being changeable (undo part of r5073 - High-DPI code for fonts must be put into application, not in component).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5345 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-13 18:55:17 +00:00
613396797a spktoolbar: Translation of Polish comments in spktoolbar.pas to English by forum user Raf20076 - thank you! (http://forum.lazarus.freepascal.org/index.php/topic,34496.msg226168)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-20 18:32:55 +00:00
ba0f25142c spktoolbar: Make toolbar dpi aware (patch by "regs" with modifications, issue #0030446).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5073 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-05 21:11:23 +00:00
54673b5c69 spktoolbar: Google-translate the Polish comments of the original author in spkt_types to English. Some reformatting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4096 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-26 21:44:22 +00:00
7d32a9d9c4 spktoolbar: Fix painting issues in Ubuntu (patch by haword for issue #0024081)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-15 22:46:07 +00:00
ab758dbfc5 spktoolbar: for test purposes bring back the timer removed in r3651 (now activated by define DELAYRUNTIMER) because I saw the black areas on a slow computer (having DELAYRUNTIMER activated, however, is not compatible with the previous commit of no background painting -> large black area!) THIS IS AN EXPERIMENTAL VERSION!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3660 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-15 19:39:54 +00:00
03f17a3ebe spktoolbar: Fix issue #0025047 (spktoolbar flickering if not themed)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3659 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-15 19:18:30 +00:00
b38a85d511 spkToolbar: Revert the timer introduced in r2882, 2784, 2784, 2786 - it causes slow repainting of the toolbar when form is resized
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3651 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 19:18:37 +00:00
966611fcfe spkToolbar: Fix too large checkboxes and radiobuttons in Ubuntu or Windows at >= 120 ppi (issue #0026037)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3650 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 19:04:19 +00:00
ff5dba6c66 spktoolbar: Fix memory leak when using actions on buttons in SpkToolbar (issue 0025732). Patch by Jorge Turiel.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 18:46:12 +00:00
ce54f48dc3 spktoolbar: Fix crash when resizing form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-10-13 18:22:38 +00:00
9327df59c7 Close the TTimer after redraw.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-09-07 03:22:00 +00:00
57007e1c82 Redraw faster.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2785 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-09-07 03:10:45 +00:00
57a4cf2cf5 Add a TTimer to fix black area on resize bug.
While WM_EXITSIZEMOVE does not work on Lazarus.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2784 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-09-07 02:56:43 +00:00
684a4533e2 make the form no black area on resize.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2782 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-09-01 05:11:20 +00:00
e333deef99 Cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2457 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-09 16:11:47 +00:00
54716119b3 Implements OnTabChanging. Patch by Werner Pamler with modifications
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2450 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-06 01:28:14 +00:00
e8feb4830b * Implement add TSpkCheckbox and TSpkRadiobutton plus misc fixes. patch by Werner Pamler with some changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2447 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-06-04 00:49:51 +00:00
497fdb0609 * Fixed crash when closing app
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1712 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-20 18:46:39 +00:00
c0c6b89b60 * Improve design time editor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1711 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-20 01:06:11 +00:00
820299b4eb * Fix compilation of remaining units
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1707 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-18 17:48:28 +00:00
ec2e95be34 * Fix compilation of spk_Buttons
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1706 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-18 17:06:47 +00:00
e943f03a21 * Fix compilation of various units
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-18 16:17:03 +00:00
7f6fa27b29 * converted source files to utf-8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1693 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-17 21:12:21 +00:00
96e13b536b * initial import of spktoolbar
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2011-06-17 20:53:01 +00:00