SCI: Started to C++ify the gfxw_widget_t codebase

svn-id: r40103
This commit is contained in:
Max Horn 2009-04-24 10:45:09 +00:00
parent 6fef323ec7
commit 86b3657476
12 changed files with 664 additions and 642 deletions

View file

@ -1663,7 +1663,7 @@ static int c_gfx_current_port(EngineState *s) {
if (!s->port)
sciprintf("none.\n");
else
sciprintf("%d\n", s->port->ID);
sciprintf("%d\n", s->port->_ID);
return 0;
}
@ -2767,8 +2767,8 @@ int c_statusbar(EngineState *s) {
return 1;
}
s->titlebar_port->color = s->ega_colors[cmd_params[0].val];
s->titlebar_port->bgcolor = s->ega_colors[cmd_params[1].val];
s->titlebar_port->_color = s->ega_colors[cmd_params[0].val];
s->titlebar_port->_bgcolor = s->ega_colors[cmd_params[1].val];
s->status_bar_foreground = cmd_params[0].val;
s->status_bar_background = cmd_params[1].val;