summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-09-22 18:38:56 +0000
committerAriel Constenla-Haile <arielch@apache.org>2012-09-22 18:38:56 +0000
commitcb99ad779d66d35e7f8539d44a7549df599f8efb (patch)
treef60b97b1e0afd45c0cf019b61f0eb17d47c2593e /vcl/inc
parentfa12d0b3a7e876b543dab24919b07339bc20dff8 (diff)
#i119418# - About Dialog improvements
Notes
Notes: ignore: aoo
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/vcl/imagerepository.hxx34
1 files changed, 24 insertions, 10 deletions
diff --git a/vcl/inc/vcl/imagerepository.hxx b/vcl/inc/vcl/imagerepository.hxx
index cef9d43a7ed0..82934c794299 100644
--- a/vcl/inc/vcl/imagerepository.hxx
+++ b/vcl/inc/vcl/imagerepository.hxx
@@ -28,16 +28,15 @@
#include <rtl/ustring.hxx>
class BitmapEx;
+class Image;
-//........................................................................
namespace vcl
{
-//........................................................................
- //====================================================================
- //= ImageRepository
- //====================================================================
- // provides access to the application's image repository (image.zip)
+ /**
+ provides access to the application's image repository
+ (packed images and brand images)
+ */
class VCL_DLLPUBLIC ImageRepository
{
public:
@@ -56,11 +55,26 @@ namespace vcl
BitmapEx& _out_rImage,
bool bSearchLanguageDependent
);
- };
-//........................................................................
-} // namespace vcl
-//........................................................................
+ /** load an image from the application's branding directory
+
+ @param rName
+ the name of the image to load, without extension
+ @param rImage
+ will take the image upon successful return.
+ @param bIgnoreHighContrast
+ if true, high contrast mode is not taken into account when
+ searching for the image
+ @param bSearchLanguageDependent
+ determines whether a language-dependent image is to be searched.
+ */
+ static bool loadBrandingImage(
+ const rtl::OUString &rName,
+ Image &rImage,
+ bool bSearchLanguageDependent = false
+ );
+ };
+}
#endif // VCL_IMAGEREPOSITORY_HXX