Changeset 045186b in mainline for uspace/lib/gfx/src/render.c


Ignore:
Timestamp:
2019-04-15T15:45:04Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9259d20
Parents:
d6dc9a12
Message:

Gfxdemo application stub, Gfx context virtual method dispatch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfx/src/render.c

    rd6dc9a12 r045186b  
    3535
    3636#include <gfx/render.h>
     37#include "../private/context.h"
    3738
    3839/** Set drawing color.
     
    4647errno_t gfx_set_color(gfx_context_t *gc, gfx_color_t *color)
    4748{
    48         return EOK;
     49        return gc->ops->set_color(gc->arg, color);
    4950}
    5051
     
    5960errno_t gfx_fill_rect(gfx_context_t *gc, gfx_rect_t *rect)
    6061{
    61         return EOK;
     62        return gc->ops->fill_rect(gc->arg, rect);
    6263}
    6364
Note: See TracChangeset for help on using the changeset viewer.