aboutsummaryrefslogtreecommitdiff
path: root/gui/toddle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/toddle.c')
-rwxr-xr-xgui/toddle.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/toddle.c b/gui/toddle.c
index 4b46e8d..e7541a6 100755
--- a/gui/toddle.c
+++ b/gui/toddle.c
@@ -3,13 +3,16 @@
#include <m_pd.h>
#include "g_canvas.h"
-#include <ggee.h>
#ifdef NT
#pragma warning( disable : 4244 )
#pragma warning( disable : 4305 )
#endif
+#define PD_VERSION_MINOR 32
+#define BACKGROUND "-fill grey"
+#define BACKGROUNDCOLOR "grey"
+
#define te_xpos te_xpix
#define te_ypos te_ypix
@@ -313,7 +316,7 @@ void toddle_color(t_toddle* x,t_symbol* col)
*/
}
-static void toddle_setwidget()
+static void toddle_setwidget(void)
{
toddle_widgetbehavior.w_getrectfn = toddle_getrect;
toddle_widgetbehavior.w_displacefn = toddle_displace;