- otk::OtkAppWidget foo(&app);
-
- foo.resize(600, 500);
- foo.setTexture(app.getStyle()->getTitleFocus());
-// foo.setUnfocusTexture(app.getStyle()->getTitleUnfocus());
-
- foo.setBevelWidth(2);
- foo.setDirection(otk::OtkWidget::Horizontal);
-
- otk::OtkFocusWidget left(&foo);
- otk::OtkFocusWidget right(&foo);
-
- left.setDirection(otk::OtkWidget::Horizontal);
- left.setStretchableVert(true);
- left.setStretchableHorz(true);
- left.setTexture(app.getStyle()->getTitleFocus());
- left.setUnfocusTexture(app.getStyle()->getTitleUnfocus());
-
- right.setDirection(otk::OtkWidget::Vertical);
- right.setBevelWidth(10);
- right.setStretchableVert(true);
- right.setWidth(300);
- right.setTexture(app.getStyle()->getTitleFocus());
- right.setUnfocusTexture(app.getStyle()->getTitleUnfocus());
-
- otk::OtkButton iconb(&left);
- iconb.resize(40,20);
- otk::OtkFocusWidget label(&left);
- otk::OtkButton maxb(&left);
- otk::OtkButton closeb(&left);
+ otk::AppWidget foo(&app, otk::Widget::Vertical, 3);
+ otk::Label lab(&foo);
+ otk::Label lab2(&foo);
+ otk::Button but(&foo);
+ otk::Button but2(&foo);