diff options
author | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
commit | 56bb6ce496b475944bb9577c7586e84be1cb831e (patch) | |
tree | 7720c135a160a34f22ce8f1f911f350e18207eaa /beos/liblayout/MVolume.h | |
parent | d35a2a23fe450c88925128b9db7c63a5f1ed395d (diff) |
HandBrake 0.7.0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@16 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'beos/liblayout/MVolume.h')
-rw-r--r-- | beos/liblayout/MVolume.h | 48 |
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 |