diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-07-01 15:53:46 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-07-08 13:23:24 +0000 |
commit | d3dd6b5c41cbd16620bf53189b9c08ad5600fdc8 (patch) | |
tree | d0a38e7bd742d0fc670dab52cfaf3b5a3a9ddb1d /include/vcl/builder.hxx | |
parent | b39596b109e05e6b49687e072bcb1e0b39b21dcc (diff) |
GSoC notebookbar: container with priority
+ extended vcl builder to parse priority
+ IPrioritable interface for controls with priorities
+ added IPrioritable as a base for VclContainer
+ Added PriorityHBox - box which shows controls if we have enough space
PriorityHBox listen vcl events from SystemWindow to detect Resize
Change-Id: I74ac1a80e7d0a061f5e7a8584dbb2abf956053c7
Reviewed-on: https://gerrit.libreoffice.org/26983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r-- | include/vcl/builder.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 13ff4200cb98..787f6ea30b81 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -351,8 +351,8 @@ private: void handleChild(vcl::Window *pParent, xmlreader::XmlReader &reader); VclPtr<vcl::Window> handleObject(vcl::Window *pParent, xmlreader::XmlReader &reader); void handlePacking(vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader); - static std::vector<vcl::EnumContext::Context> handleStyle(xmlreader::XmlReader &reader); - static vcl::EnumContext::Context getContext(xmlreader::XmlReader &reader); + static std::vector<vcl::EnumContext::Context> handleStyle(xmlreader::XmlReader &reader, int &nPriority); + static OString getStyleClass(xmlreader::XmlReader &reader); void applyPackingProperty(vcl::Window *pCurrent, vcl::Window *pParent, xmlreader::XmlReader &reader); void collectProperty(xmlreader::XmlReader &reader, const OString &rID, stringmap &rVec); static void collectPangoAttribute(xmlreader::XmlReader &reader, stringmap &rMap); |