2019-11-24 19:37:49 +03:00
|
|
|
#include "swappy.h"
|
|
|
|
|
2020-01-12 23:32:38 +03:00
|
|
|
#define CONFIG_LINE_SIZE_DEFAULT 5
|
|
|
|
#define CONFIG_TEXT_FONT_DEFAULT "sans-serif"
|
|
|
|
#define CONFIG_TEXT_SIZE_DEFAULT 20
|
2020-06-18 05:54:47 +03:00
|
|
|
#define CONFIG_SHOW_PANEL_DEFAULT false
|
2020-11-10 01:04:03 +03:00
|
|
|
#define CONFIG_SAVE_FILENAME_FORMAT_DEFAULT "swappy-%Y%m%d_%H%M%S.png"
|
2021-12-25 20:17:17 +03:00
|
|
|
#define CONFIG_PAINT_MODE_DEFAULT SWAPPY_PAINT_MODE_BRUSH
|
2022-07-31 13:04:54 +03:00
|
|
|
#define CONFIG_EARLY_EXIT_DEFAULT false
|
2022-11-19 00:05:37 +03:00
|
|
|
#define CONFIG_FILL_SHAPE_DEFAULT false
|
2020-01-12 23:32:38 +03:00
|
|
|
|
|
|
|
void config_load(struct swappy_state *state);
|
2020-11-10 01:04:03 +03:00
|
|
|
void config_free(struct swappy_state *state);
|