Sha256: 4815938d2442d7eadb4e5dcf08b6eb4263ab039117f2df8262cb1f3cb7ac6754

Contents?: true

Size: 1.93 KB

Versions: 28

Compression:

Stored size: 1.93 KB

Contents

//
//  SimpleMainView.h
//  rhorunner
//
//  Created by Dmitry Moskalchuk on 07.03.10.
//  Copyright 2010 Rhomobile Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RhoMainView.h"
#import "RhoViewController.h"
#include "RhoNativeViewManagerOC.h"



@interface SimpleMainView : RhoViewController <RhoMainView, UIWebViewDelegate> {

    UIWebView *webView;
    UIToolbar *toolbar;
    UINavigationBar *navbar;
    CGRect rootFrame;
	id<NativeViewOC,NSObject> nativeView;
	NSString* nativeViewType;
	UIView* nativeViewView;
	BOOL urlBasedNativeView;
	RhoViewController* mTabBarCallback;
	NSString* url_after_set_background;
	BOOL is_url_after_set_background_redirect;
	BOOL isBackgroundSetted;
}

@property (nonatomic,retain) UIWebView *webView;
@property (nonatomic,retain) UIToolbar *toolbar;
@property (nonatomic,retain) UINavigationBar *navbar;
@property (nonatomic,retain) NSString *nativeViewType;
@property (nonatomic,retain) UIView *nativeViewView;
@property (nonatomic,assign) RhoViewController* mTabBarCallback;
@property (assign) BOOL urlBasedNativeView;
@property (assign) BOOL isBackgroundSetted;
@property (assign) BOOL is_url_after_set_background_redirect;
@property (nonatomic,retain) NSString* url_after_set_background;


- (id)initWithMainView:(id<RhoMainView>)v parent:(UIWindow*)p;
- (id)initWithMainView:(id<RhoMainView>)v parent:(UIWindow*)p bar_info:(NSDictionary*)bar_info;
- (id)initWithParentView:(UIView *)p frame:(CGRect)frame webview:(UIWebView*)webview;
- (id)initWithParentView:(UIView *)p frame:(CGRect)frame;
- (id)initWithParentView:(UIView *)p frame:(CGRect)frame web_bkg_color:(UIColor*)web_bkg_color;

- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation;
- (void)loadView;

- (void)removeToolbar;
- (void)addToolbar:(NSDictionary*)bar_info;

-(void)setWebBackgroundColor:(int)bkg_color;
	
-(void)restoreWebView;

- (UIWebView*)getWebView:(int)tab_index;

+ (void) disableHiddenOnStart;

@end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
rhodes-3.0.2 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.2.beta.1 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.8 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.7 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.6 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.5 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.4 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.3 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.1.beta.2 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.7 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.6 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.5 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.4 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.3 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.2 platform/iphone/Classes/SimpleMainView.h
rhodes-3.0.0.beta.1 platform/iphone/Classes/SimpleMainView.h
rhodes-2.4.1 platform/iphone/Classes/SimpleMainView.h
rhodes-2.4.1.beta.1 platform/iphone/Classes/SimpleMainView.h