The background color for button draw functions can't be modified. This is a very long, long standing issue. It is very difficult to see colored text not using very light colors. As an example I included a drawTextPixel from the "EFSAT_EXAMPLE.efs" provided by eSignal.
Please correct.
Wayne
PHP Code:
drawTextPixel(offsetX, offsetY, " Buy @URL=EFS:buyCallback", Color.teal , Color.white, Text.BUTTON | Text.RELATIVETOLEFT | Text.RELATIVETOTOP, BUTTONS_FONT, 12, i++);
drawTextPixel(offsetX, offsetY + distance, " Sell @URL=EFS:sellCallback", Color.RGB(155, 0, 255), Color.white, Text.BUTTON | Text.RELATIVETOLEFT | Text.RELATIVETOTOP, BUTTONS_FONT, 12, i++);
Please correct.
Wayne