From 5ac5bf6d31a6f388a915b1b19d3c80b83d5e092d Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sat, 20 Jun 2015 16:14:52 +0200 Subject: [PATCH] Add the possibility to change the colors from FButton --- src/fbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fbutton.cpp b/src/fbutton.cpp index afb5f9ed..02a74f73 100644 --- a/src/fbutton.cpp +++ b/src/fbutton.cpp @@ -188,7 +188,7 @@ void FButton::draw() { if ( margin == 1 ) { - setColor (wc.button_active_fg, button_bg); + setColor (foregroundColor, button_bg); for (int y=0; y <= height-1; y++) { gotoxy (xpos+xmin-1+d, ypos+ymin-1+y);