version 1.27, 2020/05/16 15:01:31 |
version 1.28, 2020/05/16 16:02:24 |
|
|
/* Default style. */ |
/* Default style. */ |
static struct style style_default = { |
static struct style style_default = { |
{ { { ' ' }, 0, 1, 1 }, 0, 0, 8, 8, 0 }, |
{ { { ' ' }, 0, 1, 1 }, 0, 0, 8, 8, 0 }, |
|
0, |
|
|
8, |
8, |
STYLE_ALIGN_DEFAULT, |
STYLE_ALIGN_DEFAULT, |
|
|
sy->gc.bg = base->bg; |
sy->gc.bg = base->bg; |
sy->gc.attr = base->attr; |
sy->gc.attr = base->attr; |
sy->gc.flags = base->flags; |
sy->gc.flags = base->flags; |
} else if (strcasecmp(tmp, "push-default") == 0) |
} else if (strcasecmp(tmp, "ignore") == 0) |
|
sy->ignore = 1; |
|
else if (strcasecmp(tmp, "noignore") == 0) |
|
sy->ignore = 0; |
|
else if (strcasecmp(tmp, "push-default") == 0) |
sy->default_type = STYLE_DEFAULT_PUSH; |
sy->default_type = STYLE_DEFAULT_PUSH; |
else if (strcasecmp(tmp, "pop-default") == 0) |
else if (strcasecmp(tmp, "pop-default") == 0) |
sy->default_type = STYLE_DEFAULT_POP; |
sy->default_type = STYLE_DEFAULT_POP; |