Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFDisplayTypes.h
Go to the documentation of this file.
1 //
2 // WFDisplayTypes.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 16/12/12.
6 // Copyright (c) 2012 Wahoo Fitness. All rights reserved.
7 //
8 
9 #ifndef WFConnector_WFDisplayTypes_h
10 #define WFConnector_WFDisplayTypes_h
11 
12 
13 // Support hardware button gestures
14 #define WF_DISPLAY_BUTTON_SOUTH_WEST_TOUCHED_NAME @"buttonSouthWestTouched"
15 #define WF_DISPLAY_BUTTON_NORTH_WEST_TOUCHED_NAME @"buttonNorthWestTouched"
16 #define WF_DISPLAY_BUTTON_SOUTH_EAST_TOUCHED_NAME @"buttonSouthEastTouched"
17 #define WF_DISPLAY_BUTTON_NORTH_EAST_TOUCHED_NAME @"buttonNorthEastTouched"
18 #define WF_DISPLAY_BUTTON_FRONT_TOUCHED_NAME @"buttonFrontTouched"
19 #define WF_DISPLAY_BUTTON_SCREEN_TOUCHED_NAME @"buttonScreenTouched"
20 
21 
22 
23 // Supported hardware button functions
24 #define WF_DISPLAY_BTNFN_PAGELEFT_KEY @"hardwarePageLeft"
25 #define WF_DISPLAY_BTNFN_PAGERIGHT_KEY @"hardwarePageRight"
26 
27 
28 // ====================================================
29 // ==== ENUMS
30 // ====================================================
31 
32 // Colors, 2-bit color values. If only 1-bit is supported then
33 // Light-Gray can be treated as WHITE
34 // Dark-Gray can be treated as BLACK
35 typedef enum
36 {
41 
43 
45 
47 
48 // -----------------------------------------------------------------------------
49 // Alignment (Text)
50 
51 typedef enum
52 {
56 
60 
62 
64 
65 // -----------------------------------------------------------------------------
66 // Font (Text)
67 
68 typedef enum
69 {
70  WF_DISPLAY_FONT_SYSTEM10 = 0x00, // RFLKT, Timex x50 (caps only)
71  WF_DISPLAY_FONT_SYSTEM19 = 0x01, // RFLKT
72  WF_DISPLAY_FONT_SYSTEM26 = 0x02, // RFLKT, Timex x50 (caps only)
73  WF_DISPLAY_FONT_SYSTEM33 = 0x03, // RFLKT
74  WF_DISPLAY_FONT_SYSTEM48 = 0x04, // RFLKT
75 
76 
77  WF_DISPLAY_FONT_SYSTEM12 = 0x05, // Echo, Timex x50 (full set)
78  WF_DISPLAY_FONT_SYSTEM14 = 0x06, // Echo, Timex x50 (caps only)
79  WF_DISPLAY_FONT_SYSTEM16 = 0x07, // Echo
80  WF_DISPLAY_FONT_SYSTEM18 = 0x13, // Echo
81  WF_DISPLAY_FONT_SYSTEM24 = 0x14, // Echo
82  WF_DISPLAY_FONT_SYSTEM30 = 0x15, // Echo
83  WF_DISPLAY_FONT_SYSTEM36 = 0x16, // Echo
84  WF_DISPLAY_FONT_SYSTEM42 = 0x17, // Echo
85  WF_DISPLAY_FONT_SYSTEM52 = 0x18, // Echo
86  WF_DISPLAY_FONT_SYSTEM62 = 0x19, // Echo
87  WF_DISPLAY_FONT_SYSTEM76 = 0x1A, // Echo
88  WF_DISPLAY_FONT_SYSTEM94 = 0x1B, // Echo
89 
90  WF_DISPLAY_FONT_SYSTEM39 = 0x1C, // Timex x50 (caps only)
91 
92 
94 
96 
97 
98 // -----------------------------------------------------------------------------
99 // Element Property ID's
100 
101 typedef enum
102 {
113 
116 
118 
119 
120 // -----------------------------------------------------------------------------
121 
122 // Elements Types
123 typedef enum
124 {
126 
130 
134 
135 
136  // 0x0B
137 
139 
141 
142 
143 // -----------------------------------------------------------------------------
144 // Location (Text)
145 
146 typedef enum
147 {
149 
153 
155 
157 
158 // -----------------------------------------------------------------------------
159 
160 // Date Formats
161 typedef enum
162 {
163  WF_DISPLAY_DATE_FORMAT_YYYY_MM_DD = 0x00, // YYYY-MM-DD
164  WF_DISPLAY_DATE_FORMAT_MM_DD_YYYY = 0x01, // MM/DD/YYYY
165  WF_DISPLAY_DATE_FORMAT_DD_MM_YYYY = 0x02, // DD-MM-YYYY
167 
169 
170 
171 // -----------------------------------------------------------------------------
172 // Time Formats
173 typedef enum
174 {
176  WF_DISPLAY_TIME_FORMAT_HH_MM_SS = 0x01, // 24H Clock
178 
179 
180 // -----------------------------------------------------------------------------
181 // Days of Week
182 typedef enum
183 {
192 
193 
194 // -----------------------------------------------------------------------------
195 // Watchface Style
196 typedef enum {
197 
201 
202 
203 
204 
205 
206 
207 
208 
209 #endif
Definition: WFDisplayTypes.h:40
Definition: WFDisplayTypes.h:138
Definition: WFDisplayTypes.h:188
Definition: WFDisplayTypes.h:54
Definition: WFDisplayTypes.h:79
Definition: WFDisplayTypes.h:166
Definition: WFDisplayTypes.h:129
wf_display_time_format_e
Definition: WFDisplayTypes.h:173
Definition: WFDisplayTypes.h:70
Definition: WFDisplayTypes.h:106
Definition: WFDisplayTypes.h:190
Definition: WFDisplayTypes.h:57
Definition: WFDisplayTypes.h:86
Definition: WFDisplayTypes.h:80
Definition: WFDisplayTypes.h:133
Definition: WFDisplayTypes.h:73
wf_display_element_e
Definition: WFDisplayTypes.h:123
Definition: WFDisplayTypes.h:186
wf_display_date_format_e
Definition: WFDisplayTypes.h:161
Definition: WFDisplayTypes.h:90
Definition: WFDisplayTypes.h:184
Definition: WFDisplayTypes.h:125
Definition: WFDisplayTypes.h:154
Definition: WFDisplayTypes.h:187
Definition: WFDisplayTypes.h:77
Definition: WFDisplayTypes.h:112
Definition: WFDisplayTypes.h:108
Definition: WFDisplayTypes.h:163
Definition: WFDisplayTypes.h:93
wf_display_element_location_e
Definition: WFDisplayTypes.h:146
Definition: WFDisplayTypes.h:198
Definition: WFDisplayTypes.h:128
wf_display_day_e
Definition: WFDisplayTypes.h:182
Definition: WFDisplayTypes.h:37
Definition: WFDisplayTypes.h:82
Definition: WFDisplayTypes.h:127
Definition: WFDisplayTypes.h:88
Definition: WFDisplayTypes.h:164
Definition: WFDisplayTypes.h:175
Definition: WFDisplayTypes.h:107
Definition: WFDisplayTypes.h:109
Definition: WFDisplayTypes.h:74
Definition: WFDisplayTypes.h:189
Definition: WFDisplayTypes.h:165
Definition: WFDisplayTypes.h:83
Definition: WFDisplayTypes.h:81
Definition: WFDisplayTypes.h:72
Definition: WFDisplayTypes.h:53
Definition: WFDisplayTypes.h:110
Definition: WFDisplayTypes.h:176
Definition: WFDisplayTypes.h:39
Definition: WFDisplayTypes.h:148
Definition: WFDisplayTypes.h:61
wf_display_watch_face_style_e
Definition: WFDisplayTypes.h:196
wf_display_property_e
Definition: WFDisplayTypes.h:101
Definition: WFDisplayTypes.h:150
Definition: WFDisplayTypes.h:199
wf_display_color_e
Definition: WFDisplayTypes.h:35
Definition: WFDisplayTypes.h:55
wf_display_font_e
Definition: WFDisplayTypes.h:68
Definition: WFDisplayTypes.h:85
Definition: WFDisplayTypes.h:58
Definition: WFDisplayTypes.h:131
Definition: WFDisplayTypes.h:105
Definition: WFDisplayTypes.h:42
Definition: WFDisplayTypes.h:84
Definition: WFDisplayTypes.h:185
Definition: WFDisplayTypes.h:103
Definition: WFDisplayTypes.h:132
Definition: WFDisplayTypes.h:114
wf_display_alignment_e
Definition: WFDisplayTypes.h:51
Definition: WFDisplayTypes.h:111
Definition: WFDisplayTypes.h:152
Definition: WFDisplayTypes.h:78
Definition: WFDisplayTypes.h:115
Definition: WFDisplayTypes.h:59
Definition: WFDisplayTypes.h:44
Definition: WFDisplayTypes.h:151
Definition: WFDisplayTypes.h:38
Definition: WFDisplayTypes.h:87
Definition: WFDisplayTypes.h:71
Definition: WFDisplayTypes.h:104