Files
CS3210/Lab6/main.cpp
2022-05-10 21:20:05 -05:00

30 lines
501 B
C++

/**
* @file main.cpp
* @author Trevor Barnes (barnestr@msoe.edu)
* @brief
* @version 1.0
* @date 2022-04-26
*
* @copyright Copyright (c) 2022
*
*/
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <vector>
#include "x11context.h"
#include "mydrawing.h"
using namespace std;
int main(void){
GraphicsContext* gc = new X11Context(800,600,GraphicsContext::BLACK);
gc->setColor(GraphicsContext::GREEN);
MyDrawing md;
gc->runLoop(&md);
return 0;
}