diff options
author | Dmitry Ashkadov <dmitry.ashkadov@gmail.com> | 2011-09-21 15:58:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-21 16:03:22 +0100 |
commit | bcbabc4b3a1c394cfab2602be14e2575a5b1ef42 (patch) | |
tree | 75e982b3f475484e7d66bdb493510c078e000d02 /svx/inc | |
parent | 1b2965833c97da449f5d38c9e683c14507a97462 (diff) |
fdo#39430: Implement improved Saving Information Icon in the Status Bar
Diffstat (limited to 'svx/inc')
-rwxr-xr-x | svx/inc/svx/dialogs.hrc | 9 | ||||
-rw-r--r-- | svx/inc/svx/modctrl.hxx | 10 |
2 files changed, 15 insertions, 4 deletions
diff --git a/svx/inc/svx/dialogs.hrc b/svx/inc/svx/dialogs.hrc index b10c4b3bb195..d8e79ea9b743 100755 --- a/svx/inc/svx/dialogs.hrc +++ b/svx/inc/svx/dialogs.hrc @@ -1156,9 +1156,10 @@ #define SVX_OOO_BUILD_START (RID_SVX_START + 1200) -#define RID_SVXBMP_DOC_MODIFIED_YES (SVX_OOO_BUILD_START + 1) -#define RID_SVXBMP_DOC_MODIFIED_NO (SVX_OOO_BUILD_START + 2) -#define RID_SVXSTR_DOC_MODIFIED_YES (SVX_OOO_BUILD_START + 3) -#define RID_SVXSTR_DOC_MODIFIED_NO (SVX_OOO_BUILD_START + 4) +#define RID_SVXBMP_DOC_MODIFIED_YES (SVX_OOO_BUILD_START + 1) +#define RID_SVXBMP_DOC_MODIFIED_NO (SVX_OOO_BUILD_START + 2) +#define RID_SVXBMP_DOC_MODIFIED_FEEDBACK (SVX_OOO_BUILD_START + 3) +#define RID_SVXSTR_DOC_MODIFIED_YES (SVX_OOO_BUILD_START + 4) +#define RID_SVXSTR_DOC_MODIFIED_NO (SVX_OOO_BUILD_START + 5) #endif diff --git a/svx/inc/svx/modctrl.hxx b/svx/inc/svx/modctrl.hxx index 34abea0f274a..b3c52936275a 100644 --- a/svx/inc/svx/modctrl.hxx +++ b/svx/inc/svx/modctrl.hxx @@ -30,11 +30,15 @@ // include --------------------------------------------------------------- +#include <tools/link.hxx> #include <sfx2/stbitem.hxx> #include "svx/svxdllapi.h" #include <boost/shared_ptr.hpp> +// Forward declarations +class Timer; + // class SvxModifyControl ------------------------------------------------ class SVX_DLLPUBLIC SvxModifyControl : public SfxStatusBarControl @@ -49,6 +53,12 @@ public: SvxModifyControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb ); +private: // Links + DECL_LINK( OnTimer, Timer * ); + +private: // Functions + void _repaint(); + private: struct ImplData; ::boost::shared_ptr<ImplData> mpImpl; |