add clock widget (closes #35)
This commit is contained in:
parent
8fb77771bb
commit
c6aaf54656
15 changed files with 210 additions and 16 deletions
|
|
@ -245,6 +245,15 @@ int main() {
|
|||
MwNscale, 1,
|
||||
NULL);
|
||||
|
||||
f = frame("Clock", -PaddingContent, -PaddingContent, MwClockClass,
|
||||
MwNhour, 15,
|
||||
MwNminute, 0,
|
||||
MwNsecond, 10,
|
||||
NULL);
|
||||
|
||||
f = frame("Chart", -PaddingContent, -PaddingContent, MwCalendarClass,
|
||||
NULL);
|
||||
|
||||
f = frame("ComboBox", -PaddingContent, 24, MwComboBoxClass, NULL);
|
||||
w = child(f);
|
||||
MwComboBoxAdd(w, -1, "Hello!");
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include <math.h>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265
|
||||
#define M_PI 3.14159265359
|
||||
#endif
|
||||
|
||||
#define SIZE 100
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265
|
||||
#define M_PI 3.14159265359
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue