Trammell Hudson avatar Trammell Hudson committed 40ae272

Updated everything with UUIDs

Comments (0)

Files changed (9)

 # Otherwise it should "just work".
 #
 #PEBBLE_HOME := $(HOME)/build/pebble/sdk
-PEBBLE_HOME := $(HOME)/build/pebble/pebble-sdk-release-hb002/sdk
+PEBBLE_HOME := $(HOME)/build/pebble/pebble-sdk-release-001-b1/sdk
 ARM_GCC_PATH := $(HOME)/arm-cs-tools/bin
 GCC_PREFIX := $(ARM_GCC_PATH)/arm-none-eabi-
 export PATH := $(ARM_GCC_PATH):$(PATH)
 #include "pebble_fonts.h"
 #include "sha1.h"
 
+#define UUID {0x24, 0x15, 0x2D, 0xAE, 0xDD, 0x49, 0x47, 0x47, 0x96, 0xD5, 0x78, 0xB1, 0xDD, 0xBD, 0x1B, 0xB2}
+
 PBL_APP_INFO(
+	UUID,
 	"2wo Factor",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	INVALID_RESOURCE,
 	APP_INFO_WATCH_FACE
 );

calendar/src/main.c

 #include <pebble_app.h>
 #include <pebble_fonts.h>
 
+
+#define UUID {0xA4, 0x8B, 0x43, 0x03, 0xFA, 0x4F, 0x4F, 0xF2, 0xBB, 0x49, 0x3E, 0xA2, 0x38, 0x91, 0x57, 0xE0}
+
 PBL_APP_INFO(
+	UUID,
 	"Calendar",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	RESOURCE_ID_IMAGE_MENU_ICON,
 	APP_INFO_WATCH_FACE
 );
 #define FONT_W 7
 #define ROWS 8
 #define COLS 7
-#define FONT_OFF	RESOURCE_ID_FONT_SOURCECODEPRO_LIGHT_18
+#define FONT_OFF	RESOURCE_ID_FONT_SOURCECODEPRO_LIGHT_16
 static GFont font_off;
 
 static Window window;
 #include <pebble_fonts.h>
 #include <pebble_th.h>
 
+#define UUID {0x7F, 0x58, 0x4D, 0xD7, 0x32, 0xC7, 0x49, 0x65, 0x8B, 0xD6, 0x6F, 0xCE, 0x06, 0x82, 0x2B, 0xA2}
+
 PBL_APP_INFO(
+	UUID,
 	"CST Style",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	RESOURCE_ID_IMAGE_MENU_ICON,
 	APP_INFO_WATCH_FACE
 );

hoelaat/src/nederlands.c

 #include "pebble_fonts.h"
 #include "pebble_th.h"
 
+#define UUID { 0x5D, 0xBE, 0xBB, 0x58, 0x3C, 0xF4, 0x4C, 0xAF, 0xB4, 0xAC, 0x02, 0x44, 0xA2, 0x64, 0x40, 0x37 },
+PBL_APP_INFO(
+	UUID,
+	"Hoe laat is het?",
+	"hudson",
+	3, 0, // Version
+	RESOURCE_ID_IMAGE_MENU_ICON,
+	APP_INFO_WATCH_FACE
+);
+
+
+
 static Window window;
 static GFont font_thin;
 static GFont font_thick;
 }
 
 
-PBL_APP_INFO(
-	"Hoe laat is het?",
-	"hudson",
-	2, // Version
-	RESOURCE_ID_IMAGE_MENU_ICON,
-	APP_INFO_WATCH_FACE
-);
-
-
-
 static void
 update_word(
 	word_t * const word

interval/src/interval.c

 #include "pebble_app.h"
 #include "pebble_fonts.h"
 
+#define UUID {0xB5, 0xF1, 0xBC, 0xE4, 0x7B, 0x0F, 0x47, 0xBB, 0xAC, 0x8B, 0x94, 0xA2, 0x50, 0xEF, 0xCD, 0x5F}
+
 PBL_APP_INFO(
+	UUID,
 	"Intervals",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	INVALID_RESOURCE,
-	APP_INFO_WATCH_FACE
+	APP_INFO_WATCH_FACE // should be an APP
 );
 
 
 #include <stdint.h>
 #include <math.h>
 
+#define UUID {0x0A, 0xCE, 0x42, 0x1B, 0x8B, 0xDF, 0x4F, 0x61, 0xBC, 0x50, 0x2C, 0x85, 0x36, 0xC8, 0xA4, 0x20}
+
 PBL_APP_INFO(
+	UUID,
 	"MarioChron",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	RESOURCE_ID_IMAGE_MENU_ICON,
 	APP_INFO_WATCH_FACE
 );

words/src/words.c

 #include <pebble_fonts.h>
 #include "pebble_th.h"
 
+#define UUID {0x82, 0xA1, 0x47, 0x0E, 0x48, 0xFF, 0x48, 0xC9, 0x86, 0xB4, 0x88, 0x99, 0x72, 0xA0, 0x6C, 0xF5}
+
 PBL_APP_INFO(
+	UUID,
 	"Wordsquare",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	RESOURCE_ID_IMAGE_MENU_ICON,
 	APP_INFO_WATCH_FACE
 );
 }
 
 
+static void
+handle_deinit(
+	AppContextRef ctx
+)
+{
+	(void) ctx;
+
+	fonts_unload_custom_font(font_on);
+	fonts_unload_custom_font(font_off);
+}
+	
+
 void
 pbl_main(
 	void * const params
 {
 	PebbleAppHandlers handlers = {
 		.init_handler	= &handle_init,
+		.deinit_handler = &handle_deinit,
 		.tick_info	= {
 			.tick_handler = &handle_tick,
 			.tick_units = MINUTE_UNIT,

worldmap/src/worldmap.c

 // Update once per second to test things
 #undef CONFIG_DEBUG
 
+#define UUID {0x38, 0x38, 0x8B, 0x74, 0xB3, 0xD1, 0x42, 0x1F, 0x90, 0xFA, 0xBF, 0x34, 0xED, 0xB3, 0xB3, 0x8F}
+
 PBL_APP_INFO(
+	UUID,
 	"Polar Map",
 	"hudson",
-	1, // Version
+	2, 0, // Version
 	RESOURCE_ID_IMAGE_MENU_ICON,
 	APP_INFO_WATCH_FACE
 );
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.