My Project
|
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 #pragma once 00029 #include "Define.h" 00030 #include "Button.h" 00031 00032 namespace SallyAPI 00033 { 00034 namespace GUI 00035 { 00041 00042 enum RoundButtonType {ROUNDBUTTON_TYPE_SMALL, ROUNDBUTTON_TYPE_BIG}; 00043 00052 00053 class DLL_API_SALLY CRoundButton : 00054 public SallyAPI::GUI::CButton 00055 { 00056 private: 00057 SallyAPI::GUI::RoundButtonType m_eRoundButtonType; 00058 00059 virtual void RenderControl(); 00060 public: 00061 CRoundButton(SallyAPI::GUI::CGUIBaseObject* parent, int x, int y, int controlId = 0, SallyAPI::GUI::RoundButtonType type = ROUNDBUTTON_TYPE_SMALL); 00062 virtual ~CRoundButton(); 00063 }; 00064 } 00065 }