Skip to content

Instantly share code, notes, and snippets.

View ikeating's full-sized avatar
🎯
Hunting

Isaiah Keating ikeating

🎯
Hunting
View GitHub Profile
/*
A simple example of using the gfx library.
CSE 20211
9/7/2011
by Prof. Thain
*/
#include <stdio.h>
#include "gfx2.h"
/*
A simple graphics library for CSE 20211 by Douglas Thain
For complete documentation, see:
https://www3.nd.edu/~dthain/courses/cse20211/fall2013/gfx/
Version 4-SG 11/29/2018 - auth. Scott Graham, DSU.EDU - added some get key/position functionality
Version 3, 11/07/2012 - Now much faster at changing colors rapidly.
Version 2, 9/23/2011 - Fixes a bug that could result in jerky animation.
*/
#include <X11/Xlib.h>