2003-01-18 00:33:48 +00:00
|
|
|
#include "otk.hh"
|
|
|
|
#include "rendercontrol.hh"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
{
|
|
|
|
printf("\n");
|
|
|
|
|
|
|
|
otk::Application app(argc, argv);
|
|
|
|
otk::AppWidget foo(&app);
|
|
|
|
foo.resize(600, 500);
|
|
|
|
foo.show();
|
|
|
|
|
|
|
|
otk::RenderControl *rc = otk::RenderControl::getRenderControl(0);
|
|
|
|
|
2003-01-18 02:38:29 +00:00
|
|
|
rc->render(&foo);
|
2003-01-18 00:33:48 +00:00
|
|
|
|
|
|
|
app.run();
|
|
|
|
|
|
|
|
delete rc;
|
|
|
|
|
|
|
|
printf("\n");
|
|
|
|
return 0;
|
|
|
|
}
|