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
WFDisplayPageView.h
Go to the documentation of this file.
1 //
2 // WFDisplayPageView.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 30/07/13.
6 // Copyright (c) 2013 Wahoo Fitness. All rights reserved.
7 //
8 
9 #ifdef MAC_OSX_BUILD
10 #import <AppKit/AppKit.h>
11 #define WFView NSView
12 #define WFImage NSImage
13 #define WFRect NSRect
14 #else
15 #import <UIKit/UIKit.h>
16 #define WFView UIView
17 #define WFImage UIImage
18 #define WFRect CGRect
19 #endif
20 
21 #import <WFConnector/hardware_connector_types.h>
22 
23 @class WFDisplayPage;
24 @protocol WFDisplayPageRenderProtocol;
25 
26 
28 {
29  id<WFDisplayPageRenderProtocol> _displayPageRender;
30  WFDisplayPage* _page;
33  double _pixelAlpha;
34 
35 
36  UIImageView* _imageView;
38  UIColor* _backgroundColor;
39 }
40 
41 @property (nonatomic, retain) WFDisplayPage* page;
42 @property (nonatomic, assign) WFSensorSubType_t sensorSubType;
43 
44 @property (nonatomic, assign) BOOL invert;
45 
46 // Alpha applied to on pixels only
47 @property (nonatomic, assign) double pixelAlpha;
48 
49 + (WFImage*) imageWithPage:(WFDisplayPage*) page forSensorSubType:(WFSensorSubType_t) sensorSubType inverted:(BOOL) inverted;
50 
51 @end
double _pixelAlpha
Definition: WFDisplayPageView.h:33
WFSensorSubType_t _sensorSubType
Definition: WFDisplayPageView.h:31
#define WFView
Definition: WFDisplayPageView.h:16
WFSensorSubType_t
Describes a specific hardware implementation of a generic device profile.
Definition: hardware_connector_types.h:105
Definition: WFDisplayPageView.h:27
id< WFDisplayPageRenderProtocol > _displayPageRender
Definition: WFDisplayPageView.h:29
signed char BOOL
Definition: types.h:110
#define WFImage
Definition: WFDisplayPageView.h:17
UIColor * _backgroundColor
Definition: WFDisplayPageView.h:38
WFDisplayPage * _page
Definition: WFDisplayPageView.h:30
UIImageView * _imageView
Definition: WFDisplayPageView.h:36
UIColor * _defaultBackgroundColor
Definition: WFDisplayPageView.h:37
BOOL _invert
Definition: WFDisplayPageView.h:32