This preference panel gives control of the MyPictureButton class's colors (the View color, the High color and the Low color). Changing the View color changes the background color for the gadget. Changing the High and Low colors have no obvious affect, they are controlled by the BPicture methods SetHighColor() and SetLowColor(). The example has all four BPictureButton modes (On, Off, OnDisabled, and OffDisabled) embedded, so each selection of this gadget will show another mode, cycling repeatedly through the values.
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.