Noesis 2.1.0.b14 C++ with GLFW problem with ComboBox
Posted: 03 Jan 2018, 12:09
I am porting my unfinished program in to 2.1.0b14 and I have problem with ComboBox. If I click on it, GUI rendering freeze, but looks like "logic" is still working because I can close program or do something, but I don't see it visually because GUI is not updated.
Another problem, and I think this produce the problem, is SelectedIndex. When I open option window(from my program) in codebehind it take value from SelectedIndex and when this is called, program crash.
I use GLFW (OpenGL) and I followed IntegrationGLUT sample for my program. Btw. program run ok, except ComboBox.
Another problem, and I think this produce the problem, is SelectedIndex. When I open option window(from my program) in codebehind it take value from SelectedIndex and when this is called, program crash.
Code: Select all
int32_t ContainerItem::m_func_GetSelectedIndex() const // int32_t was previously NsInt32 which is non existent in Noesis 2.1.0.b14
{
return m_i32_SelectedIndex;
}
/// -------------------------------------------------------------------------------------------------------------------
void ContainerItem::m_func_SetSelectedIndex(const int32_t index)
{
m_i32_SelectedIndex = index;
switch (m_i32_SelectedIndex)
{
// ...
}
Changed(NSS(ContainerItem_SelectedIndex));
}