summaryrefslogtreecommitdiff
path: root/src/graphics_c2_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics_c2_opengl.c')
-rw-r--r--src/graphics_c2_opengl.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/graphics_c2_opengl.c b/src/graphics_c2_opengl.c
index 3429193..2104f78 100644
--- a/src/graphics_c2_opengl.c
+++ b/src/graphics_c2_opengl.c
@@ -88,6 +88,10 @@ void draw_c2_filled_shape(c2_s_t s) {
// glEnd();
}
+void set_ansi_color(int i) {
+ glColor3f(0.0, 1.0, 0.0);
+}
+
void set_color() {
glColor3f(0.0, 1.0, 0.0);
}
@@ -115,6 +119,18 @@ void red_and_blue_magic() {
}
+void draw_mode_copy() {
+
+}
+
+void draw_mode_and() {
+
+}
+
+void draw_mode_or() {
+
+}
+
void keypress_handler(unsigned char key, int x, int y) {//x and y are mouse positions.
switch (key) {
case 27: