Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/ceguilua/ceguilua-0.5.0/package/Imageset.pkg @ 6690

Last change on this file since 6690 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • 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.