LibreOffice Module vcl (master) 1
Static Public Member Functions | List of all members
vcl::ImageRepository Class Reference

#include <imagerepository.hxx>

Static Public Member Functions

static bool loadImage (const OUString &_rName, BitmapEx &_out_rImage)
 loads an image from the application's image repository More...
 

Detailed Description

Definition at line 36 of file imagerepository.hxx.

Member Function Documentation

◆ loadImage()

bool vcl::ImageRepository::loadImage ( const OUString &  _rName,
BitmapEx _out_rImage 
)
static

loads an image from the application's image repository

Parameters
_rNamethe name of the image to load.
_out_rImagewill take the image upon successful return.
Returns
whether or not the image could be loaded successfully.

Definition at line 28 of file ImageRepository.cxx.

References StyleSettings::DetermineIconTheme(), ImageTree::get(), Application::GetSettings(), AllSettings::GetStyleSettings(), and ImageTree::loadImage().


The documentation for this class was generated from the following files: