feat: simple overlay and window modes with intention setting
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef WINDOWSTATE_H
|
||||
#define WINDOWSTATE_H
|
||||
|
||||
#include "common.h"
|
||||
#include <stddef.h>
|
||||
#define GRAPH_DAYS 30
|
||||
|
||||
enum mode_t {
|
||||
WINDOW = 0,
|
||||
OVERLAY
|
||||
};
|
||||
typedef enum mode_t Mode;
|
||||
|
||||
void init_window_state();
|
||||
void cleanup_window_state();
|
||||
|
||||
void set_intention(char *intention);
|
||||
char *get_intention();
|
||||
size_t get_intention_size();
|
||||
|
||||
Mode get_mode();
|
||||
void set_mode(Mode mode);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user