diff options
Diffstat (limited to 'atari/gui.c')
-rw-r--r-- | atari/gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atari/gui.c b/atari/gui.c index 60524fac4..ca49187b5 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -364,7 +364,7 @@ void gui_window_redraw_window(struct gui_window *gw) if (gw == NULL) return; b = gw->browser; - guiwin_get_grect(gw->root->win, GUIWIN_AREA_CONTENT, &rect); + window_get_grect(gw->root, BROWSER_AREA_CONTENT, &rect); window_schedule_redraw_grect(gw->root, &rect); } @@ -378,7 +378,7 @@ void gui_window_update_box(struct gui_window *gw, const struct rect *rect) slid = guiwin_get_scroll_info(gw->root->win); - guiwin_get_grect(gw->root->win, GUIWIN_AREA_CONTENT, &area); + window_get_grect(gw->root, BROWSER_AREA_CONTENT, &area); area.g_x += rect->x0 - (slid->x_pos * slid->x_unit_px); area.g_y += rect->y0 - (slid->y_pos * slid->y_unit_px); area.g_w = rect->x1 - rect->x0; @@ -437,7 +437,7 @@ void gui_window_update_extent(struct gui_window *gw) ); window_update_back_forward(gw->root); GRECT area; - guiwin_get_grect(gw->root->win, GUIWIN_AREA_CONTENT, &area); + window_get_grect(gw->root, BROWSER_AREA_CONTENT, &area); window_schedule_redraw_grect(gw->root, &area); } } |