From 2111c4816ba9577a743e42139b18b5f2d7cef881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Stensg=C3=A5rd?= Date: Fri, 11 Jul 2025 00:22:11 +0200 Subject: opplysning: press r to refresh --- opplysning.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opplysning.c') 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); -- cgit v1.2.3