This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
portland-os/src/kernel/settings.h

17 lines
No EOL
399 B
C

#ifndef SETTINGS_H
#define SETTINGS_H
#include "window.h"
#include <stdbool.h>
#include <stdint.h>
void init_settings();
void close_settings();
//lengths do not include null terminator. if setting value is too long, it is cropped.
bool try_get_sz_setting(const char *name, char *out, uint32_t max_len, uint32_t *len_out);
bool try_get_color_setting(const char *name, struct pixel *out);
#endif