mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 07:09:11 +02:00
- Add -bs (bad security) option - Fix Issue 57 (SPDX spelling error #39) - Fix Issue 59 (meson install settings) - Fix Issue 55 (npd) - Fix Issue 56 (npd) - Fix Issue 58 (#40 config) - Improve release procedure - Add miniscule test suite - Adjust Cagebreak to wlroots 0.16.2 - New GPG Keys
23 lines
444 B
C
23 lines
444 B
C
// Copyright 2020 - 2023, project-repo and the cagebreak contributors
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#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
|