summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKshitij Pathania <kshitijpathania@gmail.com>2018-05-14 14:21:56 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2018-07-06 12:42:56 +0200
commit22211ce6e9f5947f644ef82dd07e99ebc9f8d8a1 (patch)
tree09284a87bfcbc0d66ad0a0089b285698446a5c8e /include
parent4b848a51e9b8bc59aeb327d5c8349a29b26c31dc (diff)
tdf#112034 , tdf#107266 label color on basis of persona and persona
flipping is fixed. Labelcolor not gets updated immediately but when statechanged function triggers via executemethod things workwell.(like it triggers on changing mode of notebookbar) Change-Id: I755fb4ff434d7971112d2f0beb44ca09f4a7e0f1 Reviewed-on: https://gerrit.libreoffice.org/54301 Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Tested-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit e02b3b095e472646c58eecd36d5a27b056dcb99e) Reviewed-on: https://gerrit.libreoffice.org/56990 Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/vcl/notebookbar.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index 337b3f76ccf0..f3490bfeea89 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -37,6 +37,8 @@ public:
const css::uno::Reference<css::ui::XContextChangeEventListener>& getContextChangeEventListener() const { return m_pEventListener; }
+ void StateChanged(const StateChangedType nStateChange ) override;
+
void DataChanged(const DataChangedEvent& rDCEvt) override;
private:
@@ -44,7 +46,14 @@ private:
css::uno::Reference<css::ui::XContextChangeEventListener> m_pEventListener;
std::vector<NotebookbarContextControl*> m_pContextContainers;
+ AllSettings DefaultSettings;
+ AllSettings PersonaSettings;
+
void UpdateBackground();
+
+ void UpdateDefaultSettings();
+ void UpdatePersonaSettings();
+
};