Gtk3 by Hombre, issue 2807

This commit is contained in:
Morgan Hardwood
2015-08-12 16:07:19 +02:00
parent 91f67f0cb6
commit 56a0805bc7
133 changed files with 3950 additions and 2626 deletions

View File

@@ -39,7 +39,7 @@ void ToolVBox::updateStyle()
}
}
void ToolVBox::on_style_changed (const Glib::RefPtr<Gtk::Style>& style)
void ToolVBox::on_style_updated ()
{
updateStyle();
}
@@ -60,7 +60,7 @@ void ToolParamBlock::updateStyle()
}
}
void ToolParamBlock::on_style_changed (const Glib::RefPtr<Gtk::Style>& style)
void ToolParamBlock::on_style_updated ()
{
updateStyle();
}
@@ -78,7 +78,7 @@ FoldableToolPanel::FoldableToolPanel(Gtk::Box* content, Glib::ustring toolName,
Gtk::Label *label = Gtk::manage(new Gtk::Label());
label->set_markup(Glib::ustring("<b>") + escapeHtmlChars(UILabel) + Glib::ustring("</b>"));
label->set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
label->set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_CENTER);
titleHBox->pack_start(*label, Gtk::PACK_EXPAND_WIDGET, 0);
RTImage *image = Gtk::manage (new RTImage("zoom-100-identifier.png"));
@@ -136,6 +136,13 @@ void FoldableToolPanel::set_inconsistent(bool isInconsistent)
exp->set_inconsistent(isInconsistent);
}
void FoldableToolPanel::setLevel (int level)
{
if (exp) {
exp->setLevel(level);
}
}
bool FoldableToolPanel::getEnabled()
{
return exp->getEnabled();