summaryrefslogtreecommitdiff
path: root/include/vcl/toolbox.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-10-31 22:01:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-02 09:55:20 +0100
commita0eab90bd1f7fc31978da3f7be0ec86781baf8bc (patch)
treedb82393a579042e4463f65dc47b5f30688d4df70 /include/vcl/toolbox.hxx
parent22c88a039a557343ab11fbf7abc8f2a087e1a3c2 (diff)
toolbox always has flat style
ever since commit c1cd6af623e86b5b1b45f9d09dc17d6fbb907f02 Author: Jens-Heiner Rechtien <hr@openoffice.org> Date: Mon May 10 14:51:02 2004 +0000 INTEGRATION: CWS nwf (1.64.66); FILE MERGED 2004/03/31 09:28:33 ssa 1.64.66.1: #i25130# force flat toolbox buttons except for a completely and utterly undocumented hack of a registry key, introduced in commit 736dc0956a50315ec72ad126406556657a750d37 Author: Rüdiger Timm <rt@openoffice.org> Date: Thu Apr 17 14:19:46 2003 +0000 INTEGRATION: CWS vcl08 (1.57.2.4.18); FILE MERGED 2003/04/14 17:46:27 ssa 1.57.2.4.18.1: #108699# disabled flat toolbox buttons not exported anymore which only seems to apply to Windows. So just remove this. Change-Id: Idf315b8c89c3119883a5e6880d003d379fe6faec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/toolbox.hxx')
-rw-r--r--include/vcl/toolbox.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 8546e3870418..98d60ba1d73b 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -43,8 +43,6 @@ class PopupMenu;
class VclMenuEvent;
class StyleSettings;
-constexpr sal_uInt16 TOOLBOX_STYLE_FLAT = 0x0004;
-
// item ids in the custom menu may not exceed this constant
constexpr sal_uInt16 TOOLBOX_MENUITEM_START = 0x1000;
@@ -117,7 +115,6 @@ private:
tools::Long mnActivateCount;
Degree10 mnImagesRotationAngle;
sal_uInt16 mnLastFocusItemId;
- sal_uInt16 mnOutStyle;
sal_uInt16 mnHighItemId;
sal_uInt16 mnCurItemId;
sal_uInt16 mnDownItemId;
@@ -216,7 +213,6 @@ private:
public:
SAL_DLLPRIVATE void ImplFloatControl( bool bStart, FloatingWindow* pWindow );
- SAL_DLLPRIVATE void ImplDisableFlatButtons();
SAL_DLLPRIVATE int ImplGetDragWidth() const;
static SAL_DLLPRIVATE int ImplGetDragWidth( const vcl::RenderContext& rRenderContext,
@@ -442,9 +438,6 @@ public:
// read configuration to determine locking behaviour
static bool AlwaysLocked();
- void SetOutStyle( sal_uInt16 nNewStyle );
- sal_uInt16 GetOutStyle() const { return mnOutStyle; }
-
void EnableCustomize( bool bEnable = true );
bool IsCustomize() const { return mbCustomize; }