From 2005cba607270a0e176d739361cb6327fab061f7 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Wed, 26 Jul 2006 17:01:23 +0000 Subject: fixed coordinates for GOP svn path=/trunk/externals/unauthorized/; revision=5416 --- playlist/CHANGES.LOG | 2 ++ playlist/playlist.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'playlist') diff --git a/playlist/CHANGES.LOG b/playlist/CHANGES.LOG index 3c302eb..19e7548 100644 --- a/playlist/CHANGES.LOG +++ b/playlist/CHANGES.LOG @@ -1,3 +1,5 @@ +0.12 + fixed coordinates for GOP support 0.11 added option to hide the graphic parts ( embedded list ) scroll by numbers diff --git a/playlist/playlist.c b/playlist/playlist.c index 4f80e98..0627090 100644 --- a/playlist/playlist.c +++ b/playlist/playlist.c @@ -55,7 +55,7 @@ static t_class *playlist_class; static int guidebug=0; -static char *playlist_version = "playlist: 1 click file chooser : version 0.11, written by Yves Degoyon (ydegoyon@free.fr)"; +static char *playlist_version = "playlist: 1 click file chooser : version 0.12, written by Yves Degoyon (ydegoyon@free.fr)"; #define MAX_DIR_LENGTH 2048 // maximum length for a directory name @@ -403,7 +403,7 @@ static void playlist_save(t_gobj *z, t_binbuf *b) // post( "saving playlist : %s", x->x_extension ); binbuf_addv(b, "ssiissiisssss", gensym("#X"), gensym("obj"), - (t_int)text_xpix(&x->x_obj, x->x_glist), (t_int)text_ypix(&x->x_obj, x->x_glist), + (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, gensym("playlist"), gensym(x->x_extension), x->x_width, x->x_height, gensym(x->x_font), gensym(x->x_bgcolor), gensym(x->x_sbcolor), gensym(x->x_fgcolor), gensym(x->x_secolor) ); -- cgit v1.2.1