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_OSX.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 #import <Cocoa/Cocoa.h>
10 #import <WFConnector/hardware_connector_types.h>
11 
12 
13 #ifdef MAC_OSX_BUILD
14 #import <AppKit/AppKit.h>
15 #define WFView NSView
16 #define WFImage NSImage
17 #define WFRect NSRect
18 #else
19 #import <UIKit/UIKit.h>
20 #define WFView UIView
21 #define WFImage UIImage
22 #define WFRect CGRect
23 #endif
24 
25 @class WFDisplayPage;
26 @protocol WFDisplayPageRenderProtocol;
27 
28 
29 @interface WFDisplayPageView : NSView
30 {
31  id<WFDisplayPageRenderProtocol> _displayPageRender;
32  WFDisplayPage* _page;
34  BOOL _invert;
35  double _pixelAlpha;
36 
37 
38  NSImageView* _imageView;
40  NSColor* _backgroundColor;
41 }
42 
43 
44 @property (nonatomic, retain) WFDisplayPage* page;
45 @property (nonatomic, assign) WFSensorSubType_t sensorSubType;
46 @property (nonatomic, retain) NSColor* backgroundColor;
47 
48 @property (nonatomic, assign) BOOL invert;
49 
50 // Alpha applied to on pixels only
51 @property (nonatomic, assign) double pixelAlpha;
52 
53 @end
double _pixelAlpha
Definition: WFDisplayPageView.h:33
WFSensorSubType_t _sensorSubType
Definition: WFDisplayPageView.h:31
WFSensorSubType_t
Describes a specific hardware implementation of a generic device profile.
Definition: hardware_connector_types.h:105
Definition: WFDisplayPageView.h:27
NSColor * _defaultBackgroundColor
Definition: WFDisplayPageView_OSX.h:39
id< WFDisplayPageRenderProtocol > _displayPageRender
Definition: WFDisplayPageView.h:29
signed char BOOL
Definition: types.h:110
NSColor * _backgroundColor
Definition: WFDisplayPageView_OSX.h:40
NSImageView * _imageView
Definition: WFDisplayPageView_OSX.h:38
WFDisplayPage * _page
Definition: WFDisplayPageView.h:30
BOOL _invert
Definition: WFDisplayPageView.h:32