#define lprintf(args...) fprintf(stderr, args)
-#define ForRelease 0
+#define ForRelease 1
#define TraceLogging (1 && !ForRelease)
#define HistogramInsertionSort (0 && !ForRelease)
#define ProfileTimes (0 && !ForRelease)
- (void) reloadButtonsForPage:(RVPage *)page;
- (NSString *) getTitleForPage:(RVPage *)page;
+- (void) reloadButtons;
- (void) reloadData;
- (CGRect) pageBounds;
}
}
+- (void) reloadButtons {
+ size_t count([pages_ count]);
+ if (count != 0) {
+ RVPage *page([pages_ lastObject]);
+ [self reloadButtonsForPage:page];
+ }
+}
+
- (CGRect) pageBounds {
return [transition_ bounds];
}