Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem3/src/ceguilua/ceguilua-0.5.0/package/Imageset.pkg @ 2664

Last change on this file since 2664 was 2664, checked in by rgrieder, 16 years ago

Merged buildsystem2 to buildsystem3.

Note: Bare merge, just resolved conflicts. To testing, no nothing.

  • Property svn:eol-style set to native
File size: 1.2 KB
RevLine 
[2608]1/***********************************************************************
2        Imageset
3***********************************************************************/
4class Imageset
5{
6        Texture* getTexture() const;
7        string getName() const;
8        unsigned int getImageCount() const;
9        bool isImageDefined(string name) const;
10        const Image& getImage(string name) const;
11        void undefineImage(string name);
12        void undefineAllImages();
13        Size getImageSize(string name) const;
14        float getImageWidth(string name) const;
15        float getImageHeight(string name) const;
16        Vector2 getImageOffset(string name) const;
17        float getImageOffsetX(string name) const;
18        float getImageOffsetY(string name) const;
19        void defineImage(string name, const Vector2& pos, const Size& size, const Vector2& render_offset);
20        void defineImage(string name, const Rect& rect, const Vector2& render_offset);
21        bool isAutoScaled() const;
22        void setAutoScalingEnabled(bool setting);
23        Size getNativeResolution() const;
24        void setNativeResolution(const Size& sz);
25        void notifyScreenResolution(const Size& sz);
26
27    ImageIterator getIterator() const;
28
29    static void setDefaultResourceGroup(string resourceGroup);
30    static string getDefaultResourceGroup();
31};
Note: See TracBrowser for help on using the repository browser.