Listbox::Listbox(ListboxModel* model) : model_(model), listener_(NULL), native_wrapper_(NULL) { set_focusable(true); }
Button::Button( Rect parent_rect, std::string text ) : Widget { parent_rect }, text_ { text } { set_focusable(true); }
PuttyView::PuttyView() { extern Config cfg; puttyController_ = new NativePuttyController(&cfg, this); //SetVisible(false); set_focusable(true); //set_background(Background::CreateStandardPanelBackground()); }
ImageButton::ImageButton( const Rect parent_rect, const Bitmap* bitmap, const Color foreground, const Color background ) : Image { parent_rect, bitmap, foreground, background } { set_focusable(true); }
OptionsField::OptionsField( Point parent_pos, int length, options_t options ) : Widget { { parent_pos, { 8 * length, 16 } } }, length_ { length }, options { options } { set_focusable(true); }
NumberField::NumberField( Point parent_pos, int length, range_t range, int32_t step, char fill_char ) : Widget { { parent_pos, { 8 * length, 16 } } }, range { range }, step { step }, length_ { length }, fill_char { fill_char } { set_focusable(true); }
MenuView() { set_focusable(true); }
SilverlightView::SilverlightView() : ax_host_(new AxHost(this)), initialized_(false) { set_focusable(true); }
void CL_Label::init(const std::string &text) { impl = new CL_Label_Generic(this, text); get_style_manager()->connect_styles("label", this); set_focusable(false); }