Changeset c79545e in mainline for uspace/srv/hid/display/window.c
- Timestamp:
- 2020-01-19T10:00:11Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2012fe0
- Parents:
- 946a666
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/window.c
r946a666 rc79545e 420 420 (int) event->hpos, (int) event->vpos); 421 421 422 gfx_rect_translate(&wnd->dpos, &wnd->rect, &drect); 423 424 gc = ds_display_get_gc(wnd->display); // XXX 425 if (gc != NULL) { 426 gfx_set_color(gc, wnd->display->bg_color); 427 gfx_fill_rect(gc, &drect); 428 } 429 422 430 assert(wnd->state == dsw_moving); 423 431 pos.x = event->hpos; … … 428 436 gfx_rect_translate(&nwpos, &wnd->rect, &drect); 429 437 438 wnd->orig_pos = pos; 439 wnd->dpos = nwpos; 440 430 441 rc = gfx_color_new_rgb_i16(0xffff, 0xffff, 0xffff, &color); 431 442 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.