+ mouse_hover_ = mouse_hover;
+ return true;
+}
+
+
+void InsetCommand::draw(PainterInfo & pi, int x, int y) const
+{
+ setPosCache(pi, x, y);
+ button_.setRenderState(mouse_hover_);
+ button_.draw(pi, x, y);
+}
+
+
+void InsetCommand::setParams(InsetCommandParams const & p)
+{
+ p_ = p;
+ updateButtonLabel_ = true;