added new menu feature for old plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401711
This commit is contained in:
David Anderson
2007-11-20 17:16:50 +00:00
parent 81f6856ad9
commit 09b6c5ead1
4 changed files with 126 additions and 6 deletions
+3
View File
@@ -92,6 +92,7 @@ public:
CRadioDisplay *MakeRadioDisplay(CRadioMenu *menu=NULL);
void FreeRadioDisplay(CRadioDisplay *display);
CRadioMenuPlayer *GetRadioMenuPlayer(int client);
IMenuPanel *MakeRadioDisplay(const char *str, int keys);
private:
CRadioMenuPlayer *m_players;
CStack<CRadioDisplay *> m_FreeDisplays;
@@ -118,6 +119,8 @@ public: //IMenuPanel
unsigned int GetCurrentKey();
bool SetCurrentKey(unsigned int key);
int GetAmountRemaining();
public:
void DirectSet(const char *str, int keymap);
private:
String m_BufferText;
String m_Title;