summaryrefslogtreecommitdiff
path: root/otk/rendertest.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
commita52a6d96d701c993896f276e4198003317632aaf (patch)
treebe2f51e6a433d1fdf9a7c8248b343cb3f6297212 /otk/rendertest.cc
parenta36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff)
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'otk/rendertest.cc')
-rw-r--r--otk/rendertest.cc45
1 files changed, 0 insertions, 45 deletions
diff --git a/otk/rendertest.cc b/otk/rendertest.cc
deleted file mode 100644
index b3a03a03..00000000
--- a/otk/rendertest.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-#include "config.h"
-
-#include "otk.hh"
-#include "rendercontrol.hh"
-#include "rendertexture.hh"
-
-extern "C" {
-#include <X11/Xlib.h>
-}
-
-#include <cstdio>
-
-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, 0x96, 0xba, 0x86);
- otk::RenderColor color2(0, 0x5a, 0x72, 0x4c);
- otk::RenderColor colord(0, 0, 0, 0);
- otk::RenderColor colorl(0, 0xff, 0xff, 0xff);
- otk::RenderTexture tex(false,
- otk::RenderTexture::Raised,
- otk::RenderTexture::Bevel1,
- false,
- otk::RenderTexture::Vertical,
- false,
- &color,
- &color2,
- &colord,
- &colorl,
- 0,
- 0);
- foo.setTexture(&tex);
-
- foo.show();
-
- app.run();
-
- printf("\n");
- return 0;
-}