-
Notifications
You must be signed in to change notification settings - Fork 3
/
readme.txt
31 lines (20 loc) · 987 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Copy the sfwdraw.h and SFW.lib into your project directory. Add sfwdraw.h as an include and set your project to link to sfw.lib, done!
The source and example project in this repo are setup to use debug x86 configuration only.
Right now, everything is setup using Visual Studio 2015. The .libs shouldn't work in other versions.
A vs2015 glfw3 binary can be found in the source folder if you'd like to use it for some other project.
In the solution explorer (visual studio),
Right-Click Project
-> Add
-> Existing Item
Select sfwdraw.h
Right-click project
-> Configuration Properties
-> Linker
-> Input
-> Additional Dependencies
-> Edit
type in SFW.lib;
Look at the example project for usage.
This is a very simple framework to provide the simplest possible drawing context in C++.
It uses a fixed, pixel-perfect orthogonal view based on the size of the window created.
Immediate mode procedures are in place to draw white lines and circles- nothing else.