summaryrefslogtreecommitdiff
path: root/cocoa/ScrollableView.h
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-01-13 15:19:47 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-01-13 15:19:47 +0000
commita9b60753f9c7a57aae2af50943e3ad81203e73e1 (patch)
tree5e2a45bf28eba7a886a0c8515ee66958a4311d7a /cocoa/ScrollableView.h
parentb65a405c3e88c9f96620d494bbe0f70552dc4089 (diff)
downloadnetsurf-a9b60753f9c7a57aae2af50943e3ad81203e73e1.tar.gz
netsurf-a9b60753f9c7a57aae2af50943e3ad81203e73e1.tar.bz2
Implemented tree view/history window.
svn path=/trunk/netsurf/; revision=11309
Diffstat (limited to 'cocoa/ScrollableView.h')
-rw-r--r--cocoa/ScrollableView.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/cocoa/ScrollableView.h b/cocoa/ScrollableView.h
new file mode 100644
index 000000000..1850fe58d
--- /dev/null
+++ b/cocoa/ScrollableView.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2011 Sven Weidauer <sven.weidauer@gmail.com>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface ScrollableView : NSView {
+ NSSize minimumSize;
+ NSView *observedSuperview;
+}
+
+@property (readwrite, assign, nonatomic) NSSize minimumSize;
+
+@end