openbox/otk/rendertest.cc

26 lines
371 B
C++
Raw Normal View History

2003-01-18 00:33:48 +00:00
#include "otk.hh"
#include "rendercontrol.hh"
2003-01-18 04:31:16 +00:00
#include "rendertexture.hh"
2003-01-18 00:33:48 +00:00
#include <stdio.h>
2003-01-18 04:10:17 +00:00
#include <X11/Xlib.h>
2003-01-18 00:33:48 +00:00
int main(int argc, char **argv)
{
printf("\n");
otk::Application app(argc, argv);
otk::AppWidget foo(&app);
foo.resize(600, 500);
2003-01-18 04:31:16 +00:00
otk::RenderTexture tex;
2003-01-20 06:11:12 +00:00
foo.setTexture(&tex);
foo.show();
2003-01-18 04:10:17 +00:00
2003-01-18 00:33:48 +00:00
app.run();
printf("\n");
return 0;
}