#import <V3GalleryMenuItemControlbarView.h>
◆ appear:()
- (void) appear: |
|
(CGRect) |
bound |
|
|
implementation |
Definition at line 58 of file V3GalleryMenuItemControlbarView.m.
59 float controlbarWidth = bound.size.width;
61 CGRect labelFrame = CGRectMake(0, 0, controlbarWidth, 32);
62 CGRect galleryPickerFrame = CGRectMake(0, 32, controlbarWidth, 48);
63 CGRect plusButtonFrame = CGRectMake(controlbarWidth - 48, 2, 44, 44);
65 NSString *headerText = [mTimeOfDayFormatter stringFromDate:[NSDate dateWithTimeIntervalSinceNow:0]];
67 [label setFrame:labelFrame];
69 [kitchenPickerView selectRow:[mDelegate getKitchenFocusGallery] inComponent:0 animated:YES];
70 [kitchenPickerView setFrame:galleryPickerFrame];
72 [plusButton setFrame:plusButtonFrame];
73 [
self bringSubviewToFront:plusButton];
Singleton interface to both core and remote data sources.
void labelize:withText:(UILabel *targLabel, [withText] NSString *txt)
◆ heightRequirement()
- (float) heightRequirement |
|
|
|
|
implementation |
◆ initWithFrame:andDelegate:()
- (instancetype) initWithFrame: |
|
(CGRect) |
frame |
andDelegate: |
|
(id<V3GalleryMenuItemControlbarProtocol>) |
delegate |
|
|
| |
Definition at line 25 of file V3GalleryMenuItemControlbarView.m.
25 :(CGRect)frame andDelegate:(id<V3GalleryMenuItemControlbarProtocol>)
delegate 27 self = [
super initWithFrame:frame];
32 [mTimeOfDayFormatter setDateStyle:NSDateFormatterNoStyle];
33 [mTimeOfDayFormatter setTimeStyle:NSDateFormatterShortStyle];
35 label = [[UILabel alloc] init];
36 [label setTextAlignment:NSTextAlignmentCenter];
37 [
self addSubview:label];
40 [kitchenPickerView setDelegate:mDelegate];
41 [kitchenPickerView setDataSource:mDelegate];
42 [kitchenPickerView setBackgroundColor:[UIColor wheatColor]];
43 [
self addSubview:kitchenPickerView];
46 [plusButton addTarget:mDelegate action:@selector(clickPlusButton) forControlEvents:UIControlEventTouchUpInside];
47 UIImage *plusButtonImage = [UIImage imageNamed:@"plusSign.png"];
48 [plusButton setImage:plusButtonImage forState:UIControlStateNormal];
49 [
self addSubview:plusButton];
id< U7ParamEditControlDelegate > delegate
The documentation for this class was generated from the following files: