+
+static void redraw(void)
+{
+ RECT rect;
+ HBRUSH brush;
+
+ rect.left = rect.top = 0;
+ rect.right = win_width;
+ rect.bottom = win_height;
+
+ brush = CreateSolidBrush(RGB(128, 0, 0));
+
+ FillRect(dc, &rect, brush);
+}
+
+static void reshape(int x, int y)
+{
+}
+
+static void keydown(int key, int x, int y)
+{
+ switch(key) {
+ case 27:
+ quit = 1;
+ break;
+ }
+}
+
+static void keyup(int key, int x, int y)
+{
+}
+
+static void button(int bn, int st, int x, int y)
+{
+}
+
+static void motion(int x, int y)
+{
+}
+