From 02d9a87417837ffda602b2d06c2c6897d15a1202 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Tue, 23 Aug 2011 09:24:14 -0400 Subject: Added a UIPageControl to the level selection screen The page control updates when you swipe through the levels, but tapping it does nothing. I initially attempted to implement scrolling by tapping on the page control, but for some reason, it worked perfectly in the simulator and only randomly on the iPhone. Very weird. Refs #207 --- Classes/GameModeSelectionLayer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Classes/GameModeSelectionLayer.h') diff --git a/Classes/GameModeSelectionLayer.h b/Classes/GameModeSelectionLayer.h index 451a5f8..478a173 100644 --- a/Classes/GameModeSelectionLayer.h +++ b/Classes/GameModeSelectionLayer.h @@ -15,6 +15,7 @@ NSMutableArray* gameModes; TouchDelegatingView* touchDelegatingView; CocosOverlayScrollView* scrollView; + UIPageControl* pageControl; } + (CCScene*)scene; -- cgit 1.4.1