buffybox/layouts.h
2021-09-09 08:42:43 +02:00

19 lines
No EOL
378 B
C

#ifndef LAYOUTS_H
#define LAYOUTS_H
#include "lvgl/lvgl.h"
typedef enum {
LAYOUT_ENGLISH_US = 0,
LAYOUT_FRENCH = 1,
LAYOUT_SPANISH = 2,
LAYOUT_GERMAN = 3
} layout_t;
#define NUM_LAYOUTS 4
char *get_layout_names(void);
char *get_special_layer_trigger(layout_t layout);
void apply_layout(lv_obj_t *keyboard, layout_t layout);
#endif /* LAYOUTS_H */