Derived from: BPictureButton
Declared in: myPictureButton.h
Library: libBeGUI.so
The MyPictureButton Class is used as a picture button gadget. It is a wrapper for the BeOS BPictureButton class.
This is the constructor. The first eight parameters, paramRect, paramName, paramOffPicture, paramOnPicture paramOffDisabledPicture, paramOnDisabledPicture, uparamMsg and uparamBehavior are passed on to the BPictureButton class.
The parameter paramLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
The parameter paramSetEnabled causes the button to be enabled initially if true, as it is by default. The parameter paramOnOff controls whether the button is displayed in it's "off" state (ie. unselected, as it is by default) when first displayed.
There is a tiny bit of code in this CTOR, it sets the disabled pictures and on/off and enabled states of the picture button.
This is the destructor. It does nothing.
This just overrides the BPictureButton method to provide color control, it calls the inherited version.
for version 1.4.2
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified March 17, 1999.