Update todos and comments.

This commit is contained in:
2026-02-28 09:09:19 -08:00
parent a45e0e6110
commit 6ef2416d96

2
main.c
View File

@@ -4,6 +4,7 @@
// [ ] On timeline, hower, display additional activity chunk info. // // [ ] On timeline, hower, display additional activity chunk info. //
// [X] Display distribution timeline below the activity line. // // [X] Display distribution timeline below the activity line. //
// [ ] Better file save error handling. // // [ ] Better file save error handling. //
// [ ] Make Linux and MacOS libraries for RayLib; store locally. //
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
@@ -96,6 +97,7 @@ B32 activity_button(Rectangle rect, char *title, char *subtitle,
button_pressed = true; button_pressed = true;
} }
// TODO: Clean up.
DrawRectangleRounded(rect, 0.2f, 100, background_color); DrawRectangleRounded(rect, 0.2f, 100, background_color);
DrawTextEx(state.font, title, (Vector2){ (rect.x + rect.width / 2.0f - title_font_d.x / 2.0f), (rect.y + rect.height / 2.0f - title_font_d.y / 2.0f) }, font_size, 2, font_color); DrawTextEx(state.font, title, (Vector2){ (rect.x + rect.width / 2.0f - title_font_d.x / 2.0f), (rect.y + rect.height / 2.0f - title_font_d.y / 2.0f) }, font_size, 2, font_color);
DrawTextEx(state.font, subtitle, (Vector2){ (rect.x + rect.width / 2.0f - subtitle_font_d.x / 2.0f), (rect.y + rect.height / 2.0f - subtitle_font_d.y / 2.0f) + 22.0f }, subtitle_font_size, 2, font_color); DrawTextEx(state.font, subtitle, (Vector2){ (rect.x + rect.width / 2.0f - subtitle_font_d.x / 2.0f), (rect.y + rect.height / 2.0f - subtitle_font_d.y / 2.0f) + 22.0f }, subtitle_font_size, 2, font_color);