commit a33bcc7c6e8f8e2557785fb0eb348d571ab5c83f
parent db3981853d16fe418f755277419bdc6049f34142
Author: fundamental <[email protected]>
Date: Sun, 27 Dec 2009 21:29:25 -0500
MasterUI: changing VUmeter refresh rate
- Was 25 fps is now 60 fps
(It seemed to be a bit slow and this should not add much overhead)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/UI/MasterUI.fl b/src/UI/MasterUI.fl
@@ -63,7 +63,7 @@ decl {\#include "../Misc/Util.h"} {public
decl {\#include "../globals.h"} {public
}
-class VUMeter {: {public Fl_Box}
+class VUMeter {selected : {public Fl_Box}
} {
Function {VUMeter(int x,int y, int w, int h, const char *label=0):Fl_Box(x,y,w,h,label)} {} {
code {master=NULL;
@@ -234,7 +234,7 @@ REALTYPE tmp=ly*1.0/MIN_DB;
Function {tick(void *v)} {return_type {static void}
} {
code {tickdraw((VUMeter *) v);
-Fl::add_timeout(1.0/25.0,tick,v);//25 fps} {}
+Fl::add_timeout(1.0/60.0,tick,v);//60 fps} {}
}
Function {handle(int event)} {return_type int
} {
@@ -516,7 +516,7 @@ updatepanel();}
MenuItem {} {
label {N&io Settings}
callback {nioui.refresh();
-nioui.show();} selected
+nioui.show();}
xywh {0 0 36 21} divider
}
MenuItem {} {