]> Dogcows Code - chaz/openbox/blob - otk/rendertest.cc
change the render() interface
[chaz/openbox] / otk / rendertest.cc
1 #include "otk.hh"
2 #include "rendercontrol.hh"
3
4 #include <stdio.h>
5
6 int main(int argc, char **argv)
7 {
8 printf("\n");
9
10 otk::Application app(argc, argv);
11 otk::AppWidget foo(&app);
12 foo.resize(600, 500);
13 foo.show();
14
15 otk::RenderControl *rc = otk::RenderControl::getRenderControl(0);
16
17 rc->render(&foo);
18
19 app.run();
20
21 delete rc;
22
23 printf("\n");
24 return 0;
25 }
This page took 0.038043 seconds and 5 git commands to generate.