From cb99ad779d66d35e7f8539d44a7549df599f8efb Mon Sep 17 00:00:00 2001 From: Ariel Constenla-Haile Date: Sat, 22 Sep 2012 18:38:56 +0000 Subject: #i119418# - About Dialog improvements --- vcl/inc/vcl/imagerepository.hxx | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) (limited to 'vcl/inc') 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 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 -- cgit