colorWell.h
#ifndef GUI_COLORWELL
#define GUI_COLORWELL
#if BUILDING_LIB
#endif
#define UGLY_IMPEXP __declspec(dllexport)
#else
#define UGLY_IMPEXP __declspec(dllimport)
#endif
class UGLY_IMPEXP TextItem;
class UGLY_IMPEXP LayoutMatrix;
UGLY_IMPEXP
ColorWell :
public BView
{
private:
ColorWell(const ColorWell& copy);/*not implemented on purpose*/
public:
ColorWell& operator = (const ColorWell& assign);/*not implemented on purpose*/
TextItem * mpLabelTextItem;
float top;
float left;
int32 mColorToChange;
ColorWell(const char * cparamName,
};
int32 i32paramColorToChange,
~ColorWell();
TextItem * pparamLabelTextItem,
LayoutMatrix * lpparamLayoutMatrix);
void AttachedToWindow(void);
void Draw(BRect rect);
virtual void MessageReceived(BMessage * pparamMessage);
TextItem * GetTextItem(void) const;
void SetTop(const float fparamTop);
float GetTop(void) const;
void SetLeft(const float fparamLeft);
float GetLeft(void) const;
float descender;
for version 1.0.1
The BeGUI
Book
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.