Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/package/MouseCursor.pkg @ 2610

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

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • Property svn:eol-style set to native
File size: 1.1 KB
RevLine 
[2608]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.