Commits

Trammell Hudson committed b17e328

draws, slowly!

Comments (0)

Files changed (2)

 	int y,
 	int w,
 	int h,
-	int draw_white
+	int inverted
 )
 {
-	graphics_context_set_fill_color(ctx, draw_white ? GColorWhite : GColorBlack);
+	graphics_context_set_fill_color(ctx, inverted ? GColorWhite : GColorBlack);
 	graphics_fill_rect(ctx, GRect(x, y, w, h), 0, GCornerNone);
 }
 
 	int y
 )
 {
-	graphics_context_set_fill_color(ctx, GColorWhite);
+	graphics_context_set_stroke_color(ctx, GColorBlack);
 	graphics_draw_pixel(ctx, GPoint(x,y));
 }
 
 	int y
 )
 {
-	graphics_context_set_fill_color(ctx, GColorBlack);
+	graphics_context_set_stroke_color(ctx, GColorWhite);
 	graphics_draw_pixel(ctx, GPoint(x,y));
 }
 
 void draw(GContext * gctx)
 {
    ctx = gctx;
+	//glcdFillRectangle(0, 0, 32, 32, 0);
+	//glcdClearDot(16, 16);
+	//glcdSetDot(64, 16);
+
+	initdisplay(0);
 
   // Animation Loop + delay
   animation_loop();
 static Window window;
 static Layer layer;
 
+extern void draw(GContext * gctx);
+
 static void
 layer_update(
 	Layer * const me,