#pragma once

#include "BsPrerequisites.h"
#include "BsGUIScrollBar.h"
#include "BsEvent.h"

namespace BansheeEngine
{
	/**
	 * @brief	Specialization of a vertical scroll bar.
	 */
	class BS_EXPORT GUIScrollBarVert : public GUIScrollBar
	{
	public:
		/**
		 * Returns type name of the GUI element used for finding GUI element styles. 
		 */
		static const String& getGUITypeName();

		/**
		 * @brief	Creates a new vertical scroll bar.
		 *
		 * @param	styleName		Optional style to use for the element. Style will be retrieved
		 *							from GUISkin of the GUIWidget the element is used on. If not specified
		 *							default style is used.
		 */
		static GUIScrollBarVert* create(const String& styleName = StringUtil::BLANK);

		/**
		 * @brief	Creates a new vertical scroll bar.
		 *
		 * @param	options			Options that allow you to control how is the element positioned and sized.
		 *							This will override any similar options set by style.
		 * @param	styleName		Optional style to use for the element. Style will be retrieved
		 *							from GUISkin of the GUIWidget the element is used on. If not specified
		 *							default style is used.
		 */
		static GUIScrollBarVert* create(const GUIOptions& options, const String& styleName = StringUtil::BLANK);
	protected:
		GUIScrollBarVert(const String& styleName, const GUIDimensions& dimensions);
		~GUIScrollBarVert();
	};
}