#ifndef _CUSTOMGUI_QUICKTAB_H_
#define _CUSTOMGUI_QUICKTAB_H_

#ifdef _INTERNAL_QUICKTAB_
	#define _INTERNAL_BASECUSTOM_
#endif

#include "customgui_base.h"
#include "c4d_basecontainer.h"



#define CUSTOMGUI_QUICKTAB				1000495 // user gadget


#define QUICKTAB_BAR							'bar'  // Bool
#define QUICKTAB_BARTITLE					'btit' // String
#define QUICKTAB_SHOWSINGLE				'ssgl' // Bool
#define QUICKTAB_SPRINGINGFOLDERS	'sprn' // Bool: d&d springing folder like
#define QUICKTAB_SEPARATOR				'sepa' // Bool: draw seperator?


class QuickTabCustomGui : public BaseCustomGui<CUSTOMGUI_QUICKTAB>
{
		QuickTabCustomGui();

	public:

		void ClearStrings();
		void AppendString(LONG id,const String &str,Bool checked);
		void DoLayoutChange();
		Bool IsSelected(LONG id);
		void SetTextColor(LONG id,LONG col);
    Bool Select(LONG id, Bool b);
};





// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF

#ifndef _INTERNAL_QUICKTAB_
	class iQuickTabCustomGui : public iBaseCustomGui
	{
	};
#else
	class iQuickTabCustomGui;
#endif

struct QuickTabLib : public BaseCustomGuiLib
{
	void		(iQuickTabCustomGui::*ClearStrings		)();
	void		(iQuickTabCustomGui::*AppendString		)(LONG id,const String &str,Bool checked);
	void		(iQuickTabCustomGui::*DoLayoutChange	)();
	Bool		(iQuickTabCustomGui::*IsSelected			)(LONG id);
	void		(iQuickTabCustomGui::*SetTextColor		)(LONG id,LONG col);
	Bool		(iQuickTabCustomGui::*Select		      )(LONG id, Bool b);
};

// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF

#endif
