

#ifndef _cusbtn_h_ /* Mon Sep 30 10:11:01 1996 */
#define _cusbtn_h_


// This class illustrates how to override the Enable/Disable methods for
// using a custom bitmap when a button is enabled or disabled. Custom
// bitmaps must be used when disabling buttons that have colored
// bitmaps under Windows or OS/2. This is because the default
// implementation of the Enable/Disable methods on these two platforms
// works well only with monochrome bitmaps.

#include "ui/bmpushbn.h"

class CustomBitmapButton: public UI_BitmapPushButton {

public:
    CustomBitmapButton (UI_VisualObject* parent, const UI_Rectangle&
                        shape, UI_ViewID id, const char* enableBmpFile,
                        const char* disableBmpFile);

};

#endif /* _cusbtn_h_ */
