A full audit of Reaktor's own sources: section banners, return-value and parameter notes, and descriptions of what a function does are gone. What stays records a library, OS or browser quirk, a threading or lifetime rule, or a license. Two comments that still named libdbus are corrected. Code is unchanged; the vendored nk_sdl3_renderer.h keeps its own comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
618 B
C
20 lines
618 B
C
#ifndef REAKTOR_CSS_H
|
|
#define REAKTOR_CSS_H
|
|
|
|
#include "reaktor/style.h"
|
|
|
|
typedef struct reaktor_sheet reaktor_sheet;
|
|
|
|
reaktor_sheet *reaktor_sheet_load(const char *const *paths, int count, const char *theme);
|
|
void reaktor_sheet_free(reaktor_sheet *s);
|
|
void reaktor_sheet_style(reaktor_sheet *s, const char *selector, reaktor_style *out);
|
|
|
|
int reaktor_sheet_add(reaktor_sheet *s, const char *path);
|
|
int reaktor_sheet_color(const reaktor_sheet *s, const char *name, unsigned char rgba[4]);
|
|
|
|
void reaktor_css_media(int reduce_motion, int more_contrast);
|
|
|
|
void reaktor_css_track(void (*seen)(const char *path));
|
|
|
|
#endif
|