git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add support for DTV tuning api (not tested yet)
[enigma2.git]
/
lib
/
gui
/
ebutton.cpp
diff --git
a/lib/gui/ebutton.cpp
b/lib/gui/ebutton.cpp
index e24abd666b8c54be700f153d606ef3d3a38a8820..30824df2d28f0d920ac438fcc23756cf39b7ca46 100644
(file)
--- a/
lib/gui/ebutton.cpp
+++ b/
lib/gui/ebutton.cpp
@@
-2,6
+2,9
@@
eButton::eButton(eWidget *parent): eLabel(parent)
{
eButton::eButton(eWidget *parent): eLabel(parent)
{
+ /* default to center alignment */
+ m_valign = alignCenter;
+ m_halign = alignCenter;
}
void eButton::push()
}
void eButton::push()
@@
-21,7
+24,7
@@
int eButton::event(int event, void *data, void *data2)
getStyle(style);
eLabel::event(event, data, data2);
getStyle(style);
eLabel::event(event, data, data2);
- style->draw
ButtonFrame(painter, eRect(ePoint(0, 0), size())
);
+ style->draw
Frame(painter, eRect(ePoint(0, 0), size()), eWindowStyle::frameButton
);
return 0;
}
return 0;
}