1 #ifndef OPENMW_MWGUI_BACKGROUNDIMAGE_H
2 #define OPENMW_MWGUI_BACKGROUNDIMAGE_H
4 #include <MyGUI_ImageBox.h>
23 void setBackgroundImage (
const std::string& image,
bool fixedRatio=
true,
bool stretch=
true);
25 virtual void setSize (
const MyGUI::IntSize &_value);
26 virtual void setCoord (
const MyGUI::IntCoord &_value);
void adjustSize()
Definition: backgroundimage.cpp:37
MyGUI::ImageBox * mChild
Definition: backgroundimage.hpp:29
void setBackgroundImage(const std::string &image, bool fixedRatio=true, bool stretch=true)
Definition: backgroundimage.cpp:8
double mAspect
Definition: backgroundimage.hpp:30
BackgroundImage()
Definition: backgroundimage.hpp:17
virtual void setSize(const MyGUI::IntSize &_value)
Definition: backgroundimage.cpp:50
virtual void setCoord(const MyGUI::IntCoord &_value)
Definition: backgroundimage.cpp:56
A variant of MyGUI::ImageBox with aspect ratio correction using black bars.
Definition: backgroundimage.hpp:12