PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
theme.c File Reference
#include "internal.h"
#include <libpatchwork/config.h>
#include <libpatchwork/theme.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for theme.c:

Go to the source code of this file.

Functions

static void theme_colors_load (config_t *config, const char *section, theme_color_set_t *dest)
 
static void theme_lazy_load (void)
 
theme_ttheme_global_get (void)
 Get the global theme.
 

Variables

static bool isLoaded = false
 
static theme_t theme = {0}
 

Function Documentation

◆ theme_colors_load()

static void theme_colors_load ( config_t config,
const char *  section,
theme_color_set_t dest 
)
static

Definition at line 14 of file theme.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ theme_lazy_load()

static void theme_lazy_load ( void  )
static

Definition at line 33 of file theme.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ isLoaded

bool isLoaded = false
static

Definition at line 11 of file theme.c.

◆ theme

theme_t theme = {0}
static

Definition at line 12 of file theme.c.