aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-16 07:35:55 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-16 07:35:55 -0500
commit983602c87add7161cc82311e690e066f96493c31 (patch)
tree3c4f3bb9eb440e6d78360291138c68c7faa86388 /src/ui.cpp
parentbf82dd59140d32f4eb265ae69a44784b5fda116a (diff)
parent2286361ea87b42e73ec2f544265c5fd5e1b5713b (diff)
Stuff
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 11bc195..08f503f 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -464,6 +464,12 @@ namespace ui {
}while(fadeIntensity < 255);
fadeIntensity = 255;
}
+ void waitForNothing(unsigned int ms){
+ unsigned int target = millis() + ms;
+ do{
+ mainLoop();
+ }while(millis() < target);
+ }
void importantText(const char *text,...){
va_list textArgs;