| 233 | } |
| 234 | |
| 235 | void optionCheckbox(const char* name, u32* flags, u32 flagValue, s32 width) |
| 236 | { |
| 237 | ImGui::SetNextItemWidth(width ? width : ImGui::CalcTextSize(name).x + 16); |
| 238 | ImGui::LabelText("##Label", "%s", name); ImGui::SameLine(); |
| 239 | ImGui::CheckboxFlags(editor_getUniqueLabel(""), flags, flagValue); |
| 240 | } |
| 241 | |
| 242 | void optionSliderEditFloat(const char* name, const char* precision, f32* value, f32 minValue, f32 maxValue, f32 step) |
| 243 | { |
no test coverage detected