source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTTheme.h @ a9059a5

RawEEGRaw_EEG_PlotServoTab_Interfacepyramid
Last change on this file since a9059a5 was a9059a5, checked in by Steve Castellotti <sc@…>, 9 years ago

Arduino:

  • updated to permit custom setting of Throttle, Yaw, and Pitch

Android:

  • Minor tweak to Configuration location

iOS:

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#import <Foundation/Foundation.h>
2
3/// @ingroup themeNames
4/// @{
5extern NSString *const kCPTDarkGradientTheme; ///< A graph theme with dark gray gradient backgrounds and light gray lines.
6extern NSString *const kCPTPlainBlackTheme;   ///< A graph theme with black backgrounds and white lines.
7extern NSString *const kCPTPlainWhiteTheme;   ///< A graph theme with white backgrounds and black lines.
8extern NSString *const kCPTSlateTheme;        ///< A graph theme with colors that match the default iPhone navigation bar, toolbar buttons, and table views.
9extern NSString *const kCPTStocksTheme;       ///< A graph theme with a gradient background and white lines.
10/// @}
11
12@class CPTGraph;
13@class CPTPlotAreaFrame;
14@class CPTAxisSet;
15@class CPTMutableTextStyle;
16
17@interface CPTTheme : NSObject<NSCoding> {
18    @private
19    Class graphClass;
20}
21
22@property (nonatomic, readwrite, retain) Class graphClass;
23
24/// @name Theme Management
25/// @{
26+(void)registerTheme:(Class)themeClass;
27+(NSArray *)themeClasses;
28+(CPTTheme *)themeNamed:(NSString *)theme;
29+(NSString *)name;
30/// @}
31
32/// @name Theme Usage
33/// @{
34-(void)applyThemeToGraph:(CPTGraph *)graph;
35/// @}
36
37@end
38
39/** @category CPTTheme(AbstractMethods)
40 *  @brief CPTTheme abstract methods—must be overridden by subclasses
41 **/
42@interface CPTTheme(AbstractMethods)
43
44/// @name Theme Usage
45/// @{
46-(id)newGraph;
47
48-(void)applyThemeToBackground:(CPTGraph *)graph;
49-(void)applyThemeToPlotArea:(CPTPlotAreaFrame *)plotAreaFrame;
50-(void)applyThemeToAxisSet:(CPTAxisSet *)axisSet;
51/// @}
52
53@end
Note: See TracBrowser for help on using the repository browser.