27 #ifndef _CEGUIBasicImage_h_
28 #define _CEGUIBasicImage_h_
30 #include "CEGUI/Image.h"
31 #include "CEGUI/String.h"
32 #include "CEGUI/Rect.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4251)
52 void setTexture(
Texture* texture);
53 void setArea(
const Rectf& pixel_area);
54 void setOffset(
const Vector2f& pixel_offset);
56 void setNativeResolution(
const Sizef& native_res);
59 const String& getName()
const;
60 const Sizef& getRenderedSize()
const;
61 const Vector2f& getRenderedOffset()
const;
63 const Rectf& dest_area,
64 const Rectf* clip_area,
69 void notifyDisplaySizeChanged(
const Sizef& renderer_display_size);
73 void updateScaledSizeAndOffset(
const Sizef& renderer_display_size);
75 void updateScaledSize(
const Sizef& renderer_display_size);
77 void updateScaledOffset(
const Sizef& renderer_display_size);
101 #if defined(_MSC_VER)
102 # pragma warning(pop)
105 #endif // end of guard _CEGUIBasicImage_h_