Demo tweaks. Moved Tabs to Widgets section. Added to Tables demo. Increased version following 00b35c08.

This commit is contained in:
ocornut
2021-01-14 11:21:13 +01:00
parent 00b35c081e
commit b0db741770
4 changed files with 198 additions and 163 deletions

View File

@ -6233,6 +6233,11 @@ bool ImGui::ListBox(const char* label, int* current_item, bool (*items_getter)(v
// - PlotLines()
// - PlotHistogram()
//-------------------------------------------------------------------------
// Plot/Graph widgets are not very good.
// Consider writing your own, or using a third-party one, see:
// - ImPlot https://github.com/epezent/implot
// - others https://github.com/ocornut/imgui/wiki/Useful-Widgets
//-------------------------------------------------------------------------
int ImGui::PlotEx(ImGuiPlotType plot_type, const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset, const char* overlay_text, float scale_min, float scale_max, ImVec2 frame_size)
{