Ignore:
Timestamp:
2021-10-24T08:28:43Z (2 years ago)
Author:
GitHub <noreply@…>
Children:
f628215
Parents:
2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
git-committer:
GitHub <noreply@…> (2021-10-24 08:28:43)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/memgfx/include/types/memgfx/memgc.h

    r2ce943a r8a9a41e  
    3737#define _MEMGFX_TYPES_MEMGC_H
    3838
     39#include <errno.h>
     40#include <stdbool.h>
    3941#include <types/gfx/coord.h>
    4042
     
    4244typedef struct mem_gc mem_gc_t;
    4345
    44 typedef void (*mem_gc_invalidate_cb_t)(void *, gfx_rect_t *);
    45 typedef void (*mem_gc_update_cb_t)(void *);
     46typedef struct {
     47        /** Invalidate rectangle */
     48        void (*invalidate)(void *, gfx_rect_t *);
     49        /** Update display */
     50        void (*update)(void *);
     51        /** Get cursor position */
     52        errno_t (*cursor_get_pos)(void *, gfx_coord2_t *);
     53        /** Set cursor position */
     54        errno_t (*cursor_set_pos)(void *, gfx_coord2_t *);
     55        /** Set cursor visibility */
     56        errno_t (*cursor_set_visible)(void *, bool);
     57} mem_gc_cb_t;
    4658
    4759#endif
Note: See TracChangeset for help on using the changeset viewer.