Update todos and comments.
This commit is contained in:
2
main.c
2
main.c
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user