void CRadioDisplay::SendRawDisplay(int client, unsigned int time) { int _sel_keys = (keys == 0) ? (1<<9) : keys; CRadioMenuPlayer *pPlayer = g_RadioMenuStyle.GetRadioMenuPlayer(client); pPlayer->Radio_Init(_sel_keys, m_Title.c_str(), m_BufferText.c_str()); pPlayer->Radio_Refresh(); }
bool CRadioMenu::DisplayAtItem(int client, unsigned int time, unsigned int start_item, IMenuHandler *alt_handler) { #if defined MENU_DEBUG g_Logger.LogMessage("[SM_MENU] CRadioMenu::Display(%p) (client %d) (time %d)", this, client, time); #endif if (m_bCancelling) { return false; } return g_RadioMenuStyle.DoClientMenu(client, this, start_item, alt_handler ? alt_handler : m_pHandler, time); }
void CRadioMenu::Cancel_Finally() { g_RadioMenuStyle.CancelMenu(this); }
IMenuPanel *CRadioMenu::CreatePanel() { return g_RadioMenuStyle.MakeRadioDisplay(this); }
bool CRadioDisplay::SendDisplay(int client, IMenuHandler *handler, unsigned int time) { return g_RadioMenuStyle.DoClientMenu(client, this, handler, time); }