cagebreak/util.h
Cagebreak Signing Key 7 df167f2839 Release 1.8.0
- Add libinput configuration
- Add virtual keyboard and pointer support
2021-09-26 21:25:46 +02:00

20 lines
341 B
C

#ifndef CG_UTIL_H
#define CG_UTIL_H
#include <stdio.h>
struct wlr_box;
/** Apply scale to a width or height. */
int
scale_length(int length, int offset, double scale);
void
scale_box(struct wlr_box *box, double scale);
char *
malloc_vsprintf(const char *fmt, ...);
char *
malloc_vsprintf_va_list(const char *fmt, va_list list);
#endif