// EIKTHUMB.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKTHUMB_H__)
#define __EIKTHUMB_H__

#if !defined(__EIKBCTRL_H__)
#include <eikbctrl.h>
#endif

class CEikScrollThumb : public CEikBorderedControl
	{
public:
	enum TOrientation {EVertical,EHorizontal};
public:
	IMPORT_C CEikScrollThumb(TOrientation aOrientation);
	IMPORT_C void SetDragState(TBool aState);
	IMPORT_C TBool DragState();
	IMPORT_C virtual void Draw(const TRect& aRect) const;
	IMPORT_C void DrawDragStateNow() const;
private:
	void DrawDragState(CWindowGc& aGc) const;
private:
	TBool iDragState;
	TOrientation iOrientation;
	};
#endif
