diff options
author | Christian Lippka <cl@openoffice.org> | 2010-03-25 12:32:42 +0100 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2010-03-25 12:32:42 +0100 |
commit | 1944067cc6a1a36ef556fd6afe7315459053a811 (patch) | |
tree | be68c99558c4f241d5d3514cb38212fcfd41c4e5 /sd/source/ui/inc | |
parent | 09fb1f6065961c81e33cdc3a1e7544bbea0ef87e (diff) |
added new placeholder icons
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r-- | sd/source/ui/inc/res_bmp.hrc | 35 | ||||
-rw-r--r-- | sd/source/ui/inc/view/viewoverlaymanager.hxx | 6 |
2 files changed, 27 insertions, 14 deletions
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc index bc488e22240e..abf4d054e2ad 100644 --- a/sd/source/ui/inc/res_bmp.hrc +++ b/sd/source/ui/inc/res_bmp.hrc @@ -209,17 +209,30 @@ #define BMP_FOILH_09 RID_SD_START+398 #define BMP_FOILH_09_H RID_SD_START+399 -#define BMP_PLACEHOLDER_CHART_57X71 RID_SD_START+400 -#define BMP_PLACEHOLDER_CHART_57X71_H RID_SD_START+401 -#define BMP_PLACEHOLDER_IMAGE_57X71 RID_SD_START+402 -#define BMP_PLACEHOLDER_IMAGE_57X71_H RID_SD_START+403 -#define BMP_PLACEHOLDER_MOVIE_57X71 RID_SD_START+404 -#define BMP_PLACEHOLDER_MOVIE_57X71_H RID_SD_START+405 -#define BMP_PLACEHOLDER_TABLE_57X71 RID_SD_START+406 -#define BMP_PLACEHOLDER_TABLE_57X71_H RID_SD_START+407 - -#define BMP_FOILN_01 RID_SD_START+408 -#define BMP_FOILN_01_H RID_SD_START+409 +#define BMP_FOILN_01 RID_SD_START+400 +#define BMP_FOILN_01_H RID_SD_START+401 + +#define BMP_PLACEHOLDER_SMALL_START (RID_SD_START+402) // these ids must stay in order! +#define BMP_PLACEHOLDER_TABLE_SMALL (RID_SD_START+402) +#define BMP_PLACEHOLDER_CHART_SMALL (RID_SD_START+403) +#define BMP_PLACEHOLDER_IMAGE_SMALL (RID_SD_START+404) +#define BMP_PLACEHOLDER_MOVIE_SMALL (RID_SD_START+405) +#define BMP_PLACEHOLDER_TABLE_SMALL_HOVER (RID_SD_START+406) +#define BMP_PLACEHOLDER_CHART_SMALL_HOVER (RID_SD_START+407) +#define BMP_PLACEHOLDER_IMAGE_SMALL_HOVER (RID_SD_START+408) +#define BMP_PLACEHOLDER_MOVIE_SMALL_HOVER (RID_SD_START+409) +#define BMP_PLACEHOLDER_SMALL_END (RID_SD_START+410) +#define BMP_PLACEHOLDER_LARGE_START (RID_SD_START+410) +#define BMP_PLACEHOLDER_TABLE_LARGE (RID_SD_START+410) +#define BMP_PLACEHOLDER_CHART_LARGE (RID_SD_START+411) +#define BMP_PLACEHOLDER_IMAGE_LARGE (RID_SD_START+412) +#define BMP_PLACEHOLDER_MOVIE_LARGE (RID_SD_START+413) +#define BMP_PLACEHOLDER_TABLE_LARGE_HOVER (RID_SD_START+414) +#define BMP_PLACEHOLDER_CHART_LARGE_HOVER (RID_SD_START+415) +#define BMP_PLACEHOLDER_IMAGE_LARGE_HOVER (RID_SD_START+416) +#define BMP_PLACEHOLDER_MOVIE_LARGE_HOVER (RID_SD_START+417) +#define BMP_PLACEHOLDER_LARGE_END (RID_SD_START+418) // until here! + // ----------------------------------------------------------------------------- #define IMG_PIPETTE_H RID_APP_START+21 diff --git a/sd/source/ui/inc/view/viewoverlaymanager.hxx b/sd/source/ui/inc/view/viewoverlaymanager.hxx index a87d14541cd8..29cc5221865a 100644 --- a/sd/source/ui/inc/view/viewoverlaymanager.hxx +++ b/sd/source/ui/inc/view/viewoverlaymanager.hxx @@ -35,6 +35,7 @@ #include <svl/lstner.hxx> #include "EventMultiplexer.hxx" #include "ViewShellBase.hxx" +#include "res_bmp.hrc" namespace sd { @@ -58,9 +59,8 @@ public: virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint); - static const int ButtonCount = 4; - static Image maLargeButtonImages[ButtonCount]; - static Image maSmallButtonImages[ButtonCount]; + static Image maLargeButtonImages[BMP_PLACEHOLDER_LARGE_END - BMP_PLACEHOLDER_LARGE_START]; + static Image maSmallButtonImages[BMP_PLACEHOLDER_SMALL_END - BMP_PLACEHOLDER_SMALL_START]; private: void UpdateImages(); |