summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2025-04-18 20:17:08 +0200
committerMartin Stensgård <mastensg@mastensg.net>2025-04-18 20:17:08 +0200
commit2e0722b6158fd320714b062e0c125b4d4dff495d (patch)
treeb676fe54c002f97c03fd7d4e4479e021fafd69ee
parent869f48a1965382553aa6d75604bcba323ac5512a (diff)
don't print the events
-rw-r--r--opplysning.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/opplysning.c b/opplysning.c
index 05943d5..a75e7bb 100644
--- a/opplysning.c
+++ b/opplysning.c
@@ -114,21 +114,10 @@ line(int x, int y, Font f, Color c, char *s)
DrawTextEx(f, s, (Vector2){x, y}, (float)f.baseSize, 2, c);
}
-void
-draw_hd(int x, int y, Font f, Color c, char *s)
-{
- DrawTextEx(f, s, (Vector2){x, y}, (float)f.baseSize, 2, c);
-}
-
int
main(void)
{
load_the_events();
- for (int i = 0; i < num_events; ++i) {
- struct event *e = the_events + i;
- printf("\t%2d %s %u. %s %02u:%02u %s\n", i, ukedag[e->wday],
- e->day, maaned[e->month], e->hour, e->minute, e->title);
- }
const int sw = 1920;
const int sh = 1080;