]> Dogcows Code - chaz/openbox/blob - otk/rendertest.cc
widegt using new render system
[chaz/openbox] / 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 }
This page took 0.035297 seconds and 5 git commands to generate.