Changeset 71eff34 in mainline for uspace/srv/hid/display/window.c
- Timestamp:
- 2020-04-07T18:24:05Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef30659
- Parents:
- 1b443cc0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/window.c
r1b443cc0 r71eff34 525 525 wnd->state = dsw_resizing; 526 526 wnd->rsztype = rsztype; 527 wnd->preview_rect = wnd->rect; 527 528 } 528 529 … … 574 575 return; 575 576 576 gfx_rect_translate(&wnd->dpos, &wnd->rect, &drect); 577 578 gc = ds_display_get_gc(wnd->display); // XXX 579 if (gc != NULL) { 580 gfx_set_color(gc, wnd->display->bg_color); 581 gfx_fill_rect(gc, &drect); 582 } 577 gfx_rect_translate(&wnd->dpos, &wnd->preview_rect, &drect); 578 (void) ds_display_paint(wnd->display, &drect); 583 579 584 580 gfx_coord2_subtract(pos, &wnd->orig_pos, &dresize); … … 586 582 ds_window_calc_resize(wnd, &dresize, &nrect); 587 583 gfx_rect_translate(&wnd->dpos, &nrect, &drect); 584 wnd->preview_rect = nrect; 588 585 589 586 rc = gfx_color_new_rgb_i16(0xffff, 0xffff, 0xffff, &color);
Note:
See TracChangeset
for help on using the changeset viewer.