listbox:
Added header_fgcolor and item_highlighted to color scheme. menu: Added change_text function.
This commit is contained in:
@@ -1158,6 +1158,11 @@ namespace nana
|
||||
impl_->mbuilder.data().items.at(index).image = img;
|
||||
}
|
||||
|
||||
void menu::change_text(std::size_t index, const std::string& text)
|
||||
{
|
||||
impl_->mbuilder.data().items.at(index).text = text;
|
||||
}
|
||||
|
||||
bool menu::link(std::size_t index, menu& menu_obj)
|
||||
{
|
||||
if(impl_->mbuilder.set_sub_menu(index, menu_obj.impl_->mbuilder.data()))
|
||||
|
||||
Reference in New Issue
Block a user