watch.cpp code cleanup
This commit is contained in:
parent
ab324bb164
commit
554cdc3042
|
@ -31,7 +31,6 @@ class watch : public FDialog
|
|||
~watch(); // destructor
|
||||
void printTime();
|
||||
void onTimer (FTimerEvent*);
|
||||
void onAccel (FAccelEvent*);
|
||||
void onClose (FCloseEvent*);
|
||||
void cb_clock (FWidget*, void*);
|
||||
void cb_seconds (FWidget*, void*);
|
||||
|
@ -130,13 +129,6 @@ void watch::onTimer (FTimerEvent*)
|
|||
printTime();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
void watch::onAccel (FAccelEvent* ev)
|
||||
{
|
||||
close();
|
||||
ev->accept();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
void watch::onClose (FCloseEvent* event)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue