Changeset 879d7245 in mainline for uspace/srv/hid/display/window.c


Ignore:
Timestamp:
2019-11-30T00:00:51Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94635b30
Parents:
fd777a2
Message:

Make use of window now having a pointer directly to display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/window.c

    rfd777a2 r879d7245  
    7777        ds_window_t *wnd = (ds_window_t *) arg;
    7878
    79         log_msg(LOG_DEFAULT, LVL_NOTE, "gc_set_color gc=%p", wnd->client->display->gc);
    80         return gfx_set_color(wnd->client->display->gc, color);
     79        log_msg(LOG_DEFAULT, LVL_NOTE, "gc_set_color gc=%p", wnd->display->gc);
     80        return gfx_set_color(wnd->display->gc, color);
    8181}
    8282
     
    9595        log_msg(LOG_DEFAULT, LVL_NOTE, "gc_fill_rect");
    9696        gfx_rect_translate(&wnd->dpos, rect, &drect);
    97         return gfx_fill_rect(wnd->client->display->gc, &drect);
     97        return gfx_fill_rect(wnd->display->gc, &drect);
    9898}
    9999
     
    117117                return ENOMEM;
    118118
    119         rc = gfx_bitmap_create(wnd->client->display->gc, params, alloc,
     119        rc = gfx_bitmap_create(wnd->display->gc, params, alloc,
    120120            &cbm->bitmap);
    121121        if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.