Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar and Timeline #124

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

carson-katri
Copy link

@carson-katri carson-katri commented Jul 28, 2018

This adds timeline.c and timeline.h files. These contain a combined timeline and calendar example app. The calendar uses Zeller's congruence to show the dates on the correct days of the week:

screen shot 2018-07-28 at 9 24 47 am
The colored background means there is an event on that date. Each TimelineEvent has it's own char *name, char *description, Date date, uint16_t *image, and GColor color. The black border is the selected date. Press the select button to view the timeline:
screen shot 2018-07-27 at 9 48 48 pm

They're both built on the same menu_layer. Right now I have it show January, but you can select any s_month and s_year. Eventually this will link with bluetooth to show any timeline events. But for now, they're hardcoded in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant