tangled
alpha
login
or
join now
matrixfurry.com
/
monado
0
fork
atom
The open source OpenXR runtime
0
fork
atom
overview
issues
pulls
pipelines
ext/imgui: Remove unnecessary braces [NFC]
Jakob Bornecrantz
2 years ago
05a3f3e0
fe8c4116
+2
-4
1 changed file
expand all
collapse all
unified
split
src
external
imgui
imgui_monado
imgui_monado.cpp
+2
-4
src/external/imgui/imgui_monado/imgui_monado.cpp
···
229
229
ImGui::LabelText(label, "%6.2f %s [%6.2f, %6.2f]", v, unit, v_min, v_max);
230
230
}
231
231
232
232
-
extern "C" {
232
232
+
extern "C"
233
233
void igPlotTimings(const char *label,
234
234
float (*values_getter)(void *data, int idx), void *data,
235
235
int values_count, int values_offset,
···
241
241
overlay_text, frame_size, reference_timing,
242
242
center_reference_timing, range, unit, dynamic_rescale);
243
243
}
244
244
-
}
245
244
246
246
-
extern "C" {
245
245
+
extern "C"
247
246
void igToggleButton(const char *str_id, bool *v) {
248
247
ImVec2 p = ImGui::GetCursorScreenPos();
249
248
ImDrawList *draw_list = ImGui::GetWindowDrawList();
···
281
280
ImVec2(p.x + radius + t * (width - radius * 2.0f), p.y + radius),
282
281
radius - 1.5f, IM_COL32(255, 255, 255, 255));
283
282
}
284
284
-
}