diff options
Diffstat (limited to 'otk/otk_test.cc')
| -rw-r--r-- | otk/otk_test.cc | 36 |
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; -} |
