Crazy Eddie's GUI System
0.8.7
|
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,
101 #if defined(_MSC_VER)
102 # pragma warning(pop)
105 #endif // end of guard _CEGUIBasicImage_h_
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: GeometryBuffer.h:44
Sizef d_pixelSize
Actual pixel size.
Definition: BasicImage.h:84
void notifyDisplaySizeChanged(const Sizef &renderer_display_size)
Notifies the class that the display size of the renderer has changed so that.
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
String d_name
name used when the BasicImage was created.
Definition: BasicImage.h:80
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:45
Texture * d_texture
Texture used by this image.
Definition: BasicImage.h:82
Sizef d_scaledSize
Size after having autoscaling applied.
Definition: BasicImage.h:94
Vector2f d_pixelOffset
Defined pixel offset.
Definition: BasicImage.h:88
Rectf d_area
Rect defining texture co-ords for this image.
Definition: BasicImage.h:86
void updateScaledOffset(const Sizef &renderer_display_size)
Updates only the scaled offset values according to the new display size of the renderer.
Class representing a block of attributes associated with an XML element.
Definition: XMLAttributes.h:48
AutoScaledMode d_autoScaled
Whether image is auto-scaled or not and how.
Definition: BasicImage.h:90
Abstract base class specifying the required interface for Texture objects.
Definition: Texture.h:54
AutoScaledMode
Definition: Image.h:40
String class used within the GUI system.
Definition: String.h:64
Sizef d_nativeResolution
Native resolution used for autoscaling.
Definition: BasicImage.h:92
void updateScaledSizeAndOffset(const Sizef &renderer_display_size)
Updates the scaled size and offset values according to the new display size of the renderer.
Vector2f d_scaledOffset
Offset after having autoscaling applied.
Definition: BasicImage.h:96
void updateScaledSize(const Sizef &renderer_display_size)
Updates only the scaled size values according to the new display size of the renderer.
Interface for Image.
Definition: Image.h:161
Definition: BasicImage.h:43