Derived from: BPictureButton
Declared in: myPictureButton.h
Library: not currently in a library--someday I hope!
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 ten parameters, paramRect, paramName, bppparamOffPicture, bppparamOnPicture bppparamOffDisabledPicture, bppparamOnDisabledPicture, ui32paramMsg, ui32paramBehavior, ui32paramResizeMask, and ui32paramFlags are passed on to the BPictureButton class.
The eleventh parameter, lpparamLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
The twelfth parameter, bparamSetEnabled causes the button to be enabled initially if true, as it is by default.
There is a tiny bit of code in this CTOR, it sets the disabled pictures and enabled state of the 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 0.4.2
Copyright © 1998 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified November 25, 1998.