mwcxx/include/MwCXX/Widget/Clock.h

27 lines
612 B
C
Raw Normal View History

2026-09-14 03:22:51 +09:00
#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);
2026-09-15 12:00:07 +09:00
int GetHour();
2026-09-14 03:22:51 +09:00
void SetHour(int value);
2026-09-15 12:00:07 +09:00
int GetMinute();
2026-09-14 03:22:51 +09:00
void SetMinute(int value);
2026-09-15 12:00:07 +09:00
int GetSecond();
2026-09-14 03:22:51 +09:00
void SetSecond(int value);
};
}; // namespace MwCXX
#endif