Some TODO resolution.

This commit is contained in:
Pietro Gagliardi 2015-08-20 19:40:23 -04:00
parent 9da5feb0be
commit 133f258c3f
1 changed files with 6 additions and 7 deletions

View File

@ -58,20 +58,19 @@ static void onDestroy(uiBox *b)
// TODO container update state
// TODO change i to n
static NSString *viewName(uintmax_t i)
static NSString *viewName(uintmax_t n)
{
return [NSString stringWithFormat:@"view%ju", i];
return [NSString stringWithFormat:@"view%ju", n];
}
static NSString *widthMetricName(uintmax_t i)
static NSString *widthMetricName(uintmax_t n)
{
return [NSString stringWithFormat:@"view%juwidth", i];
return [NSString stringWithFormat:@"view%juwidth", n];
}
static NSString *heightMetricName(uintmax_t i)
static NSString *heightMetricName(uintmax_t n)
{
return [NSString stringWithFormat:@"view%juheight", i];
return [NSString stringWithFormat:@"view%juheight", n];
}
static int isStretchy(uiBox *b, uintmax_t n)