Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/canvas.h

    re31ea20d r10cb47e  
    4242#include <surface.h>
    4343#include "widget.h"
     44#include "connection.h"
    4445
    4546typedef struct {
     
    4849        sysarg_t height;
    4950        surface_t *surface;
     51        signal_t keyboard_event;
     52        signal_t position_event;
    5053} canvas_t;
    5154
    52 extern bool init_canvas(canvas_t *, widget_t *, sysarg_t, sysarg_t,
     55extern bool init_canvas(canvas_t *, widget_t *, const void *, sysarg_t,
     56    sysarg_t, surface_t *);
     57extern canvas_t *create_canvas(widget_t *, const void *, sysarg_t, sysarg_t,
    5358    surface_t *);
    54 extern canvas_t *create_canvas(widget_t *, sysarg_t, sysarg_t, surface_t *);
     59extern bool update_canvas(canvas_t *, surface_t *);
    5560extern void deinit_canvas(canvas_t *);
    5661
Note: See TracChangeset for help on using the changeset viewer.