Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/ceguilua/ceguilua-0.5.0/package/MouseCursor.pkg @ 2710

Last change on this file since 2710 was 2710, checked in by rgrieder, 15 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.1 KB
Line 
1/***********************************************************************
2        MouseCursorImage
3***********************************************************************/
4enum MouseCursorImage
5{
6        BlankMouseCursor        = 0,
7        DefaultMouseCursor      = -1
8};
9
10
11
12/***********************************************************************
13        MouseCursor
14***********************************************************************/
15class MouseCursor : public EventSet
16{
17        static MouseCursor& getSingleton();
18
19        void setImage(const Image* image);
20        void setImage(string imageset, string image);
21        const Image* getImage() const;
22
23        void setPosition(const Vector2& pos);
24        void offsetPosition(const Vector2& offset);
25        void setConstraintArea(const Rect* area);
26        Vector2 getPosition() const;
27        Rect getConstraintArea() const;
28        Vector2 getDisplayIndependantPosition() const;
29
30        void setUnifiedConstraintArea(const URect* area);
31        const URect& getUnifiedConstraintArea(void) const;
32
33        void hide();
34        void show();
35
36    void setVisible(bool visible);
37        bool isVisible() const;
38
39    tolua_outside EventIterator ceguiLua_getEventIterator @ getEventIterator() const;
40};
Note: See TracBrowser for help on using the repository browser.