]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVBook.mm
When cancelButtonIndex is -1, use the first button's background image for the rest...
[cydia.git] / UICaboodle / RVBook.mm
1 #import "RVBook.h"
2
3 #import <UIKit/UINavigationBar.h>
4 #import <UIKit/UINavigationItem.h>
5
6 #import <UIKit/UITransitionView.h>
7
8 #import <UIKit/UIView-Geometry.h>
9 #import <UIKit/UIView-Hierarchy.h>
10
11 #import <Foundation/Foundation.h>
12 #import <CoreGraphics/CGGeometry.h>
13
14 #include <cstdio>
15 #include <cstdlib>
16
17 #include <errno.h>
18
19 #import "RVPage.h"
20
21
22 @implementation UCNavigationController
23 - (void) setHook:(id)hook {
24 hook_ = hook;
25 }
26 - (void) dismissModalViewControllerAnimated:(BOOL)animated {
27 [super dismissModalViewControllerAnimated:YES];
28
29 if (hook_ != nil)
30 [hook_ didDismissModalViewController];
31 }
32 @end
33
34