Created
December 1, 2015 03:25
-
-
Save jerstlouis/5b036561457d175fafef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "ecere" | |
#include <GL/gl.h> | |
class Form1 : Window | |
{ | |
displayDriver = "OpenGL"; | |
caption = $"Form1"; | |
background = formColor; | |
borderStyle = sizable; | |
hasMaximize = true; | |
hasMinimize = true; | |
hasClose = true; | |
clientSize = { 632, 438 }; | |
void OnRedraw(Surface surface) | |
{ | |
glClearColor(1,0.5,0.5,1); | |
glClear(GL_COLOR_BUFFER_BIT); | |
} | |
} | |
Form1 form1 {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment