Derived from: BButton
Declared in: myButton.h
Library: libBeGUI.so
The MyButton Class is used as a simple button gadget. It is a wrapper for the BeOS BButton class.
This is the constructor. The first three parameters, paramName, paramLabel and ui32paramMsg are passed on to the BButton 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 font and enabled state of the button.
This is the destructor. It does nothing.
The BButton class's method GetPreferredSize() has some problems, so I have provided a replacement which works for my needs.
This just overrides the BButton 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.