-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSignDisplayController.h
72 lines (50 loc) · 1.42 KB
/
SignDisplayController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//
// SignDisplayController.h
// XMLSignboard
//
// Created by Jason Terhorst on 11/7/08.
// Copyright 2008 Jason Terhorst. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
#import "SignView.h"
#import "FullScreenWindow.h"
@interface SignDisplayController : NSWindowController {
// for the presenter...
FullScreenWindow * presentationWindow;
SignView * presentationView;
NSMutableArray * announcements;
NSMutableArray * events;
NSMutableDictionary * selectedSlide;
NSTimer * nextPageTimer;
NSTimer * clockTimer;
CGImageRef logoImageRef;
// title screen
CATextLayer * logoTitleLayer;
CALayer * logoImageLayer;
// header
CATextLayer * leftHeaderBlock;
CATextLayer * clock;
// content
CATextLayer * titleBlock;
CATextLayer * locationBlock; // if applicable
CATextLayer * timeBlock; // if applicable
CATextLayer * descriptionBlock;
NSString * churchName;
NSImage * logoImage;
NSColor * backgroundColor;
}
- (CGColorSpaceRef)genericRGBSpace;
- (CGColorRef)white;
- (void)setChurchName:(NSString *)aString;
- (void)setLogoImage:(NSImage *)anImage;
- (void)setBackgroundColor:(NSColor *)aColor;
- (void)showWindow;
- (void)showLogo;
- (void)displaySlide:(NSMutableDictionary *)slide;
- (void)hideContentElements;
- (void)hideAllElements;
- (void)reset;
- (void)setAnnouncements:(NSMutableArray *)newAnnouncements;
- (void)setCalendars:(NSMutableArray *)newEvents;
@end