{
}
-void LivingScreen::rotation(LivingScreen::direction t, unsigned int angle)
+void LivingScreen::rotation(unsigned int angle)
{
- int a = angle;
- if (t == LEFT)
- a *= -1;
- sendCommand('R', a);
+ sendCommand('R', angle);
}
void LivingScreen::translation(LivingScreen::direction d, unsigned int distance)
enum direction{LEFT, RIGHT};
- void rotation(direction t, unsigned int angle);
+ void rotation(unsigned int angle);
void translation(direction d, unsigned int distance);
void moveto(unsigned int pos);
--- /dev/null
+#include "ScreenRotate.h"
+
+ScreenRotate::ScreenRotate()
+{
+}
--- /dev/null
+#ifndef SCREENROTATE_H
+#define SCREENROTATE_H
+
+class ScreenRotate
+{
+ public:
+ ScreenRotate();
+};
+
+#endif // SCREENROTATE_H