summaryrefslogtreecommitdiff
path: root/opplysning.c
diff options
context:
space:
mode:
Diffstat (limited to 'opplysning.c')
-rw-r--r--opplysning.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/opplysning.c b/opplysning.c
index c2998cf..7764ee5 100644
--- a/opplysning.c
+++ b/opplysning.c
@@ -256,6 +256,10 @@ main(void)
ray_init();
while (!WindowShouldClose()) {
+ if (IsKeyPressed(KEY_R)) {
+ load_events(&ne_google, ev_google, "var/google.db");
+ load_events(&ne_meetup, ev_meetup, "var/meetup.db");
+ }
BeginDrawing();
ClearBackground(R.bg);
draw_time(SCREEN_W / 2 - 100, 0);