Exemplo n.º 1
0
void SafedBuffer::Write(const void* buf, euint size)
{
	while (!RWBuffer_Write(m_buffer, (const euint*)buf, size)) {
		m_blockingCount++;
	}
	m_nonblockingCount++;
}
Exemplo n.º 2
0
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;
	}
}