28 #ifndef _CEGUIBasicImage_h_
29 #define _CEGUIBasicImage_h_
31 #include "CEGUI/Image.h"
32 #include "CEGUI/String.h"
33 #include "CEGUI/Rect.h"
36 # pragma warning(push)
37 # pragma warning(disable : 4251)
53 void setTexture(
Texture* texture);
54 void setArea(
const Rectf& pixel_area);
55 void setOffset(
const Vector2f& pixel_offset);
57 void setNativeResolution(
const Sizef& native_res);
60 const String& getName()
const;
61 const Sizef& getRenderedSize()
const;
62 const Vector2f& getRenderedOffset()
const;
64 const Rectf& dest_area,
65 const Rectf* clip_area,
70 void notifyDisplaySizeChanged(
const Sizef& renderer_display_size);
74 void updateScaledSizeAndOffset(
const Sizef& renderer_display_size);
76 void updateScaledSize(
const Sizef& renderer_display_size);
78 void updateScaledOffset(
const Sizef& renderer_display_size);
102 #if defined(_MSC_VER)
103 # pragma warning(pop)
106 #endif // end of guard _CEGUIBasicImage_h_