Last change
on this file since 6554 was
5738,
checked in by landauf, 15 years ago
|
merged libraries2 back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | /*********************************************************************** |
---|
2 | MouseCursorImage |
---|
3 | ***********************************************************************/ |
---|
4 | enum MouseCursorImage |
---|
5 | { |
---|
6 | BlankMouseCursor = 0, |
---|
7 | DefaultMouseCursor = -1 |
---|
8 | }; |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | /*********************************************************************** |
---|
13 | MouseCursor |
---|
14 | ***********************************************************************/ |
---|
15 | class 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.