summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-01-31 09:35:05 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-01-31 12:23:31 +0000
commit0cd819b68ced2a95a127a246c0558153fbdbcae2 (patch)
tree1728ef7bf14d13372e7a2d88d410e8d6d26eabbd /include
parent2dff5e856ab343b1296f63d645c47382493fe2fe (diff)
Add helper methods to get common colors to SfxInfoBar
Change-Id: Ic3816b046839636fa0d1b8cb881725bcc80ef011 Reviewed-on: https://gerrit.libreoffice.org/33742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/infobar.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sfx2/infobar.hxx b/include/sfx2/infobar.hxx
index 8cd6d6cb2804..97671a968f05 100644
--- a/include/sfx2/infobar.hxx
+++ b/include/sfx2/infobar.hxx
@@ -69,6 +69,11 @@ class SfxInfoBarWindow : public vcl::Window
*/
void addButton(PushButton* pButton);
+ // Colors
+ static basegfx::BColor getSuccessColor();
+ static basegfx::BColor getDangerColor();
+ static basegfx::BColor getWarningColor();
+
private:
DECL_LINK( CloseHandler, Button*, void );
};