j1850.c (navit-0.5.5) | : | j1850.c (navit-0.5.6) | ||
---|---|---|---|---|
skipping to change at line 318 | skipping to change at line 318 | |||
// Used when we are receiving real datas from the device | // Used when we are receiving real datas from the device | |||
this->white = graphics_gc_new(this->osd_item.gr); | this->white = graphics_gc_new(this->osd_item.gr); | |||
c.r = 65535; | c.r = 65535; | |||
c.g = 65535; | c.g = 65535; | |||
c.b = 65535; | c.b = 65535; | |||
c.a = 65535; | c.a = 65535; | |||
graphics_gc_set_foreground(this->white, &c); | graphics_gc_set_foreground(this->white, &c); | |||
graphics_gc_set_linewidth(this->white, this->width); | graphics_gc_set_linewidth(this->white, this->width); | |||
graphics_gc_set_linewidth(this->osd_item.graphic_fg_white, this->width); | graphics_gc_set_linewidth(this->osd_item.graphic_fg, this->width); | |||
event_add_timeout(500, 1, callback_new_1(callback_cast(osd_j1850_draw), this )); | event_add_timeout(500, 1, callback_new_1(callback_cast(osd_j1850_draw), this )); | |||
j1850_init_serial_port(this); | j1850_init_serial_port(this); | |||
// navit_add_callback(nav, this->click_cb = callback_new_attr_1(callback_cas t (osd_j1850_click), attr_button, this)); | // navit_add_callback(nav, this->click_cb = callback_new_attr_1(callback_cas t (osd_j1850_click), attr_button, this)); | |||
osd_j1850_draw(this, nav, NULL); | osd_j1850_draw(this, nav, NULL); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |