diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-06-15 14:01:12 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-06-15 14:42:09 +0200 |
commit | 0342b099d7079c8246684c8bafd79d98172ae029 (patch) | |
tree | 9cf53d6ae4db2b07f4887992cc1a143eaa791a2b /vcl/inc/toolbox.h | |
parent | 4f036439f7597d33a9f90860d9a5b6ac28b270c7 (diff) |
sidebar: Make the color toolbox updater rendering more universal.
Render the color preview bigger if we have space for that.
Change-Id: I5bbe5edbb8e354fc3009935d3ed6090271b72bf7
Diffstat (limited to 'vcl/inc/toolbox.h')
-rw-r--r-- | vcl/inc/toolbox.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h index 8670aeeb101b..db9370912e2a 100644 --- a/vcl/inc/toolbox.h +++ b/vcl/inc/toolbox.h @@ -63,12 +63,14 @@ struct ImplToolItem OString maHelpId; Rectangle maRect; Rectangle maCalcRect; - /// Widget layout may request size; set it as the minimal size. + /// Widget layout may request size; set it as the minimal size (like, the item will always have at least this size). Size maMinimalItemSize; /// The overall horizontal item size, including one or more of [image size + textlength + dropdown arrow] Size maItemSize; long mnSepSize; long mnDropDownArrowWidth; + /// Size of the content (bitmap or text, without dropdown) that we have in the item. + Size maContentSize; ToolBoxItemType meType; ToolBoxItemBits mnBits; TriState meState; |