EFL: rotation set/get in Window
authorJoe Konno <joe.konno@intel.com>
Fri, 20 Jul 2012 19:47:38 +0000 (12:47 -0700)
committerJoe Konno <joe.konno@intel.com>
Fri, 20 Jul 2012 19:47:38 +0000 (12:47 -0700)
Signed-off-by: Joe Konno <joe.konno@intel.com>
src/efl/window.cpp
src/efl/window.h

index df0a994..d14d03e 100644 (file)
@@ -60,3 +60,13 @@ Eina_Bool Window::isWithdrawn()
 {
        return elm_win_withdrawn_get(*this);
 }
+
+void Window::rotate(const int degrees)
+{
+       elm_win_rotation_set(*this, degrees);
+}
+
+int Window::getRotation()
+{
+       return elm_win_rotation_get(*this);
+}
index 01109e3..5c2fb76 100644 (file)
@@ -15,12 +15,14 @@ public:
        void fullscreen(Eina_Bool fullscreen);
        void sticky(Eina_Bool sticky);
        void withdrawn(Eina_Bool withdraw);
+       void rotate(const int degrees);
 
        Eina_Bool isIconified();
        Eina_Bool isMaximized();
        Eina_Bool isFullscreen();
        Eina_Bool isSticky();
        Eina_Bool isWithdrawn();
+       int getRotation();
 };
 
 #endif