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)
65 typedef std::map<String, Image, String::FastLessCompare> ImageRegistry;
183 void undefineImage(
const String& name);
192 void undefineAllImages(
void);
308 defineImage(name,
Rect(position.d_x, position.d_y, position.d_x + size.d_width, position.d_y + size.d_height), render_offset);
330 void defineImage(
const String& name,
const Rect& image_rect,
const Point& render_offset);
366 const Rect& dest_rect,
const Rect* clip_rect,
410 const Rect& dest_rect,
const Rect* clip_rect,
411 const colour& top_left_colour = 0xFFFFFFFF,
412 const colour& top_right_colour = 0xFFFFFFFF,
413 const colour& bottom_left_colour = 0xFFFFFFFF,
414 const colour& bottom_right_colour = 0xFFFFFFFF,
417 draw(buffer, source_rect, dest_rect, clip_rect,
419 bottom_left_colour, bottom_right_colour),
453 void setAutoScalingEnabled(
bool setting);
466 void setNativeResolution(
const Size& size);
476 void notifyDisplaySizeChanged(
const Size& size);
483 ImageIterator getIterator(
void)
const;
511 static void setDefaultResourceGroup(
const String& resourceGroup)
512 { d_defaultResourceGroup = resourceGroup; }
522 static const String& getDefaultResourceGroup()
523 {
return d_defaultResourceGroup; }
548 void setTexture(
Texture* texture);
558 void updateImageScalingFactors(
void);
579 #if defined(_MSC_VER)
580 # pragma warning(pop)
583 #endif // end of guard _CEGUIImageset_h_