#include "otk.hh" #include "rendercontrol.hh" #include "rendertexture.hh" #include #include int main(int argc, char **argv) { printf("\n"); otk::Application app(argc, argv); otk::AppWidget foo(&app); foo.resize(600, 500); otk::RenderColor color(0, 0, 0xff, 0xff); otk::RenderTexture tex(false, otk::RenderTexture::Flat, false, otk::RenderTexture::Solid, false, &color, 0, 0, 0); foo.setTexture(&tex); foo.show(); app.run(); printf("\n"); return 0; }