aboutsummaryrefslogtreecommitdiff
path: root/cyclone/hammer/MouseState.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 05:25:47 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 05:25:47 +0000
commit33dad854bedc69c96c041981d55075b6b4aae485 (patch)
treeb78c8d6a339fc2deff7f68452593273e7df4a96c /cyclone/hammer/MouseState.c
parent095e10a6a17420dd31d1f5f592b639f100275057 (diff)
added all-lower-case aliases to all objects since Max/MSP 4.6 converted to all lowercase
svn path=/trunk/externals/miXed/; revision=15349
Diffstat (limited to 'cyclone/hammer/MouseState.c')
-rw-r--r--cyclone/hammer/MouseState.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cyclone/hammer/MouseState.c b/cyclone/hammer/MouseState.c
index 3b831bf..260cde2 100644
--- a/cyclone/hammer/MouseState.c
+++ b/cyclone/hammer/MouseState.c
@@ -132,6 +132,7 @@ void MouseState_setup(void)
(t_newmethod)MouseState_new,
(t_method)MouseState_free,
sizeof(t_MouseState), 0, 0);
+ class_addcreator((t_newmethod)MouseState_new, gensym("mousestate"), 0, 0);
class_addanything(MouseState_class, MouseState_anything);
class_addmethod(MouseState_class, (t_method)MouseState_doup,
gensym("_up"), A_FLOAT, 0);
@@ -151,3 +152,8 @@ void MouseState_setup(void)
class_addmethod(MouseState_class, (t_method)MouseState_reset,
gensym("reset"), 0);
}
+
+void mousestate_setup(void)
+{
+ MouseState_setup();
+}