added non global hotkeys and new display features

This commit is contained in:
2021-09-29 05:15:13 +10:00
parent 8e3683340d
commit 24b576f59f
7 changed files with 177 additions and 114 deletions

View File

@ -18,7 +18,7 @@
#include <math.h>
#include "cJSON.h"
#define NS_PER_S 1000000000
#define NS_PER_S 1000000000
#define cJSON_GetItem(x, y) cJSON_GetObjectItemCaseSensitive(x, y)
struct segment
@ -47,8 +47,11 @@ void skip();
void loadKeymap();
void ftime(char *timestr, bool withMS, int ms);
int timespecToMS(struct timespec t);
void drawSegments();
void drawCurrentSegment();
void drawNotif();
void clearNotif();
void drawSegmentNames();
void drawTimeColumn();
void toggleCompact();
void drawDisplay();
void resize(int i);
void importSplitsIO(cJSON *splitfile);