summaryrefslogtreecommitdiffstats
path: root/beos/liblayout/MVolume.h
diff options
context:
space:
mode:
Diffstat (limited to 'beos/liblayout/MVolume.h')
-rw-r--r--beos/liblayout/MVolume.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/beos/liblayout/MVolume.h b/beos/liblayout/MVolume.h
deleted file mode 100644
index 9d70b7955..000000000
--- a/beos/liblayout/MVolume.h
+++ /dev/null
@@ -1,48 +0,0 @@
-#ifndef _MVOLUME_H
-#define _MVOLUME_H
-
-#include "layout.h"
-#include <Control.h>
-
-#if __POWERPC__
-#pragma simple_class_byval off
-#endif
-
-class IMPEXPLIBLAYOUT MVolume : public MView, public BControl
-{
- public: MVolume(BHandler*);
- MVolume(BMessage*);
- virtual ~MVolume();
- virtual long Archive(BMessage *archive, bool deep=true) const;
- static BArchivable *Instantiate(BMessage *archive);
-
- virtual minimax layoutprefs();
- BRect layout(BRect);
- virtual void AttachedToWindow();
- virtual void DetachedFromWindow();
- virtual void Draw(BRect);
- virtual void DrawVolume(void);
- float Volume();
- void SetVolume(float vol);
- virtual void MouseDown(BPoint);
- virtual void KeyDown(const char *bytes, int32 numbytes);
-
- private: float volume;
- BHandler *target;
- BPoint lastvoldot;
- BPoint clickpoint;
- thread_id mousethread;
- bool ispressed;
- // moved into private area 21-6-98
- static long _mousetracker(void *arg);
- void _MouseTracker();
- // added 21-6-98
- void _PUMouseTracker();
-};
-
-inline float MVolume::Volume()
-{
- return volume;
-}
-
-#endif