co->top = row;
co->left = left;
co->takesFocus = 1;
+ co->isMapped = 0;
newtGotorc(co->top, co->left);
bu->bgColor = -1;
static void buttonDrawIt(newtComponent co, int active, int pushed) {
struct button * bu = co->data;
+ if (!co->isMapped) return;
+
if (bu->bgColor == -1) {
newtGotorc(co->top, co->left);
bu->bgColor = (SLsmg_char_at() >> 8) & 0xFF;