float width_;
Class class_;
+ _H<UIColor> color_;
_H<UIBarButtonItem> reloaditem_;
_H<UIBarButtonItem> loadingitem_;
- (id) initWithWidth:(float)width;
- (id) initWithWidth:(float)width ofClass:(Class)_class;
+- (void) setColor:(UIColor *)color;
+
- (void) callFunction:(WebScriptObject *)function;
- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame;
if (page == nil) {
CyteWebViewController *browser([[[class_ alloc] init] autorelease]);
+ [browser setColor:color_];
[browser setRequest:request];
page = browser;
}
}
}
+ if (uic == nil)
+ uic = [UIColor groupTableViewBackgroundColor];
+
+ color_ = uic;
[scroller_ setBackgroundColor:uic];
break;
}
width_ = width;
class_ = _class;
+ color_ = [UIColor groupTableViewBackgroundColor];
+
allowsNavigationAction_ = true;
loading_ = [NSMutableSet setWithCapacity:5];
}
[scroller_ setFixedBackgroundPattern:YES];
- [scroller_ setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
+ [scroller_ setBackgroundColor:color_];
[scroller_ setClipsSubviews:YES];
[scroller_ setBounces:YES];
} return self;
}
+- (void) setColor:(UIColor *)color {
+ color_ = color;
+}
+
- (void) callFunction:(WebScriptObject *)function {
WebThreadLocked lock;