30 #ifndef _CEGUIImageset_h_
31 #define _CEGUIImageset_h_
33 #include "CEGUIBase.h"
34 #include "CEGUIString.h"
35 #include "CEGUIRect.h"
36 #include "CEGUIColourRect.h"
37 #include "CEGUIImagesetManager.h"
38 #include "CEGUIImage.h"
39 #include "CEGUIIteratorBase.h"
40 #include "CEGUIXMLSerializer.h"
46 # pragma warning(push)
47 # pragma warning(disable : 4251)
67 typedef std::map<String, Image, String::FastLessCompare> ImageRegistry;
217 void undefineImage(
const String& name);
226 void undefineAllImages(
void);
342 defineImage(name,
Rect(position.d_x, position.d_y, position.d_x + size.d_width, position.d_y + size.d_height), render_offset);
364 void defineImage(
const String& name,
const Rect& image_rect,
const Point& render_offset);
431 draw(source_rect, dest_rect, z, clip_rect,
ColourRect(top_left_colour, top_right_colour, bottom_left_colour, bottom_right_colour), quad_split_mode);
465 void setAutoScalingEnabled(
bool setting);
478 void setNativeResolution(
const Size& size);
491 void notifyScreenResolution(
const Size& size);
526 static void setDefaultResourceGroup(
const String& resourceGroup)
527 { d_defaultResourceGroup = resourceGroup; }
537 static const String& getDefaultResourceGroup()
538 {
return d_defaultResourceGroup; }
544 static const char ImagesetSchemaName[];
566 void load(
const String& filename,
const String& resourceGroup);
588 void setTexture(
Texture* texture);
598 void updateImageScalingFactors(
void);
619 #if defined(_MSC_VER)
620 # pragma warning(pop)
623 #endif // end of guard _CEGUIImageset_h_