lab 6 start

This commit is contained in:
2022-05-10 21:20:05 -05:00
parent 1523e62098
commit fecf12c97a
23 changed files with 1784 additions and 0 deletions

30
Lab6/main.cpp Normal file
View File

@@ -0,0 +1,30 @@
/**
* @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;
}