[PD-cvs] externals/ggee/gui fatom.h,1.10,1.11 slider.c,1.6,1.7
ggeiger at users.sourceforge.net
ggeiger at users.sourceforge.net
Wed Nov 5 10:22:54 CET 2003
- Previous message: [PD-cvs] externals/pdp/debian changelog,1.1,1.2 control,1.1,1.2 pd-pdp.substvars,1.1,1.2 rules,1.1,1.2 conffiles.ex,1.1,NONE cron.d.ex,1.1,NONE emacsen-install.ex,1.1,NONE emacsen-remove.ex,1.1,NONE emacsen-startup.ex,1.1,NONE init.d.ex,1.1,NONE manpage.1.ex,1.1,NONE menu.ex,1.1,NONE pdp-config.sgml.ex,1.1,NONE postinst.ex,1.1,NONE postrm.ex,1.1,NONE preinst.ex,1.1,NONE prerm.ex,1.1,NONE watch.ex,1.1,NONE
- Next message: [PD-cvs] externals/ggee/gui button-help.pd,NONE,1.1 slider-help.pd,NONE,1.1 toddle-help.pd,NONE,1.1 button.pd,1.1,NONE slider.pd,1.3,NONE toddle.pd,1.1.1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/externals/ggee/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv3984/gui
Modified Files:
fatom.h slider.c
Log Message:
minor code cleanup
Index: fatom.h
===================================================================
RCS file: /cvsroot/pure-data/externals/ggee/gui/fatom.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** fatom.h 27 Oct 2003 18:23:10 -0000 1.10
--- fatom.h 5 Nov 2003 09:22:51 -0000 1.11
***************
*** 10,25 ****
{
t_object x_obj;
! t_atom a_pos;
! t_glist * x_glist;
! int x_rect_width;
! int x_rect_height;
! t_symbol* x_sym;
! t_symbol* x_type;
! t_symbol* x_text;
! int x_max;
! int x_min;
! int x_width;
} t_fatom;
--- 10,25 ----
{
t_object x_obj;
! t_atom a_pos; /* the value of the fatom */
! t_glist * x_glist; /* value of the current canvas, intialized in _new */
! int x_rect_width; /* width of the widget */
! int x_rect_height; /* height of the widget */
! t_symbol* x_sym; /* symbol for receiving callbacks from GUI */
! t_symbol* x_type; /* type of fatom (vslider, hslider, checkbutton) */
! t_symbol* x_text; /* associated widget text */
! int x_max; /* maximum value of a_pos (x_val) */
! int x_min; /* minimum value of a_pos (x_val) */
! int x_width; /* width of widget (e.g x_rect_height + 15 for hslider, x_rect_width + 15 for slider) */
} t_fatom;
Index: slider.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ggee/gui/slider.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** slider.c 27 Oct 2003 18:23:10 -0000 1.6
--- slider.c 5 Nov 2003 09:22:51 -0000 1.7
***************
*** 1,20 ****
- #include <m_pd.h>
- #include "g_canvas.h"
-
- #ifdef NT
- #pragma warning( disable : 4244 )
- #pragma warning( disable : 4305 )
- #endif
-
#include <stdio.h>
#include "fatom.h"
- /* can we use the normal text save function ?? */
-
static t_class *slider_class;
static void slider_save(t_gobj *z, t_binbuf *b)
{
-
t_fatom *x = (t_fatom *)z;
--- 1,11 ----
#include <stdio.h>
+ #include <m_pd.h>
+ #include "g_canvas.h" /* for widgetbehaviour */
#include "fatom.h"
static t_class *slider_class;
static void slider_save(t_gobj *z, t_binbuf *b)
{
t_fatom *x = (t_fatom *)z;
- Previous message: [PD-cvs] externals/pdp/debian changelog,1.1,1.2 control,1.1,1.2 pd-pdp.substvars,1.1,1.2 rules,1.1,1.2 conffiles.ex,1.1,NONE cron.d.ex,1.1,NONE emacsen-install.ex,1.1,NONE emacsen-remove.ex,1.1,NONE emacsen-startup.ex,1.1,NONE init.d.ex,1.1,NONE manpage.1.ex,1.1,NONE menu.ex,1.1,NONE pdp-config.sgml.ex,1.1,NONE postinst.ex,1.1,NONE postrm.ex,1.1,NONE preinst.ex,1.1,NONE prerm.ex,1.1,NONE watch.ex,1.1,NONE
- Next message: [PD-cvs] externals/ggee/gui button-help.pd,NONE,1.1 slider-help.pd,NONE,1.1 toddle-help.pd,NONE,1.1 button.pd,1.1,NONE slider.pd,1.3,NONE toddle.pd,1.1.1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list