Unlike ImGui only ShowDemoWindow of the public implot.h api is actually defined in implot_demo.cpp.
Refrained from moving ShowStyleEditor, ShowStyleSelector, ShowUserGuide, ShowMetricsWindow to implot_demo.cpp like ImGui.
* Added ImPlotPieChartFlags_IgnoreHidden flag. Added PlotPieChart overload that accepts an ImPlotFormatter.
* Fixed a potential division by zero in PlotPieChart.
* Removed PlotPieChart overload code duplication
* Added optional parameters to Drag.. functions to query state of items: clicked, hovered, held
See also #506
* Updated click/hover/held code
* Added demo
* DragRect is now report state of the entire rect
* Fix DragRect interaction; improve demo; some preferential changes
* Added held state handling for the DragRect rectangle
---------
Co-authored-by: epezent <epezent16@gmail.com>
* Fully functional legend scrolling
* refactor legend scroll capture
* remove ImPlotFlags_NoChild scroll capturing in favor of ImGui::SetKeyOwner
* change scroll capture behavior to only capture if scroll can be consumed
* rev version, add note about removal of ImPlotFlags_NoChild
* Use snprintf instead of sprintf in implot_demo.cpp
* Enlarged text buffer
Co-authored-by: BenBE <BenBE@geshi.org>
Co-authored-by: BenBE <BenBE@geshi.org>