summaryrefslogtreecommitdiff
path: root/include/vcl/salnativewidgets.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-24 14:59:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-24 16:45:40 +0100
commit7deac4656c53965125c9ec1ca6eb8fcc8d393afa (patch)
tree1ad5ce971cf3da22fcec786294d37e591c13029f /include/vcl/salnativewidgets.hxx
parentbeb2b25c97bbbe37309a6186269b30be7b0d7a6f (diff)
gtk3: get the right height for Edit boxes
smuggle the text height down to the native region calculation code instead of messing around with proxies Change-Id: I727ceddb5b431be82e6e5a725f9bca588e5b2046
Diffstat (limited to 'include/vcl/salnativewidgets.hxx')
-rw-r--r--include/vcl/salnativewidgets.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index d473aea1b584..1bee87611ee8 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -476,6 +476,18 @@ public:
bool mbSingleLine:1;
};
+/* EditBoxValue:
+ *
+ * Value container for editbox specifying additional drawing hints
+ */
+class VCL_DLLPUBLIC EditBoxValue : public ImplControlValue
+{
+public:
+ EditBoxValue(long nTextHeight)
+ : ImplControlValue(CTRL_EDITBOX, BUTTONVALUE_DONTKNOW, nTextHeight)
+ {
+ }
+};
#endif