aboutsummaryrefslogtreecommitdiffstats
path: root/skins/skin_trackball.h
diff options
context:
space:
mode:
Diffstat (limited to 'skins/skin_trackball.h')
-rw-r--r--skins/skin_trackball.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/skins/skin_trackball.h b/skins/skin_trackball.h
index 3ea6d2d..b4f1ab3 100644
--- a/skins/skin_trackball.h
+++ b/skins/skin_trackball.h
@@ -13,6 +13,7 @@
#define _ANDROID_SKIN_TRACKBALL_H
#include <SDL.h>
+#include "skin_rect.h"
typedef struct SkinTrackBall SkinTrackBall;
@@ -35,5 +36,8 @@ extern void skin_trackball_refresh ( SkinTrackBall* ball );
extern void skin_trackball_draw ( SkinTrackBall* ball, int x, int y, SDL_Surface* dst );
extern void skin_trackball_destroy ( SkinTrackBall* ball );
+/* this sets the rotation that will be applied to mouse events sent to the system */
+extern void skin_trackball_set_rotation( SkinTrackBall* ball, SkinRotation rotation);
+
#endif /* END */