X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fotk_test.cc;h=495b81d59ff687c425f3c7f748d9be517e936b83;hb=5a139f7263e33b499836f5df9ac37400e02c32f9;hp=987563ad812d58ac048c2ca709271af5f2270f6b;hpb=d4d15160fe81353a9f7958c1feb1821abe179a70;p=chaz%2Fopenbox diff --git a/otk/otk_test.cc b/otk/otk_test.cc index 987563ad..495b81d5 100644 --- a/otk/otk_test.cc +++ b/otk/otk_test.cc @@ -1,15 +1,22 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- + +#ifdef HAVE_CONFIG_H +# include "../config.h" +#endif + #include "application.hh" #include "focuswidget.hh" +#include "appwidget.hh" #include "button.hh" int main(int argc, char **argv) { otk::OtkApplication app(argc, argv); - otk::OtkFocusWidget foo(&app); + otk::OtkAppWidget foo(&app); foo.resize(600, 500); foo.setTexture(app.getStyle()->getTitleFocus()); - foo.setUnfocusTexture(app.getStyle()->getTitleUnfocus()); +// foo.setUnfocusTexture(app.getStyle()->getTitleUnfocus()); foo.setBevelWidth(2); foo.setDirection(otk::OtkWidget::Horizontal);