window->DC.CurrLineTextBaseOffset=ImMax(window->DC.PrevLineTextBaseOffset,group_data.BackupCurrLineTextBaseOffset);// FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
window->DC.CurrLineTextBaseOffset=ImMax(window->DC.PrevLineTextBaseOffset,group_data.BackupCurrLineTextBaseOffset);// FIXME: Incorrect, we should grab the base offset from the *first line* of the group but it is hard to obtain now.
// If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group.
// If the current ActiveId was declared within the boundary of our group, we copy it to LastItemId so IsItemActive(), IsItemDeactivated() etc. will be functional on the entire group.
// It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets.
// It would be be neater if we replaced window.DC.LastItemId by e.g. 'bool LastItemIsActive', but would put a little more burden on individual widgets.
if(item_type==5){ret=ImGui::InputText("ITEM: InputText",&str[0],IM_ARRAYSIZE(str));}// Testing input text (which handles tabbing)
if(item_type==5){ret=ImGui::InputText("ITEM: InputText",&str[0],IM_ARRAYSIZE(str));}// Testing input text (which handles tabbing)
if(item_type==6){ret=ImGui::InputFloat("ITEM: InputFloat",col4f,1.0f);}// Testing +/- buttons on scalar input
if(item_type==6){ret=ImGui::InputTextMultiline("ITEM: InputTextMultiline",&str[0],IM_ARRAYSIZE(str));}// Testing input text (which uses a child window)
if(item_type==7){ret=ImGui::InputFloat3("ITEM: InputFloat3",col4f);}// Testing multi-component items (IsItemXXX flags are reported merged)
if(item_type==7){ret=ImGui::InputFloat("ITEM: InputFloat",col4f,1.0f);}// Testing +/- buttons on scalar input
if(item_type==8){ret=ImGui::ColorEdit4("ITEM: ColorEdit4",col4f);}// Testing multi-component items (IsItemXXX flags are reported merged)
if(item_type==8){ret=ImGui::InputFloat3("ITEM: InputFloat3",col4f);}// Testing multi-component items (IsItemXXX flags are reported merged)