27 lines
609 B
C
27 lines
609 B
C
|
|
#ifndef __MWCXX_WIDGET_CLOCK_H__
|
||
|
|
#define __MWCXX_WIDGET_CLOCK_H__
|
||
|
|
|
||
|
|
#include <MwCXX/MachDep.h>
|
||
|
|
#include <MwCXX/Widget/Base.h>
|
||
|
|
|
||
|
|
#include <Mw/Widget/Clock.h>
|
||
|
|
|
||
|
|
namespace MwCXX {
|
||
|
|
class Clock : public MwCXX::Base {
|
||
|
|
protected:
|
||
|
|
virtual void RegisterHandlers();
|
||
|
|
|
||
|
|
public:
|
||
|
|
Clock(MwWidget widget, MwCXX::Base* parent = NULL);
|
||
|
|
Clock(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
||
|
|
|
||
|
|
int GetHour();
|
||
|
|
void SetHour(int value);
|
||
|
|
int GetMinute();
|
||
|
|
void SetMinute(int value);
|
||
|
|
int GetSecond();
|
||
|
|
void SetSecond(int value);
|
||
|
|
};
|
||
|
|
}; // namespace MwCXX
|
||
|
|
|
||
|
|
#endif
|