From faada59567f8cb252f4a909116595ce309ff5828 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 23 May 2003 12:29:55 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r647, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/miXed/; revision=648 --- shared/hammer/gui.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 shared/hammer/gui.h (limited to 'shared/hammer/gui.h') diff --git a/shared/hammer/gui.h b/shared/hammer/gui.h new file mode 100644 index 0000000..13afd0a --- /dev/null +++ b/shared/hammer/gui.h @@ -0,0 +1,30 @@ +/* Copyright (c) 2003 krzYszcz and others. + * For information on usage and redistribution, and for a DISCLAIMER OF ALL + * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ + +#ifndef __HAMMERGUI_H__ +#define __HAMMERGUI_H__ + +typedef struct _hammergui +{ + t_pd g_pd; + t_symbol *g_gui; + t_symbol *g_mouse; + t_symbol *g_poll; + t_symbol *g_focus; + t_symbol *g_vised; + int g_up; +} t_hammergui; + +void hammergui_bindmouse(t_pd *master); +void hammergui_unbindmouse(t_pd *master); +void hammergui_mousexy(t_symbol *s); +void hammergui_willpoll(void); +void hammergui_startpolling(t_pd *master); +void hammergui_stoppolling(t_pd *master); +void hammergui_bindfocus(t_pd *master); +void hammergui_unbindfocus(t_pd *master); +void hammergui_bindvised(t_pd *master); +void hammergui_unbindvised(t_pd *master); + +#endif -- cgit v1.2.1