The Layout Library: MRew,MPlayBW,MStop,MPlayFW,MFFWD,MEject

Derived from: public MPictureButton

Declared in: <MRew.h>,<MPlayBW.h>,<MStop.h>,<MPlayFW.h>,<MFFWD.h>,<MEject.h>


Overview

MRew,MPlayBW,MStop,MPlayFW,MFFWD and MEject are controls that look like some of the buttons commonly found on a tapedeck, vcr or cd-player.

Only MStop is documented here, but since all these controls have the same member functions, this document applies to all of them.


Constructor and Destructor


MStop()

    MStop(BHandler *target)
    MStop(BMessage*)
Constructs the control, and makes target its target.

~MStop()

    virtual ~MStop()
Deletes the control.

Static Functions


Instantiate()

    static BArchivable *Instantiate(BMessage *archive)
Not yet implemented.


Member Functions


Archive()

    virtual long Archive(BMessage *archive, bool deep=true) const
Not yet implemented.


MakePictures()

    virtual void MakePictures()
Augments the inherited version. This function is called by the control when it's time to create the BPictures that it uses for its normal and highlighted state. This function is called from MPictureButton::AttachedToWindow(), and from MPictureButton::setcolor() whenever the color of the control changes.


Copyright © 1997 Marco Nelissen (marcone@xs4all.nl) All rights reserved.

Be, BeOS, BeBox, BeWare, GeekPort, the Be logo, the BeOS logo, roColour, Beatware and Beatware painter are trademarks or registered trademarks of their respective owners.