eButton::eButton(eWidget *parent): eLabel(parent)
{
+ /* default to center alignment */
+ m_valign = alignCenter;
+ m_halign = alignCenter;
}
void eButton::push()
getStyle(style);
eLabel::event(event, data, data2);
- style->drawButtonFrame(painter, eRect(ePoint(0, 0), size()));
+ style->drawFrame(painter, eRect(ePoint(0, 0), size()), eWindowStyle::frameButton);
return 0;
}