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 "Control.h" 00031 00032 namespace SallyAPI 00033 { 00034 namespace GUI 00035 { 00044 00045 class DLL_API_SALLY CRadioButton : 00046 public SallyAPI::GUI::CControl 00047 { 00048 protected: 00049 bool m_bChecked; 00050 00051 virtual void RenderControl(); 00052 virtual bool ProcessMouseUp(int x, int y); 00053 public: 00054 CRadioButton(SallyAPI::GUI::CGUIBaseObject* parent, int x, int y, int width, int controlId = 0); 00055 virtual ~CRadioButton(); 00056 00057 bool GetCheckStatus(); 00058 void SetCheckStatus(bool checked); 00059 }; 00060 } 00061 }