Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gui/src/ceguilua/ceguilua-0.5.0/package/Imageset.pkg @ 3014

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

Merged buildsystem3 containing buildsystem2 containing Adi's buildsystem branch back to the trunk.
Please update the media directory if you were not using buildsystem3 before.

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
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.