void SafedBuffer::Write(const void* buf, euint size) { while (!RWBuffer_Write(m_buffer, (const euint*)buf, size)) { m_blockingCount++; } m_nonblockingCount++; }
void GUIComboBox::ShowDropDownMenu() { if (!m_isShowDropDownMenu) { RWBuffer channel = RobotManager::Get()->GetChannel("RenderRobot", "AnimationRobot"); if (channel) { PlayAnimCommand* pac = ENEW PlayAnimCommand("show"); RWBuffer_Write(channel, (const euint*)&pac, sizeof(pac)); } m_isShowDropDownMenu = true; } }