Browse files

removing extra code from SMFCenteredMenuController and making it a su…

…bclass of SMFMenuController
  • Loading branch information...
1 parent d14eb8f commit 8763c26b157a036b3f9052ee827a47225ecfeff8 @tomcool420 committed Jan 6, 2011
View
1 BRMenuItem_SMF.h
@@ -6,6 +6,7 @@
// Copyright 2010 tomcool.org. All rights reserved.
//
+//NOTE: should note be used ... use SMFMenuItem instead
#import <Backrow/Backrow.h>
@interface BRMenuItem (SMFExtensions)
View
4 Makefile
@@ -4,12 +4,12 @@ first: clean package install
include $(THEOS)/makefiles/common.mk
FRAMEWORK_NAME = SMFramework
-SMFramework_FILES = SMFMediaMenuController.m SMFCenteredMenuController.m SMFFolderBrowser.m SMFMediaPreview.mm SMFBaseAsset.m SMFPasscodeController.m SMFMenuController.m
+SMFramework_FILES = SMFMediaMenuController.m SMFMenuController.m SMFCenteredMenuController.m SMFFolderBrowser.m SMFMediaPreview.mm SMFBaseAsset.m SMFPasscodeController.m
SMFramework_FILES += BRMenuItem_SMF.m SMFInvocationCenteredMenuController.m SMFMenuItem.m SMFScreenCapture.m SMFThemeInfo.m SMFClockController.m
SMFramework_FILES += SMFEventManager.m SMFEvent.m SMFEventConfiguration.m SMFMovieAsset.m
SMFramework_FILES += SMFPhotoMethods.mm SMFQueryMenu.m SMFProgressBarControl.m SMFPopup.xm SMFCommonTools.m SMFColorSelectionMenu.m
SMFramework_FILES += SMFPreferences.m SMFProgressBarMenuItem.m SMFImageAsset.m SMFDebAsset.m
-SMFramework_FILES += NSArray_SMF.m
+SMFramework_FILES += NSArray_SMF.m
SMFramework_INSTALL_PATH = /Library/Frameworks
#SMFramework_BUNDLE_EXTENSION = framework
SMFramework_LDFLAGS = -undefined dynamic_lookup -framework UIKit -framework ImageIO#-L$(FW_PROJECT_DIR) -lBackRow
View
28 SMFCenteredMenuController.h
@@ -9,31 +9,13 @@
#import <Foundation/Foundation.h>
#import <Backrow/Backrow.h>
//#import "SMFMediaMenuController.h"
+#import "SMFMenuController.h"
#import "SMFDefines.h"
-@class SMFMediaMenuController;
-@interface SMFCenteredMenuController : BRMenuController {
+@class SMFMenuController;
+@interface SMFCenteredMenuController : SMFMenuController {
int padding[128];
- NSMutableArray * _items;
- NSMutableArray * _options;
+// NSMutableArray * _items;
+// NSMutableArray * _options;
}
--(float)heightForRow:(long)row;
--(BOOL)rowSelectable:(long)row;
--(long)itemCount;
--(id)itemForRow:(long)row;
--(long)rowForTitle:(id)title;
--(id)titleForRow:(long)row;
--(int)getSelection;
-- (void)setSelection:(int)sel;
--(id)everyLoad;
-/*
- * Action Called Every Time someone Presses on Left Arrow
- */
--(void)leftActionForRow:(long)row;
-
-/*
- * Action Called Every Time someone Presses on Right Arrow
- */
--(void)rightActionForRow:(long)row;
-
@end
View
132 SMFCenteredMenuController.m
@@ -9,140 +9,14 @@
#import "SMFCenteredMenuController.h"
@implementation SMFCenteredMenuController
-- (float)heightForRow:(long)row { return 0.0f;}
-- (BOOL)rowSelectable:(long)row { return YES;}
-- (long)itemCount { return (long)[_items count];}
-- (id)itemForRow:(long)row { return [_items objectAtIndex:row];}
-- (long)rowForTitle:(id)title { return (long)[_items indexOfObject:title];}
-- (id)titleForRow:(long)row
-{
- return [[self itemForRow:row] text];
-}
-- (long)defaultIndex { return 0;}
-//- (id)previewControlForItem:(long)row
-//{
-//// BRImage * image = [[BRThemeInfo sharedTheme] appleTVIcon];
-//// BRImageAndSyncingPreviewController *preview = [[BRImageAndSyncingPreviewController alloc] init];
-//// [preview setImage:image];
-//// return preview;
-// return nil;
-//}
- (id)init
{
self=[super init];
- _items = [[NSMutableArray alloc]init];
- _options = [[NSMutableArray alloc] init];
- [[self list] setDatasource:self];
[self setUseCenteredLayout:YES];
[self setMenuWidthFactor:2.0];
return self;
}
-- (void)dealloc
-{
- [_items release];
- [_options release];
- [super dealloc];
-}
--(id)everyLoad
-{
- return self;
-}
--(int)getSelection
-{
- BRListControl *list = [self list];
- int row;
- NSMethodSignature *signature = [list methodSignatureForSelector:@selector(selection)];
- NSInvocation *selInv = [NSInvocation invocationWithMethodSignature:signature];
- [selInv setSelector:@selector(selection)];
- [selInv invokeWithTarget:list];
- if([signature methodReturnLength] == 8)
- {
- double retDoub = 0;
- [selInv getReturnValue:&retDoub];
- row = retDoub;
- }
- else
- [selInv getReturnValue:&row];
- return row;
-}
--(void)controlWasActivated
-{
- if([self respondsToSelector:@selector(everyLoad)])
- [self everyLoad];
- [super controlWasActivated];
-}
-- (void)wasExhumedByPoppingController:(id)fp8 {[self wasExhumed];}
--(void)wasExhumed {[[self list] reload];}
-//-(id)init
-//{
-// self=[super init];
-// [self setUseCenteredLayout:YES];
-// return self;
-//}
--(void)leftActionForRow:(long)row
-{
-
-}
--(void)rightActionForRow:(long)row
-{
- [self leftActionForRow:row];
-}
--(BOOL)brEventAction:(BREvent *)event
-{
- int remoteAction = [event remoteAction];
- if ([(BRControllerStack *)[self stack] peekController] != self)
- remoteAction = 0;
-
- int itemCount = [[(BRListControl *)[self list] datasource] itemCount];
- switch (remoteAction)
- {
- case kBREventRemoteActionSwipeLeft:
- case kBREventRemoteActionLeft:
- if([event value] == 1)
- [self leftActionForRow:[self getSelection]];
- return YES;
- break;
- case kBREventRemoteActionSwipeRight:
- case kBREventRemoteActionRight:
- if([event value] == 1)
- [self rightActionForRow:[self getSelection]];
- return YES;
- break;
- case kBREventRemoteActionUp:
- case kBREventRemoteActionHoldUp:
- if([self getSelection] == 0 && [event value] == 1)
- {
- [self setSelection:itemCount-1];
- return YES;
- }
- break;
- case kBREventRemoteActionDown:
- case kBREventRemoteActionHoldDown:
- if([self getSelection] == itemCount-1 && [event value] == 1)
- {
- [self setSelection:0];
- return YES;
- }
- break;
- }
- return [super brEventAction:event];
-}
-- (void)setSelection:(int)sel
-{
- BRListControl *list = [self list];
- NSMethodSignature *signature = [list methodSignatureForSelector:@selector(setSelection:)];
- NSInvocation *selInv = [NSInvocation invocationWithMethodSignature:signature];
- [selInv setSelector:@selector(setSelection:)];
- if(strcmp([signature getArgumentTypeAtIndex:2], "l"))
- {
- double dvalue = sel;
- [selInv setArgument:&dvalue atIndex:2];
- }
- else
- {
- long lvalue = sel;
- [selInv setArgument:&lvalue atIndex:2];
- }
- [selInv invokeWithTarget:list];
-}
+
+
+
@end
View
1 SMFMenuController.h
@@ -9,6 +9,7 @@
#import <Foundation/Foundation.h>
#import "SMFDefines.h"
@interface SMFMenuController : BRMenuController {
+// int padding[32];
NSMutableArray *_items;
NSMutableArray *_options;
}
View
3 SMFMenuController.m
@@ -16,8 +16,7 @@ - (id)itemForRow:(long)row { return [_items objectAtIndex:row];}
- (long)rowForTitle:(id)title { return (long)[_items indexOfObject:title];}
- (id)titleForRow:(long)row
{
-
- return [[_items objectAtIndex:row] text];
+ return [[self itemForRow:row] text];
}
- (long)defaultIndex { return 0;}
- (id)init
View
3 SMFramework.h
@@ -18,9 +18,10 @@
/*
* Classes
*/
-#import "SMFCenteredMenuController.h"
+
#import "SMFMediaMenuController.h"
#import "SMFMenuController.h"
+#import "SMFCenteredMenuController.h"
#import "SMFMediaPreview.h"
#import "SMFBaseAsset.h"
#import "SMFController.h"
View
168 SMFramework.xcodeproj/tomcool.pbxuser
@@ -301,9 +301,9 @@
};
875A8427126FFF6D00ECADC2 /* Makefile */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1195, 442}}";
- sepNavSelRange = "{804, 0}";
- sepNavVisRange = "{0, 1472}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 442}}";
+ sepNavSelRange = "{183, 0}";
+ sepNavVisRange = "{0, 1351}";
sepNavWindowFrame = "{{15, 4}, {1225, 874}}";
};
};
@@ -421,7 +421,7 @@
};
DD14618C12B50A5000FA8984 /* SMFDebAsset.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
sepNavSelRange = "{162, 0}";
sepNavVisRange = "{0, 307}";
};
@@ -456,6 +456,11 @@
name = main.m;
path = "/Users/tomcool/DVLP/ATV2/keyboard-atv/keyboardd/main.m";
sourceTree = "<absolute>";
+ uiCtxt = {
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 6292}}";
+ sepNavSelRange = "{14906, 30}";
+ sepNavVisRange = "{0, 762}";
+ };
};
DD1461C612B5223F00FA8984 /* main.m */ = {
isa = PBXFileReference;
@@ -469,23 +474,23 @@
fRef = DDDC80FC1273902A00192ADD /* SMFBaseAsset.m */;
name = "SMFBaseAsset.m: 61";
rLen = 674;
- rLoc = 1295;
+ rLoc = 1376;
rType = 0;
vrLen = 1604;
vrLoc = 523;
};
DD1462FC12B53B6C00FA8984 /* Makefile */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 423}}";
- sepNavSelRange = "{0, 0}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
+ sepNavSelRange = "{356, 0}";
sepNavVisRange = "{0, 521}";
};
};
DD14630212B53B6C00FA8984 /* smfHelper.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 650}}";
- sepNavSelRange = "{234, 0}";
- sepNavVisRange = "{0, 1296}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 533}}";
+ sepNavSelRange = "{429, 0}";
+ sepNavVisRange = "{0, 712}";
};
};
DD14636312B5BA7500FA8984 /* PBXTextBookmark */ = {
@@ -905,7 +910,7 @@
fRef = DDDC80EA127375CE00192ADD /* SMFCenteredMenuController.m */;
name = "SMFCenteredMenuController.m: 27";
rLen = 0;
- rLoc = 944;
+ rLoc = 939;
rType = 0;
vrLen = 1614;
vrLoc = 0;
@@ -1232,16 +1237,17 @@
};
DD2C4D6312ADCEFA00A83159 /* SMFProgressBarMenuItem.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 585}}";
- sepNavSelRange = "{156, 27}";
- sepNavVisRange = "{306, 1286}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 572}}";
+ sepNavSelRange = "{286, 0}";
+ sepNavVisRange = "{32, 1207}";
+ sepNavWindowFrame = "{{15, 4}, {1225, 874}}";
};
};
DD2C4D6412ADCEFA00A83159 /* SMFProgressBarMenuItem.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 1794}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1755}}";
sepNavSelRange = "{225, 0}";
- sepNavVisRange = "{0, 964}";
+ sepNavVisRange = "{0, 815}";
sepNavWindowFrame = "{{15, 4}, {1225, 874}}";
};
};
@@ -1260,7 +1266,7 @@
fRef = DDA302A71274EFD000B0AE9C /* BRMenuItem_SMF.h */;
name = "BRMenuItem_SMF.h: 16";
rLen = 0;
- rLoc = 306;
+ rLoc = 362;
rType = 0;
vrLen = 306;
vrLoc = 0;
@@ -1330,7 +1336,7 @@
fRef = 875A8427126FFF6D00ECADC2 /* Makefile */;
name = "Makefile: 12";
rLen = 0;
- rLoc = 804;
+ rLoc = 807;
rType = 0;
vrLen = 1472;
vrLoc = 0;
@@ -1360,7 +1366,7 @@
fRef = DDDC80FF1273909900192ADD /* SMFMediaPreview.mm */;
name = "SMFMediaPreview.mm: 119";
rLen = 0;
- rLoc = 2359;
+ rLoc = 2390;
rType = 0;
vrLen = 604;
vrLoc = 5417;
@@ -1635,8 +1641,8 @@
DD3136CC1277CFFC00042510 /* SMFMenuItem.m */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1038, 1183}}";
- sepNavSelRange = "{1918, 0}";
- sepNavVisRange = "{0, 695}";
+ sepNavSelRange = "{321, 0}";
+ sepNavVisRange = "{0, 612}";
};
};
DD53555012C4A7EB00E6E54D /* PBXTextBookmark */ = {
@@ -2192,7 +2198,7 @@
fRef = DDDC81701273A66600192ADD /* SMFPasscodeController.m */;
name = "SMFPasscodeController.m: 169";
rLen = 125;
- rLoc = 5141;
+ rLoc = 5129;
rType = 0;
vrLen = 1014;
vrLoc = 4477;
@@ -2206,7 +2212,7 @@
};
DD96C0491295D949002C5144 /* Makefile */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 432}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
sepNavSelRange = "{295, 0}";
sepNavVisRange = "{0, 384}";
};
@@ -2441,30 +2447,30 @@
};
DDA302A71274EFD000B0AE9C /* BRMenuItem_SMF.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 423}}";
- sepNavSelRange = "{306, 0}";
- sepNavVisRange = "{0, 306}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
+ sepNavSelRange = "{135, 0}";
+ sepNavVisRange = "{0, 362}";
};
};
DDA302A81274EFD000B0AE9C /* BRMenuItem_SMF.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 423}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 390}}";
sepNavSelRange = "{353, 10}";
sepNavVisRange = "{0, 621}";
};
};
DDA3036112750A3500B0AE9C /* SMFInvocationCenteredMenuController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
- sepNavSelRange = "{196, 0}";
- sepNavVisRange = "{0, 618}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
+ sepNavSelRange = "{241, 0}";
+ sepNavVisRange = "{0, 623}";
};
};
DDA3036212750A3500B0AE9C /* SMFInvocationCenteredMenuController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 884}}";
- sepNavSelRange = "{1471, 24}";
- sepNavVisRange = "{900, 1120}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 884}}";
+ sepNavSelRange = "{1505, 0}";
+ sepNavVisRange = "{169, 1030}";
};
};
DDABC41A127877B3001F026B /* SMFScreenCapture.h */ = {
@@ -2566,16 +2572,16 @@
};
DDAE5BD2127E0DE00038574E /* SMFEventManager.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 715}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 754}}";
sepNavSelRange = "{402, 0}";
- sepNavVisRange = "{0, 1491}";
+ sepNavVisRange = "{404, 1087}";
};
};
DDAE5BD3127E0DE00038574E /* SMFEventManager.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1202, 3601}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1202, 3510}}";
sepNavSelRange = "{6595, 0}";
- sepNavVisRange = "{5716, 2082}";
+ sepNavVisRange = "{6021, 1368}";
sepNavWindowFrame = "{{15, 4}, {788, 874}}";
};
};
@@ -2806,9 +2812,9 @@
};
DDAE5E0B12838A980038574E /* SMFCommonTools.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1090, 1651}}";
- sepNavSelRange = "{3686, 0}";
- sepNavVisRange = "{2997, 836}";
+ sepNavIntBoundsRect = "{{0, 0}, {1090, 1664}}";
+ sepNavSelRange = "{2618, 1216}";
+ sepNavVisRange = "{2487, 861}";
sepNavWindowFrame = "{{15, 4}, {1225, 874}}";
};
};
@@ -2862,16 +2868,16 @@
};
DDAE5F291284EF280038574E /* SMFMenuController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
- sepNavSelRange = "{166, 0}";
- sepNavVisRange = "{0, 782}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 481}}";
+ sepNavSelRange = "{235, 17}";
+ sepNavVisRange = "{27, 671}";
};
};
DDAE5F2A1284EF280038574E /* SMFMenuController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 1781}}";
- sepNavSelRange = "{174, 0}";
- sepNavVisRange = "{2623, 847}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1820}}";
+ sepNavSelRange = "{3219, 0}";
+ sepNavVisRange = "{209, 739}";
};
};
DDB6EB5612CDFDEA009B4B9E /* BRSettingsFacade.h */ = {
@@ -3235,9 +3241,9 @@
};
DDCB54C9128CA1EC0045529A /* NSTask.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 923}}";
- sepNavSelRange = "{272, 0}";
- sepNavVisRange = "{0, 895}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 962}}";
+ sepNavSelRange = "{1516, 87}";
+ sepNavVisRange = "{1208, 587}";
};
};
DDCB54CE128CA2290045529A /* pastie-1291093.mm */ = {
@@ -3307,31 +3313,31 @@
};
DDDC7DAD12731D1F00192ADD /* SMFMediaMenuController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 546}}";
sepNavSelRange = "{171, 0}";
- sepNavVisRange = "{0, 923}";
+ sepNavVisRange = "{0, 687}";
};
};
DDDC7DAE12731D1F00192ADD /* SMFMediaMenuController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 1989}}";
- sepNavSelRange = "{363, 0}";
- sepNavVisRange = "{144, 1022}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1911}}";
+ sepNavSelRange = "{651, 0}";
+ sepNavVisRange = "{0, 995}";
sepNavWindowFrame = "{{15, 4}, {1037, 874}}";
};
};
DDDC80E9127375CE00192ADD /* SMFCenteredMenuController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
- sepNavSelRange = "{226, 0}";
- sepNavVisRange = "{0, 901}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 507}}";
+ sepNavSelRange = "{396, 0}";
+ sepNavVisRange = "{0, 770}";
};
};
DDDC80EA127375CE00192ADD /* SMFCenteredMenuController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 1885}}";
- sepNavSelRange = "{944, 0}";
- sepNavVisRange = "{0, 1614}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1937}}";
+ sepNavSelRange = "{962, 253}";
+ sepNavVisRange = "{584, 744}";
};
};
DDDC80F91273784800192ADD /* SMFFolderBrowser.h */ = {
@@ -3350,16 +3356,16 @@
};
DDDC80FB1273902A00192ADD /* SMFBaseAsset.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 635}}";
- sepNavSelRange = "{173, 0}";
- sepNavVisRange = "{0, 604}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 389}}";
+ sepNavSelRange = "{319, 0}";
+ sepNavVisRange = "{0, 627}";
};
};
DDDC80FC1273902A00192ADD /* SMFBaseAsset.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 1300}}";
- sepNavSelRange = "{1295, 674}";
- sepNavVisRange = "{523, 1604}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1352}}";
+ sepNavSelRange = "{2209, 0}";
+ sepNavVisRange = "{0, 602}";
sepNavWindowFrame = "{{15, 4}, {788, 874}}";
};
};
@@ -3373,9 +3379,9 @@
};
DDDC80FF1273909900192ADD /* SMFMediaPreview.mm */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1038, 2288}}";
- sepNavSelRange = "{2965, 0}";
- sepNavVisRange = "{1794, 608}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 2314}}";
+ sepNavSelRange = "{2434, 0}";
+ sepNavVisRange = "{2235, 511}";
sepNavWindowFrame = "{{15, 4}, {1037, 874}}";
};
};
@@ -3388,38 +3394,38 @@
};
DDDC816F1273A66600192ADD /* SMFPasscodeController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1118, 624}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1118, 637}}";
sepNavSelRange = "{352, 117}";
- sepNavVisRange = "{31, 1273}";
+ sepNavVisRange = "{477, 1119}";
};
};
DDDC81701273A66600192ADD /* SMFPasscodeController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 2665}}";
- sepNavSelRange = "{5141, 125}";
- sepNavVisRange = "{4477, 1014}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 2704}}";
+ sepNavSelRange = "{1763, 0}";
+ sepNavVisRange = "{1376, 601}";
};
};
DDDC81721273A67000192ADD /* SMFController.h */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1034, 730}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 806}}";
sepNavSelRange = "{174, 0}";
- sepNavVisRange = "{0, 1228}";
+ sepNavVisRange = "{0, 645}";
sepNavWindowFrame = "{{15, 4}, {788, 874}}";
};
};
DDDC81731273A67000192ADD /* SMFController.m */ = {
uiCtxt = {
- sepNavIntBoundsRect = "{{0, 0}, {1092, 1547}}";
+ sepNavIntBoundsRect = "{{0, 0}, {1038, 1508}}";
sepNavSelRange = "{404, 0}";
- sepNavVisRange = "{0, 810}";
+ sepNavVisRange = "{0, 613}";
};
};
DDDC818F1273B8C000192ADD /* SMFramework.h */ = {
uiCtxt = {
sepNavIntBoundsRect = "{{0, 0}, {1038, 546}}";
- sepNavSelRange = "{267, 0}";
- sepNavVisRange = "{0, 586}";
+ sepNavSelRange = "{391, 0}";
+ sepNavVisRange = "{186, 669}";
};
};
DDDC81991273B9B800192ADD /* Install */ = {
@@ -3479,7 +3485,7 @@
fRef = DDDC7DAE12731D1F00192ADD /* SMFMediaMenuController.m */;
name = "SMFMediaMenuController.m: 15";
rLen = 0;
- rLoc = 363;
+ rLoc = 390;
rType = 0;
vrLen = 1022;
vrLoc = 144;
View
2 _/DEBIAN/control
@@ -1,6 +1,6 @@
Package: org.tomcool.smframework
Name: SMFramework
-Version: 0.5.8-14
+Version: 0.5.8-40
Architecture: iphoneos-arm
Description: Framework for most packages written by me
Maintainer: Thomas Cool <thomas.cool@me.com>
View
1 _/Library/Frameworks/SMFramework.framework/Headers/BRMenuItem_SMF.h
@@ -6,6 +6,7 @@
// Copyright 2010 tomcool.org. All rights reserved.
//
+//NOTE: should note be used ... use SMFMenuItem instead
#import <Backrow/Backrow.h>
@interface BRMenuItem (SMFExtensions)
View
28 _/Library/Frameworks/SMFramework.framework/Headers/SMFCenteredMenuController.h
@@ -9,31 +9,13 @@
#import <Foundation/Foundation.h>
#import <Backrow/Backrow.h>
//#import "SMFMediaMenuController.h"
+#import "SMFMenuController.h"
#import "SMFDefines.h"
-@class SMFMediaMenuController;
-@interface SMFCenteredMenuController : BRMenuController {
+@class SMFMenuController;
+@interface SMFCenteredMenuController : SMFMenuController {
int padding[128];
- NSMutableArray * _items;
- NSMutableArray * _options;
+// NSMutableArray * _items;
+// NSMutableArray * _options;
}
--(float)heightForRow:(long)row;
--(BOOL)rowSelectable:(long)row;
--(long)itemCount;
--(id)itemForRow:(long)row;
--(long)rowForTitle:(id)title;
--(id)titleForRow:(long)row;
--(int)getSelection;
-- (void)setSelection:(int)sel;
--(id)everyLoad;
-/*
- * Action Called Every Time someone Presses on Left Arrow
- */
--(void)leftActionForRow:(long)row;
-
-/*
- * Action Called Every Time someone Presses on Right Arrow
- */
--(void)rightActionForRow:(long)row;
-
@end
View
1 _/Library/Frameworks/SMFramework.framework/Headers/SMFMenuController.h
@@ -9,6 +9,7 @@
#import <Foundation/Foundation.h>
#import "SMFDefines.h"
@interface SMFMenuController : BRMenuController {
+// int padding[32];
NSMutableArray *_items;
NSMutableArray *_options;
}
View
3 _/Library/Frameworks/SMFramework.framework/Headers/SMFramework.h
@@ -18,9 +18,10 @@
/*
* Classes
*/
-#import "SMFCenteredMenuController.h"
+
#import "SMFMediaMenuController.h"
#import "SMFMenuController.h"
+#import "SMFCenteredMenuController.h"
#import "SMFMediaPreview.h"
#import "SMFBaseAsset.h"
#import "SMFController.h"
View
BIN _/Library/Frameworks/SMFramework.framework/SMFramework
Binary file not shown.
View
BIN obj/SMFCenteredMenuController.m.o
Binary file not shown.
View
BIN obj/SMFInvocationCenteredMenuController.m.o
Binary file not shown.
View
BIN obj/SMFMenuController.m.o
Binary file not shown.
View
BIN obj/SMFScreenCapture.m.o
Binary file not shown.
View
BIN obj/SMFramework
Binary file not shown.

0 comments on commit 8763c26

Please sign in to comment.