mirror of
https://github.com/libretro/bsnes.git
synced 2026-11-11 02:31:27 -10:00
byuu says: Changelog: - synchronized tomoko, loki, icarus with extensive changes to nall (118KiB diff)
35 lines
640 B
C++
35 lines
640 B
C++
#if defined(Hiro_ComboEdit)
|
|
|
|
auto mComboEditItem::allocate() -> pObject* {
|
|
return new pComboEditItem(*this);
|
|
}
|
|
|
|
//
|
|
|
|
auto mComboEditItem::icon() const -> image {
|
|
return state.icon;
|
|
}
|
|
|
|
auto mComboEditItem::remove() -> type& {
|
|
if(auto comboEdit = parentComboEdit()) comboEdit->remove(*this);
|
|
return *this;
|
|
}
|
|
|
|
auto mComboEditItem::setIcon(const image& icon) -> type& {
|
|
state.icon = icon;
|
|
signal(setIcon, icon);
|
|
return *this;
|
|
}
|
|
|
|
auto mComboEditItem::setText(const string& text) -> type& {
|
|
state.text = text;
|
|
signal(setText, text);
|
|
return *this;
|
|
}
|
|
|
|
auto mComboEditItem::text() const -> string {
|
|
return state.text;
|
|
}
|
|
|
|
#endif
|