diff options
author | Sven Weidauer <sven.weidauer@gmail.com> | 2011-02-27 09:46:54 +0000 |
---|---|---|
committer | Sven Weidauer <sven.weidauer@gmail.com> | 2011-02-27 09:46:54 +0000 |
commit | e1901889698454018150bfc58f469708837dfd7a (patch) | |
tree | 68cbf63380769e92d56f9adfbe522087766c5f27 /cocoa/LocalHistoryController.h | |
parent | 1842be491dffdbc0b0d2dc8e3891d13369824887 (diff) | |
download | netsurf-e1901889698454018150bfc58f469708837dfd7a.tar.gz netsurf-e1901889698454018150bfc58f469708837dfd7a.tar.bz2 |
Local history view now is responsible for hiding itself after selecting a web page. Also gets redrawn when selecting other pages using the back/forward buttons.
svn path=/trunk/netsurf/; revision=11837
Diffstat (limited to 'cocoa/LocalHistoryController.h')
-rw-r--r-- | cocoa/LocalHistoryController.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cocoa/LocalHistoryController.h b/cocoa/LocalHistoryController.h index d84ab8317..14a9abcdb 100644 --- a/cocoa/LocalHistoryController.h +++ b/cocoa/LocalHistoryController.h @@ -19,18 +19,20 @@ #import <Cocoa/Cocoa.h> @class HistoryView; +@class BrowserView; @interface LocalHistoryController : NSWindowController { HistoryView *history; - struct browser_window *browser; + BrowserView *browser; } -@property (readwrite, assign, nonatomic) struct browser_window *browser; +@property (readwrite, assign, nonatomic) BrowserView *browser; @property (readwrite, assign, nonatomic) IBOutlet HistoryView *history; -- initWithBrowser: (struct browser_window *) bw; +- initWithBrowser: (BrowserView *) bw; - (void) attachToView: (NSView *) view; - (void) detach; +- (void) redraw; @end |