mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
- Update wlr_box includes to util/box.h: the wlroots header has been moved upstream. - Subsurface fields have been moved - Create renderer and allocator, stop using wlr_backend_get_renderer - Initalize output rendering
11 lines
219 B
C
11 lines
219 B
C
#ifndef CG_UTIL_H
|
|
#define CG_UTIL_H
|
|
|
|
#include <wlr/util/box.h>
|
|
|
|
/** Apply scale to a width or height. */
|
|
int scale_length(int length, int offset, float scale);
|
|
|
|
void scale_box(struct wlr_box *box, float scale);
|
|
|
|
#endif
|