Commit 1bd8e06b authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

prepare interface for user gesture handling

parent 3b27c9ec
......@@ -685,6 +685,10 @@ void gemsdl2window :: opacityMess(float opacity)
if(m_window)
SDL_SetWindowOpacity(m_window, m_opacity);
}
void gemsdl2window :: userGestureMess(t_symbol*, int argc, t_atom*argv)
{
error("user gesture recording/saving/restoring not implemented");
}
/////////////////////////////////////////////////////////
// createMess
......@@ -805,4 +809,6 @@ void gemsdl2window :: obj_setupCallback(t_class *classPtr)
CPPEXTERN_MSG1(classPtr, "grabmouse", grabmouseMess, bool);
CPPEXTERN_MSG1(classPtr, "relativemouse", relativemouseMess, bool);
CPPEXTERN_MSG1(classPtr, "opacity", opacityMess, float);
CPPEXTERN_MSG(classPtr, "usergesture", userGestureMess);
}
......@@ -89,6 +89,7 @@ private:
virtual void grabmouseMess(bool on);
virtual void relativemouseMess(bool on);
virtual void opacityMess(float);
virtual void userGestureMess(t_symbol*s, int, t_atom*);
/* creation/destruction */
virtual bool create(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment