diff UI code/Buttron.mm @ 22:8124f46eda65

pretty much working. ugly though.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Thu, 23 Oct 2014 18:15:46 +0100
parents a223551fdc1f
children 8d7ae43b2edd
line wrap: on
line diff
--- a/UI code/Buttron.mm	Wed Oct 22 18:12:12 2014 +0100
+++ b/UI code/Buttron.mm	Thu Oct 23 18:15:46 2014 +0100
@@ -114,6 +114,9 @@
         fg = foregroundLo;
         bg = backgroundLo;
     }
+    if(inactive){
+        ofSetColor(fgInactive);
+    }
     ofSetColor(fg);
     
     float cornerSize = thickness + radius;