summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-10 21:30:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-11 09:21:42 +0100
commite38d9aa925c85efb924666c55dd2533c7d34788b (patch)
tree7a1efaf3ff40615ab7f8579cdd7ebf782c85926d /vcl/inc
parente70cec4a4264987720f9b42a72a13fa1f84fde6d (diff)
add a stub ScrolledWindow to store scroll properties
e.g. VclMultiLineEdit manages its own scrolling, so just store that info in a dummy ScrolledWindow for now and set the scroll window settings onto the VCLMultiLineEdit if it has a scrolledwindow parent Change-Id: I8f7282e1348aa4e9ff77cce384dcc367b17bd3b0
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/builder.hxx1
-rw-r--r--vcl/inc/vcl/window.hxx3
2 files changed, 4 insertions, 0 deletions
diff --git a/vcl/inc/vcl/builder.hxx b/vcl/inc/vcl/builder.hxx
index 83b1139b9eee..ef3e85c07472 100644
--- a/vcl/inc/vcl/builder.hxx
+++ b/vcl/inc/vcl/builder.hxx
@@ -156,6 +156,7 @@ public:
return static_cast<T*>(w);
}
OString get_by_window(const Window *pWindow) const;
+ void delete_by_window(const Window *pWindow);
//for the purposes of retrofitting this to the existing code
//look up sID, clone its properties into replacement and
//splice replacement into the tree instead of it, without
diff --git a/vcl/inc/vcl/window.hxx b/vcl/inc/vcl/window.hxx
index 80ce5fd13914..5b83760ee6cd 100644
--- a/vcl/inc/vcl/window.hxx
+++ b/vcl/inc/vcl/window.hxx
@@ -595,6 +595,9 @@ protected:
*/
SAL_DLLPRIVATE void queue_resize();
+ sal_Int32 get_height_request() const;
+ sal_Int32 get_width_request() const;
+
// FIXME: this is a hack to workaround missing layout functionality
SAL_DLLPRIVATE void ImplAdjustNWFSizes();
public: