dot gizmos implemented

This commit is contained in:
itsmattkc
2018-11-27 12:46:17 +11:00
parent 82bcb5d25f
commit f28427302e
8 changed files with 165 additions and 33 deletions
+10 -1
View File
@@ -1,7 +1,8 @@
#include "effectgizmo.h"
EffectGizmo::EffectGizmo(int type) :
type(type)
type(type),
cursor(-1)
{}
void EffectGizmo::set_pos(int ix, int iy) {
@@ -33,3 +34,11 @@ int EffectGizmo::get_screen_x() {
int EffectGizmo::get_screen_y() {
return sy;
}
int EffectGizmo::get_cursor() {
return cursor;
}
void EffectGizmo::set_cursor(int c) {
cursor = c;
}