// EIKOPBUT.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKOPBUT_H__)
#define __EIKOPBUT_H__

#if !defined(__EIKBUTB_H__)
#include <eikbutb.h>
#endif

#if !defined(__EIKBORDR_H__)
#include <eikbordr.h>
#endif

class CEikOptionButton : public CEikButtonBase
	{
public:
	IMPORT_C CEikOptionButton();
	IMPORT_C ~CEikOptionButton();
	IMPORT_C void ConstructFromResourceL(TResourceReader& aReader);
	IMPORT_C void ConstructL();
public: // framework
	IMPORT_C TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
	IMPORT_C TSize MinimumSize();
	IMPORT_C void Draw(const TRect& /*aRect*/) const;
private:
	CFbsBitmap* iBitmap[4];	  //4 states
	CFbsBitmap* iMaskBitmap;	 
	};

#endif
