#include <stdio.h>
#include <string.h>
#include "m_pd.h"
#include "g_canvas.h"
t_gstub *gstub_new(t_glist *gl, t_array *a)
{ … }
static void gstub_dis(t_gstub *gs)
{ … }
void gstub_cutoff(t_gstub *gs)
{ … }
int gpointer_check(const t_gpointer *gp, int headok)
{ … }
void gpointer_copy(const t_gpointer *gpfrom, t_gpointer *gpto)
{ … }
void gpointer_unset(t_gpointer *gp)
{ … }
void gpointer_setglist(t_gpointer *gp, t_glist *glist, t_scalar *x)
{ … }
void gpointer_setarray(t_gpointer *gp, t_array *array, t_word *w)
{ … }
void gpointer_init(t_gpointer *gp)
{ … }
t_symbol *gpointer_gettemplatesym(const t_gpointer *gp)
{ … }
t_binbuf *pointertobinbuf(t_pd *x, t_gpointer *gp, t_symbol *s,
const char *fname)
{ … }
void word_init(t_word *wp, t_template *template, t_gpointer *gp)
{ … }
void word_initvec(t_word *wp, t_template *template, t_gpointer *gp, long n)
{ … }
void word_restore(t_word *wp, t_template *template,
int argc, t_atom *argv)
{ … }
void word_free(t_word *wp, t_template *template)
{ … }
void word_freevec(t_word *wp, t_template *template, long n)
{ … }
static int template_cancreate(t_template *template)
{ … }
t_class *scalar_class;
t_scalar *scalar_new(t_glist *owner, t_symbol *templatesym)
{ … }
void glist_scalar(t_glist *glist,
t_symbol *classname, int argc, t_atom *argv)
{ … }
extern t_class *drawnumber_class;
void scalar_getbasexy(t_scalar *x, t_float *basex, t_float *basey)
{ … }
static void scalar_getrect(t_gobj *z, t_glist *owner,
int *xp1, int *yp1, int *xp2, int *yp2)
{ … }
static void scalar_drawselectrect(t_scalar *x, t_glist *glist, int state)
{ … }
static void scalar_select(t_gobj *z, t_glist *owner, int state)
{ … }
static void scalar_displace(t_gobj *z, t_glist *glist, int dx, int dy)
{ … }
static void scalar_activate(t_gobj *z, t_glist *owner, int state)
{ … }
static void scalar_delete(t_gobj *z, t_glist *glist)
{ … }
static void scalar_vis(t_gobj *z, t_glist *owner, int vis)
{ … }
static void scalar_doredraw(t_gobj *client, t_glist *glist)
{ … }
void scalar_redraw(t_scalar *x, t_glist *glist)
{ … }
extern void template_notifyforscalar(t_template *template, t_glist *owner,
t_scalar *sc, t_symbol *s, int argc, t_atom *argv);
int scalar_doclick(t_word *data, t_template *template, t_scalar *sc,
t_array *ap, struct _glist *owner,
t_float xloc, t_float yloc, int xpix, int ypix,
int shift, int alt, int dbl, int doit)
{ … }
int scalar_click(t_gobj *z, struct _glist *owner,
int xpix, int ypix, int shift, int alt, int dbl, int doit)
{ … }
static void scalar_save(t_gobj *z, t_binbuf *b)
{ … }
static void scalar_properties(t_gobj *z, struct _glist *owner)
{ … }
static const t_widgetbehavior scalar_widgetbehavior = …;
static void scalar_free(t_scalar *x)
{ … }
void g_scalar_setup(void)
{ … }