[xiph-cvs] cvs commit: postfish multibar.c version.h

Monty xiphmont at xiph.org
Sun Feb 15 14:38:15 PST 2004



xiphmont    04/02/15 17:38:15

  Modified:    .        multibar.c version.h
  Log:
  Align thumbs within trough of multibar

Revision  Changes    Path
1.16      +5 -5      postfish/multibar.c

Index: multibar.c
===================================================================
RCS file: /usr/local/cvsroot/postfish/multibar.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- multibar.c	15 Feb 2004 15:14:15 -0000	1.15
+++ multibar.c	15 Feb 2004 22:38:14 -0000	1.16
@@ -380,8 +380,8 @@
   if(m->thumbs){
     int height=widget->allocation.height;
     GdkGC *black_gc=widget->style->black_gc;
-    int y=height/2-2;
-    int y1=height-2;
+    int y=height/2-3;
+    int y1=height-3;
     int y0=y-(y1-y-1);
 
     GdkColor yellow={0,0xff00,0xd000,0};
@@ -618,14 +618,14 @@
     int num=(m->thumbs==1?0:1);
 
     int x= ix-m->thumbpixel[num];
-    int y= iy-(height*4/5-1);
+    int y= iy-(height*4/5-2);
     distances[num]=sqrt(x*x + y*y);
   }
 
   /* left thumb */
   if(m->thumbs>1){
     int x= ix-(m->thumbpixel[0]-(height/2));
-    int y= iy-(height/2-2);
+    int y= iy-(height/2-3);
     distances[0]=sqrt(x*x + y*y);
   }
   
@@ -633,7 +633,7 @@
   if(m->thumbs>1){
     int num=(m->thumbs==2?1:2);
     int x= ix-(m->thumbpixel[num]+(height/2));
-    int y= iy-(height/2-2);
+    int y= iy-(height/2-3);
     distances[num]=sqrt(x*x + y*y);
   }
   

<p><p>1.28      +2 -2      postfish/version.h

Index: version.h
===================================================================
RCS file: /usr/local/cvsroot/postfish/version.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- version.h	15 Feb 2004 15:14:15 -0000	1.27
+++ version.h	15 Feb 2004 22:38:15 -0000	1.28
@@ -1,2 +1,2 @@
-#define VERSION "$Id: version.h,v 1.27 2004/02/15 15:14:15 xiphmont Exp $ "
-/* DO NOT EDIT: Automated versioning hack [Sun Feb 15 09:50:39 EST 2004] */
+#define VERSION "$Id: version.h,v 1.28 2004/02/15 22:38:15 xiphmont Exp $ "
+/* DO NOT EDIT: Automated versioning hack [Sun Feb 15 10:22:58 EST 2004] */

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list