-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRenderClock.cpp
More file actions
43 lines (39 loc) · 793 Bytes
/
Copy pathRenderClock.cpp
File metadata and controls
43 lines (39 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* RenderClock.cpp
*
* Base class to display the returned date and time values by the ClockData.
*
* Created on: 2014.01.09.
* Author: istvan_vig
*/
#include "RenderClock.h"
RenderClock::RenderClock() :
m_hour_position(0.0),
m_minute_position(0.0),
m_second_position(0.0),
m_hour(0),
m_min(0),
m_sec(0) {
;
}
RenderClock::~RenderClock() {
;
}
void RenderClock::setHourPos(float p) {
this->m_hour_position = p;
}
void RenderClock::setMinPos(float p) {
this->m_minute_position = p;
}
void RenderClock::setSecPos(float p) {
this->m_second_position = p;
}
void RenderClock::setHour(int h) {
this->m_hour = h;
}
void RenderClock::setMinute(int m) {
this->m_min = m;
}
void RenderClock::setSecond(int s) {
this->m_sec = s;
}