Browse code

Rework font code, add new fonts, also proportional, rework watch usage - "SET" button now enters settings mode

Nils Faerber authored on 04/05/2013 19:23:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,13 +0,0 @@
1
-#ifndef _LcdDisplay_h
2
-#define _LcdDisplay_h
3
-
4
-// #include "oswald_hal.h"
5
-
6
-void DrawLcdLineBresenham(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend);
7
-void DrawLcdLineBresenhamWW(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend, const uint8_t thickness);
8
-u8t WriteLcdCharacter(const uint8_t x, const uint8_t y, const uint8_t Character);
9
-u8t WriteLcdString(const uint8_t x, const uint8_t y, const char *str);
10
-void WriteLcdNumber(const uint8_t x, const uint8_t y, const int16_t number);
11
-
12
-#endif
13
-
Browse code

Starting to get rid of borrowed code (LcdDisplay, Fonts), integrate new fonts and stuff

Nils Faerber authored on 28/04/2013 22:38:41
Showing 1 changed files
... ...
@@ -3,7 +3,6 @@
3 3
 
4 4
 // #include "oswald_hal.h"
5 5
 
6
-void oswald_draw_bitmap(const uint8_t xstart, const uint8_t ystart, const uint8_t width, const uint8_t height, const void *bmp);
7 6
 void DrawLcdLineBresenham(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend);
8 7
 void DrawLcdLineBresenhamWW(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend, const uint8_t thickness);
9 8
 u8t WriteLcdCharacter(const uint8_t x, const uint8_t y, const uint8_t Character);
Browse code

Lot's of stuff...

Nils Faerber authored on 27/04/2013 20:19:55
Showing 1 changed files
... ...
@@ -4,11 +4,11 @@
4 4
 // #include "oswald_hal.h"
5 5
 
6 6
 void oswald_draw_bitmap(const uint8_t xstart, const uint8_t ystart, const uint8_t width, const uint8_t height, const void *bmp);
7
-void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend);
8
-void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thickness);
9
-u8t WriteLcdCharacter(u8t x, u8t y, u8t Character);
10
-u8t WriteLcdString(u8t x, u8t y, char *str);
11
-void WriteLcdNumber(u8t x, u8t y, s16t number);
7
+void DrawLcdLineBresenham(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend);
8
+void DrawLcdLineBresenhamWW(const uint8_t xstart, const uint8_t ystart, const uint8_t xend, const uint8_t yend, const uint8_t thickness);
9
+u8t WriteLcdCharacter(const uint8_t x, const uint8_t y, const uint8_t Character);
10
+u8t WriteLcdString(const uint8_t x, const uint8_t y, const char *str);
11
+void WriteLcdNumber(const uint8_t x, const uint8_t y, const int16_t number);
12 12
 
13 13
 #endif
14 14
 
Browse code

Bluetooth handling, screen reworks for icons

Nils Faerber authored on 21/04/2013 23:10:13
Showing 1 changed files
... ...
@@ -3,6 +3,7 @@
3 3
 
4 4
 // #include "oswald_hal.h"
5 5
 
6
+void oswald_draw_bitmap(const uint8_t xstart, const uint8_t ystart, const uint8_t width, const uint8_t height, const void *bmp);
6 7
 void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend);
7 8
 void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thickness);
8 9
 u8t WriteLcdCharacter(u8t x, u8t y, u8t Character);
Browse code

Oh boy... lots of changes, too many to describe

Nils Faerber authored on 21/04/2013 14:26:38
Showing 1 changed files
... ...
@@ -1,12 +1,12 @@
1 1
 #ifndef _LcdDisplay_h
2 2
 #define _LcdDisplay_h
3 3
 
4
-#include "oswald-ui.h"
4
+// #include "oswald_hal.h"
5 5
 
6 6
 void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend);
7 7
 void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thickness);
8 8
 u8t WriteLcdCharacter(u8t x, u8t y, u8t Character);
9
-void WriteLcdString(u8t x, u8t y, char *str);
9
+u8t WriteLcdString(u8t x, u8t y, char *str);
10 10
 void WriteLcdNumber(u8t x, u8t y, s16t number);
11 11
 
12 12
 #endif
Browse code

Add fixes for it to work properly on microcontroller

Nils Faerber authored on 19/03/2013 19:22:58
Showing 1 changed files
... ...
@@ -6,7 +6,8 @@
6 6
 void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend);
7 7
 void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thickness);
8 8
 u8t WriteLcdCharacter(u8t x, u8t y, u8t Character);
9
-void WriteLcdString(u8t x, u8t y, u8t *str);
9
+void WriteLcdString(u8t x, u8t y, char *str);
10
+void WriteLcdNumber(u8t x, u8t y, s16t number);
10 11
 
11 12
 #endif
12 13
 
Browse code

Too much to note...

Nils Faerber authored on 05/08/2012 17:07:17
Showing 1 changed files
... ...
@@ -3,7 +3,10 @@
3 3
 
4 4
 #include "oswald-ui.h"
5 5
 
6
-void update_idle_time_date(oswald_ui *ui);
6
+void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend);
7
+void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thickness);
8
+u8t WriteLcdCharacter(u8t x, u8t y, u8t Character);
9
+void WriteLcdString(u8t x, u8t y, u8t *str);
7 10
 
8 11
 #endif
9 12
 
Browse code

Add MetaWatch Fonts package, LcdDisplay and start demo

Nils Faerber authored on 31/07/2012 21:42:03
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
1
+#ifndef _LcdDisplay_h
2
+#define _LcdDisplay_h
3
+
4
+#include "oswald-ui.h"
5
+
6
+void update_idle_time_date(oswald_ui *ui);
7
+
8
+#endif
9
+