new button that is a focuslabel
Dana Jansens danakj@orodu.net
3 files changed,
18 insertions(+),
60 deletions(-)
M
otk/otk_test.cc
→
otk/otk_test.cc
@@ -31,13 +31,14 @@ 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); // fixed size iconb.setText("foo"); - iconb.press(); + iconb.press(Button1); // fix width to 60 and let the height be calculated by its parent //label.setHeight(20);