forked from external/yambar
exposable: add a 'width' member, set (at latest) in begin_expose()
This commit is contained in:
parent
a745436ee2
commit
ce68bdb59d
4 changed files with 26 additions and 22 deletions
|
@ -26,8 +26,10 @@ struct exposable {
|
|||
const struct particle *particle;
|
||||
void *private;
|
||||
|
||||
int width; /* Should be set by begin_expose(), at latest */
|
||||
|
||||
void (*destroy)(struct exposable *exposable);
|
||||
int (*begin_expose)(const struct exposable *exposable, cairo_t *cr);
|
||||
int (*begin_expose)(struct exposable *exposable, cairo_t *cr);
|
||||
void (*expose)(const struct exposable *exposable, cairo_t *cr,
|
||||
int x, int y, int height);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue