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, bppparamOffPicture, bppparamOnPicture bppparamOffDisabledPicture, bppparamOnDisabledPicture, ui32paramMsg and ui32paramBehavior are passed on to the BPictureButton class.
The next parameter, lpparamLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
The next 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 1.0.1
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified January 19, 1999.