diff options
author | Kshitij Pathania <kshitijpathania@gmail.com> | 2018-05-14 14:21:56 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2018-05-30 18:56:20 +0200 |
commit | e02b3b095e472646c58eecd36d5a27b056dcb99e (patch) | |
tree | a4204077e40ad5e94fcf388de4fb18ecb467e84a /include/vcl/notebookbar.hxx | |
parent | a8f8cf72b2b9e912dc4a5aebef55d9b2c0969462 (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>
Diffstat (limited to 'include/vcl/notebookbar.hxx')
-rw-r--r-- | include/vcl/notebookbar.hxx | 9 |
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(); + }; |