Added colon; Added drawTime and draw

This commit is contained in:
2017-11-27 11:26:27 +00:00
parent e0aed95b7b
commit 64d46c961b
4 changed files with 51 additions and 7 deletions

View File

@@ -1,3 +1,6 @@
#define NUMBERPAIR 11 //one numberpair has 11 chars (direction x)
#define COLONSPACE 5
typedef struct {
int centerx;
int centery;
@@ -12,4 +15,6 @@ typedef struct {
void quitProgram(void);
void initState(state *s);
void drawNumber(int starty, int startx, int num);
void drawTime(state *s);
void drawTime(state *s, int hour, int min, int sec);
void drawColon(int starty, int startx);
void draw(state *s);