mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 01:25:39 +02:00
Basic vertical rendering
- Add height attribute to most particles for height generation on the fly
This commit is contained in:
parent
37b5b02fc4
commit
60c18246d8
23 changed files with 286 additions and 158 deletions
|
@ -64,11 +64,11 @@ exposable_default_destroy(struct exposable *exposable)
|
|||
|
||||
void
|
||||
exposable_render_deco(const struct exposable *exposable,
|
||||
pixman_image_t *pix, int x, int y, int height)
|
||||
pixman_image_t *pix, int x, int y)
|
||||
{
|
||||
const struct deco *deco = exposable->particle->deco;
|
||||
if (deco != NULL)
|
||||
deco->expose(deco, pix, x, y, exposable->width, height);
|
||||
deco->expose(deco, pix, x, y, exposable->width, exposable->height);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue