aboutsummaryrefslogtreecommitdiff
path: root/sys_gui.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-05 06:53:53 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-05 06:53:53 +0000
commiteb12ad0235502b68adf9c2a0f8c4d63441dfca0c (patch)
tree6e601821a2fe1a66a65620cdbac5bc112ae684b7 /sys_gui.c
parente0eb6df937525b40191a231ad72a74fb55518c75 (diff)
turned off debug messages and added color changing example
svn path=/trunk/externals/hcs/; revision=8938
Diffstat (limited to 'sys_gui.c')
-rw-r--r--sys_gui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys_gui.c b/sys_gui.c
index 1b6cd9b..eb96ff1 100644
--- a/sys_gui.c
+++ b/sys_gui.c
@@ -3,6 +3,8 @@
#include <m_pd.h>
#include <g_canvas.h>
+#define DEBUG(x)
+
static t_class *sys_gui_class;
typedef struct _sys_gui
@@ -18,7 +20,7 @@ static void sys_gui_bang(t_sys_gui *x)
static void sys_gui_anything(t_sys_gui *x, t_symbol *s, int argc, t_atom *argv)
{
- post("sys_gui_anything");
+ DEBUG(post("sys_gui_anything"););
int i = 0;
char buf[MAXPDSTRING];
@@ -35,7 +37,7 @@ static void sys_gui_anything(t_sys_gui *x, t_symbol *s, int argc, t_atom *argv)
static void sys_gui_list(t_sys_gui *x, t_symbol *s, int argc, t_atom *argv)
{
- post("sys_gui_list");
+ DEBUG(post("sys_gui_list"););
int i = 0;
char buf[MAXPDSTRING];