Add the possibility to change the colors from FButton

This commit is contained in:
Markus Gans 2015-06-20 16:14:52 +02:00
parent 3d9a08dbba
commit 5ac5bf6d31
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void FButton::draw()
{ {
if ( margin == 1 ) if ( margin == 1 )
{ {
setColor (wc.button_active_fg, button_bg); setColor (foregroundColor, button_bg);
for (int y=0; y <= height-1; y++) for (int y=0; y <= height-1; y++)
{ {
gotoxy (xpos+xmin-1+d, ypos+ymin-1+y); gotoxy (xpos+xmin-1+d, ypos+ymin-1+y);