diff options
author | handbrake <[email protected]> | 2006-01-14 13:21:55 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 13:21:55 +0000 |
commit | dc8de40de13c3f3e643b980a95ef48ccafb542e3 (patch) | |
tree | 953b97afe7082bbe2ce4247c703a51aa8e29a3c9 /beos/liblayout/MRadioGroup.h | |
parent | 4beb6a8b483c9d84677b21cc271ce315f136335c (diff) |
HandBrake 0.6.0-test1
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@10 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'beos/liblayout/MRadioGroup.h')
-rw-r--r-- | beos/liblayout/MRadioGroup.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/beos/liblayout/MRadioGroup.h b/beos/liblayout/MRadioGroup.h new file mode 100644 index 000000000..bb430f2da --- /dev/null +++ b/beos/liblayout/MRadioGroup.h @@ -0,0 +1,46 @@ + +#ifndef _MRADIOGROUP_H +#define _MRADIOGROUP_H +#include "MGroup.h" +#include <RadioButton.h> + +#if __POWERPC__ +#pragma simple_class_byval off +#endif + +class IMPEXPLIBLAYOUT MRadioGroup : public MGroup, public BView +{ + public: MRadioGroup(char *item ...); + MRadioGroup(BMessage *model, char *item ...); + MRadioGroup(BMessage *model, BHandler *target, char *item ...); + MRadioGroup(BMessage*); + virtual ~MRadioGroup(); + virtual long Archive(BMessage *archive, bool deep=true) const; + static BArchivable *Instantiate(BMessage *archive); + + virtual minimax layoutprefs(); + virtual BRect layout(BRect rect); + virtual void SetActive(ulong); + virtual long ActiveButton(); + virtual void reloadfont(BFont *font[]); + virtual void setcolor(rgb_color col,bool deep); + virtual void AttachedToWindow(); + virtual void DetachedFromWindow(); + + private: virtual void _expansionmradiogroup1(); + virtual void _expansionmradiogroup2(); + + ulong numradios; + BHandler *handler; + + uint32 _expansiondata[3]; +}; + +extern const IMPEXPLIBLAYOUT char M_RADIO_POINTER_NAME[]; +extern const IMPEXPLIBLAYOUT char M_RADIO_INDEX_NAME[]; + + +#endif + + + |