text: #pragma once
  
  #include "vgui2d/frame2d.h"
  #include "vgui_controls/AnimationController.h"
  
  #include "button_panel.h"
  
  class Panel_Singleplayer : public Frame2D
  {
  	DECLARE_CLASS_SIMPLE(Panel_Singleplayer, Frame2D);
  
  public:
  	Panel_Singleplayer(vgui::VPANEL parent, const char* PanelName);
  
  	virtual void		ApplySchemeSettings(vgui::IScheme* pScheme);
  	virtual void 		OnThink();
  	virtual void 		SetContentBounds();
  	virtual void 		Paint();
  	virtual void 		PaintBlurMask();
  	virtual void		Animations();
  	virtual void 		DrawBackground();
  	virtual void 		DrawTitle();
  	virtual void 		DrawTabs();
  	virtual void 		DrawBasicButtons();
  	virtual void		OnCommand(char const* Command);
  
  private:
  	vgui::AnimationController* AnimationController;
  
  	Button_Panel*		m_pBtnNewGame;
  	Button_Panel*		m_pBtnLoadGame;
  	Button_Panel*		m_pBtnBack;
  
  	int32				ContentX0;
  	int32				ContentY0;
  	int32				ContentX1;
  	int32				ContentY1;
  	int32				ContentW;
  	int32				ContentH;
  
  	wchar_t*			PanelTitle;
  
  	int32				TitlePositionX;
  	int32				TitlePositionY;
  	int32				TitleSizeX;
  	int32				TitleSizeY;
  
  	Color				BackgroundGradientTop;
  	Color				BackgroundGradientBottom;
  
  	Color				TitleColor;
  
  	float				TitleOffsetX;
  	float				TitleOffsetY;
  
  	vgui::HFont			TitleFont;
  };