From 399f18f3adb1547afcf75a9f6e4021f2d910dae9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 1 Aug 2015 18:35:24 -0400 Subject: [PATCH] Removed the old Auto Layout routines from the other classes. --- redo/osxaltest/button.m | 7 ------- redo/osxaltest/osxaltest.h | 1 - redo/osxaltest/spinbox.m | 8 -------- 3 files changed, 16 deletions(-) diff --git a/redo/osxaltest/button.m b/redo/osxaltest/button.m index 3493c5ac..ed54996c 100644 --- a/redo/osxaltest/button.m +++ b/redo/osxaltest/button.m @@ -25,13 +25,6 @@ [v addSubview:self->b]; } -- (uintmax_t)tAddToAutoLayoutDictionary:(NSMutableDictionary *)views keyNumber:(uintmax_t)n -{ - [views setObject:self->b forKey:tAutoLayoutKey(n)]; - n++; - return n; -} - - (void)tFillAutoLayoutHorz:(NSMutableArray *)horz vert:(NSMutableArray *)vert extra:(NSMutableArray *)extra diff --git a/redo/osxaltest/osxaltest.h b/redo/osxaltest/osxaltest.h index dbdf7389..1224f8cc 100644 --- a/redo/osxaltest/osxaltest.h +++ b/redo/osxaltest/osxaltest.h @@ -5,7 +5,6 @@ @protocol tControl @required - (void)tAddToView:(NSView *)v; -//TODO- (uintmax_t)tAddToAutoLayoutDictionary:(NSMutableDictionary *)views keyNumber:(uintmax_t)n; - (void)tFillAutoLayoutHorz:(NSMutableArray *)horz vert:(NSMutableArray *)vert extra:(NSMutableArray *)extra diff --git a/redo/osxaltest/spinbox.m b/redo/osxaltest/spinbox.m index ed9f37bf..64a4f934 100644 --- a/redo/osxaltest/spinbox.m +++ b/redo/osxaltest/spinbox.m @@ -35,14 +35,6 @@ [v addSubview:self->s]; } -- (uintmax_t)tAddToAutoLayoutDictionary:(NSMutableDictionary *)views keyNumber:(uintmax_t)n -{ - [views setObject:self->t forKey:tAutoLayoutKey(n)]; - [views setObject:self->s forKey:tAutoLayoutKey(n + 1)]; - n += 2; - return n; -} - - (void)tFillAutoLayoutHorz:(NSMutableArray *)horz vert:(NSMutableArray *)vert extra:(NSMutableArray *)extra