summaryrefslogtreecommitdiff
path: root/otk/otk_test.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/otk_test.cc
parenta36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff)
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'otk/otk_test.cc')
-rw-r--r--otk/otk_test.cc36
1 files changed, 0 insertions, 36 deletions
diff --git a/otk/otk_test.cc b/otk/otk_test.cc
deleted file mode 100644
index f10c4b3b..00000000
--- a/otk/otk_test.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-
-#include "config.h"
-
-#include "application.hh"
-#include "appwidget.hh"
-#include "label.hh"
-#include "button.hh"
-
-int main(int argc, char **argv) {
- otk::Application app(argc, argv);
-
- otk::AppWidget foo(&app, otk::Widget::Vertical, 3);
- otk::Label lab(&foo);
- otk::Label lab2(&foo);
- otk::Button but(&foo);
- otk::Button but2(&foo);
-
- foo.resize(otk::Size(100, 150));
-
- lab.setText("Hi, I'm a sexy\nlabel!!!");
- lab.setMaxSize(otk::Size(0,0));
- lab2.setText("Me too!!");
- lab2.setBorderWidth(10);
- lab2.setBorderColor(otk::RenderStyle::style(app.screen())->buttonFocusColor());
- but.setText("Im not the default button...");
- but2.setText("But I AM!!");
- but2.setHighlighted(true);
-
-
- foo.show();
-
- app.run();
-
- return 0;
-}