Commit Graph

50 Commits

Author SHA1 Message Date
wp_xxyyzz
5dc39f028a SpkToolbar: Fix scaling of toolbar height in cocoa. Patch by ChristianH, forum https://forum.lazarus.freepascal.org/index.php/topic,55123.msg409712/topicseen.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 20:25:47 +00:00
wp_xxyyzz
239da83e8c SpkToolbar: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 17:47:24 +00:00
wp_xxyyzz
c1347e04e7 SpkToolbar: Fix blurry fonts on macOS/cocoa. Patch by ChristianH, forum https://forum.lazarus.freepascal.org/index.php/topic,55123.msg409712/topicseen.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 16:56:56 +00:00
wp_xxyyzz
9d81685561 SpkToolbar: Fix scaling of fonts set at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-08 17:43:41 +00:00
wp_xxyyzz
3f28cb5ded SpkToolbar: cosmetic
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-02-15 15:36:59 +00:00
wp_xxyyzz
4e0089b2f2 SpkToolbar: Fire OnMenuButtonClick only when a MenuButtonDropDown popup menu is assigned to the SpkToolbar. Issue #38481.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-02-15 15:00:44 +00:00
wp_xxyyzz
8bdb1bd4d4 spkToolbar: A more general solution to issue #37961 than r7786
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-20 16:09:14 +00:00
wp_xxyyzz
ee669bbd95 spkToolbar: Fix dimensions when the toolbar is in a frame rather than a form. Issue #37961.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-20 16:04:14 +00:00
wp_xxyyzz
4c1488174c spkToolbar: Add TMenuButton, patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413). No complete, yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 20:44:24 +00:00
wp_xxyyzz
afaa49277f spkToolbar: Add "More options button" to panes. Patch by husker, slightly modified, https://forum.lazarus.freepascal.org/index.php/topic,51552.msg378809.html#msg378809
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-26 22:12:42 +00:00
wp_xxyyzz
ebd7cefb2e spkToolbar: Add separators (ButtonKind = bkSeparator). Patch provided by Husker, https://forum.lazarus.freepascal.org/index.php/topic,51552.msg378527.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7689 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-23 19:07:15 +00:00
wp_xxyyzz
79a817cefd spktoolbar: LCLScaling support for property Appearance.Tab.CaptionHeight
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 21:44:38 +00:00
wp_xxyyzz
10994ea2c9 spktoolbar: Add new property CaptionHeight to TabAppearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 18:50:15 +00:00
wp_xxyyzz
8e8e01d047 spktoolbar: Add Appearance property Tab.CornerRadius (https://forum.lazarus.freepascal.org/index.php/topic,47375.msg339191)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 15:25:04 +00:00
wp_xxyyzz
966ef750d3 spktoolbar: Fix compilation for Laz trunk before r57304.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-16 17:05:09 +00:00
wp_xxyyzz
cbd182c93d spktoolbar: Improved handling of DoubleBuffered.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-16 16:46:53 +00:00
wp_xxyyzz
f17eb37074 spktoolbar: Fix LCLScaling (minor issue remaining when form is loaded from hi-dpi system into low-dpi system: modify form a bit, save and load again).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 09:29:36 +00:00
wp_xxyyzz
bf14d85c04 spktoolbar: Activate Hi-DPI toolbar features.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6193 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-10 00:38:06 +00:00
wp_xxyyzz
856716b59f spktoolbar: Rename constant DPI_AWARE to SPK_DPI_AWARE (to distinguish from LCL scaling). Remove global DesignDPI variable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6192 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-09 17:19:18 +00:00
wp_xxyyzz
14633ea902 spktoolbar: Add inherited properties. Add DoubleBuffered = true (otherwise severe flickering after recent changes in Laz trunk after r57267)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-07 22:05:46 +00:00
wp_xxyyzz
713dd4bc78 spktoolbar: Two comments for {%H-} locations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 12:36:08 +00:00
wp_xxyyzz
fdee2dddbe spktoolbar: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6174 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 12:05:26 +00:00
wp_xxyyzz
dcc90b77e4 spktoolbar: Fix dropdown arrows in Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-31 21:44:46 +00:00
wp_xxyyzz
7556932674 spktoolbar: Fix compilation with current fpc trunk. Replace palette icon by a new version by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-11 21:36:14 +00:00
wp_xxyyzz
92d83425c6 SpkToolbar: Fix compilation after Laz-trunk r55713
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-21 15:35:42 +00:00
wp_xxyyzz
f07535e014 spktoolbar: Fix font scaling for Laz >= 1.8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-09 19:16:35 +00:00
wp_xxyyzz
271196a1f6 spktoolbar: Use LCL scaling (for Laz >= 1.8)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 20:35:49 +00:00
wp_xxyyzz
b70ca5e5d2 spktoolbar: Fix fonts not changeable in OI
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 16:24:34 +00:00
wp_xxyyzz
49c250890f SpkToolbar: Apply conventional source formatting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-26 23:56:34 +00:00
juhamanninen
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
yangjixian
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
yangjixian
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
yangjixian
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
yangjixian
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
blikblum
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
blikblum
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
blikblum
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
blikblum
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
blikblum
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