** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright (c) 2007 Chris Moore
+** Copyright (c) 2008 Paul Wise
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
} else {
x = float(event->button.x);
}
-
+
float pos(x/width);
if(pos<0 || x<=0)pos=0;
if(pos>1)pos=1;