pure-data/src/g_toggle.c

/* Copyright (c) 1997-1999 Miller Puckette.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */

/* g_7_guis.c written by Thomas Musil (c) IEM KUG Graz Austria 2000-2001 */
/* thanks to Miller Puckette, Guenther Geiger and Krzystof Czaja */


#include <string.h>
#include <stdio.h>
#include "m_pd.h"

#include "g_all_guis.h"

/* --------------- tgl     gui-toggle ------------------------- */

t_widgetbehavior toggle_widgetbehavior;
static t_class *toggle_class;

/* widget helper functions */
#define toggle_draw_io
void toggle_draw_config(t_toggle* x, t_glist* glist)
{}
void toggle_draw_new(t_toggle *x, t_glist *glist)
{}

void toggle_draw_select(t_toggle* x, t_glist* glist)
{}

void toggle_draw_update(t_toggle *x, t_glist *glist)
{}

/* ------------------------ tgl widgetbehaviour----------------------------- */

static void toggle_getrect(t_gobj *z, t_glist *glist,
                           int *xp1, int *yp1, int *xp2, int *yp2)
{}

static void toggle_save(t_gobj *z, t_binbuf *b)
{}

static void toggle_properties(t_gobj *z, t_glist *owner)
{}

static void toggle_bang(t_toggle *x)
{}

static void toggle_dialog(t_toggle *x, t_symbol *s, int argc, t_atom *argv)
{}

static void toggle_click(t_toggle *x, t_floatarg xpos, t_floatarg ypos, t_floatarg shift, t_floatarg ctrl, t_floatarg alt)
{}

static int toggle_newclick(t_gobj *z, struct _glist *glist, int xpix, int ypix, int shift, int alt, int dbl, int doit)
{}

static void toggle_set(t_toggle *x, t_floatarg f)
{}

static void toggle_float(t_toggle *x, t_floatarg f)
{}

static void toggle_fout(t_toggle *x, t_floatarg f)
{}

static void toggle_loadbang(t_toggle *x, t_floatarg action)
{}

static void toggle_size(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_delta(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_pos(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_color(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_send(t_toggle *x, t_symbol *s)
{}

static void toggle_receive(t_toggle *x, t_symbol *s)
{}

static void toggle_label(t_toggle *x, t_symbol *s)
{}

static void toggle_label_font(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_label_pos(t_toggle *x, t_symbol *s, int ac, t_atom *av)
{}

static void toggle_init(t_toggle *x, t_floatarg f)
{}

static void toggle_nonzero(t_toggle *x, t_floatarg f)
{}

static void *toggle_new(t_symbol *s, int argc, t_atom *argv)
{}

void g_toggle_setup(void)
{}