1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-22 18:28:53 -05:00

update tables demo to use TableHeadersRow

This commit is contained in:
epezent 2020-10-27 08:06:40 -05:00
parent f506f94c08
commit 862b8c44ea

View File

@ -1129,7 +1129,7 @@ void ShowDemoWindow(bool* p_open) {
ImGui::TableSetupColumn("Electrode", ImGuiTableColumnFlags_WidthFixed, 75.0f);
ImGui::TableSetupColumn("Voltage", ImGuiTableColumnFlags_WidthFixed, 75.0f);
ImGui::TableSetupColumn("EMG Signal");
ImGui::TableAutoHeaders();
ImGui::TableHeadersRow();
ImPlot::PushColormap(ImPlotColormap_Cool);
for (int row = 0; row < 10; row++) {
ImGui::TableNextRow();