summaryrefslogtreecommitdiffstats
path: root/beos/liblayout/MScrollView.h
diff options
context:
space:
mode:
Diffstat (limited to 'beos/liblayout/MScrollView.h')
-rw-r--r--beos/liblayout/MScrollView.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/beos/liblayout/MScrollView.h b/beos/liblayout/MScrollView.h
deleted file mode 100644
index 8ba21ce0e..000000000
--- a/beos/liblayout/MScrollView.h
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#ifndef _MSCROLLVIEW_H
-#define _MSCROLLVIEW_H
-
-#include "layout.h"
-#include <ScrollView.h>
-
-// An MScrollView accepts another MView as its target.
-// The MScrollView will display scrollbars as requested
-// so that the target MView may be scrolled left/right or
-// up/down.
-
-#if __POWERPC__
-#pragma simple_class_byval off
-#endif
-
-class IMPEXPLIBLAYOUT MScrollView: public MView, public BScrollView
-{
- public:
- MScrollView(MView *target, bool horizontal=false, bool vertical=false,
- border_style border=B_FANCY_BORDER, minimax size=0);
- MScrollView(BMessage*);
- virtual ~MScrollView();
- virtual long Archive(BMessage *archive, bool deep=true) const;
- static BArchivable *Instantiate(BMessage *archive);
- virtual minimax layoutprefs();
- virtual BRect layout(BRect);
- virtual void AttachedToWindow();
- virtual void DetachedFromWindow();
-
- private:
- MView *kid;
- float leftinset;
- float rightinset;
- float topinset;
- float bottominset;
-};
-
-#endif