]> icculus.org git repositories - mikachu/openbox.git/blob - otk/rendertest.cc
add rendercolor class, with a cache of gcs for the colors
[mikachu/openbox.git] / otk / rendertest.cc
1 #include "otk.hh"
2 #include "rendercontrol.hh"
3 #include "rendertexture.hh"
4
5 #include <stdio.h>
6 #include <X11/Xlib.h>
7
8 int main(int argc, char **argv)
9 {
10   printf("\n");
11
12   otk::Application app(argc, argv);
13   otk::AppWidget foo(&app);
14   foo.resize(600, 500);
15   
16   otk::RenderTexture tex;
17   foo.setTexture(&tex);
18
19   foo.show();
20   
21   app.run();
22
23   printf("\n");
24   return 0;
25 }