Added colon; Added drawTime and draw
This commit is contained in:
7
nclock.h
7
nclock.h
@@ -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);
|
||||
|
Reference in New Issue
Block a user