1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-13 22:48:50 -05:00
Commit Graph

97 Commits

Author SHA1 Message Date
epezent c8b21a6d36 add stems and fix bug with marker size 2020-09-02 09:17:18 -05:00
epezent 9d9b145548 tidy up implot_internal.h 2020-09-01 21:01:00 -05:00
epezent 9e82be5bff tidy up legend context menus 2020-09-01 01:14:09 -05:00
Peter Johnson 8cbbfc241f
Add BeginPopupContextLegend and EndPopup
EndPopup is just a wrapper around ImGui::EndPopup.

BeginPopupContextLegend provides easy-to-use context menus for legend
entries along the lines of ImGui::BeginPopupContextItem.
2020-08-31 22:08:52 -07:00
epezent fb19e76443 tidy up legend DND 2020-08-31 23:58:15 -05:00
epezent fa2c704bb2 Merge branch 'legend-dnd' of https://github.com/PeterJohnson/implot into PeterJohnson-legend-dnd 2020-08-31 23:28:40 -05:00
epezent 71bf19b4c4 finish up item styling changes 2020-08-31 23:23:48 -05:00
Peter Johnson e783825e4b
Add BeginLegendDragDropSource
This uses pieces of the ImGui BeginDragDropSource implementation to
provide a method to drag from a legend entry.

EndDragDropSource is just a wrapper around ImGui::EndDragDropSource.
2020-08-31 20:38:14 -07:00
epezent dfc77f2ba4 add item styling API 2020-08-30 17:12:36 -05:00
epezent fce58ee075 add ImPlotScale, ImPlotNextItemData, BeginItem EndItem, and more 2020-08-30 11:03:25 -05:00
epezent b198a8b2bc fix plot selection, remove ability to combine marker styles 2020-08-28 17:11:36 -05:00
epezent b84e74b885 add global AA variable to ImPlotStyle 2020-08-25 22:47:03 -05:00
epezent acb69ab410 add Configuration section to demo 2020-08-24 11:48:00 -05:00
epezent 30ffe79d1d add StyleColorsX 2020-08-24 11:06:29 -05:00
epezent 1884d3d7d5 overhaul styling 2020-08-23 23:45:42 -05:00
epezent db16011e73 reorganize header 2020-08-22 23:26:49 -05:00
epezent 9b8270d939 overhaul log plots - improve zoom, labels, and fit 2020-08-22 22:55:37 -05:00
epezent 0afa53059e add Push/PopColormap, custom PlotShaded 2020-08-21 22:13:11 -05:00
epezent 9deca4e422 add overloads for PlotShaded, ImPlotStyleVar_PlotPadding, and ImGui Tables API demo section 2020-08-20 23:01:21 -05:00
epezent a41d413790 add FitNextPlotAxes 2020-08-19 23:50:46 -05:00
epezent 7da6ed69f3 add FitNextPlotAxes 2020-08-19 23:50:12 -05:00
epezent 53c867f414 code cleanup, define magic numbers, add minimum plot size constraint, misc improvements to tick mark labels 2020-08-19 00:04:05 -05:00
epezent 2bc716d2b6 misc clean up, experimental rect rendering, center PlotText 2020-08-17 18:31:30 -05:00
epezent be5c3b6959 wip rect rendering 2020-08-17 16:26:45 -05:00
epezent d9ae47bf2b finish refactoring implot for v0.5 2020-08-16 15:38:51 -05:00
epezent 86a9e51f9d add explicit context creation/destruction 2020-08-16 10:25:06 -05:00
epezent 96dc5b5a28 expose NextColormapColor 2020-08-16 00:49:34 -05:00
epezent 510366e12e document and demo PlotText colors 2020-08-16 00:24:09 -05:00
Evan Pezent 6a5e9401f7 rev up to v0.5 2020-08-07 13:04:31 -05:00
Evan Pezent 5c9679c2ab
header documentation correction 2020-07-28 22:22:37 -05:00
Evan Pezent 7d0d2d1e65 rename IsPlotItemHighlighted to IsLegendEntryHovered 2020-07-26 21:49:31 -05:00
Evan Pezent 9815d64691 tidy up ozlb axis hovering work 2020-07-26 21:28:22 -05:00
ozlb 9df6f22555
IsPlotXAxisHovered, IsPlotYAxisHovered
Returns true if the XAxis plot area or YAxis[n] plot area in the current or most recent plot is hovered.
2020-07-14 23:43:57 +02:00
ozlb 140dd2bd8a
IsPlotItemHighlight
Returns true if plot item is highlight
2020-07-13 06:44:51 +02:00
Evan Pezent 8d205530cd Merge branch 'master' of https://github.com/epezent/implot 2020-06-15 21:00:45 -05:00
Evan Pezent 70a044ee17 improve mouse pos label precision 2020-06-15 21:00:42 -05:00
Evan Pezent c6ad6e9c7f clean up and debug input mappings 2020-06-15 19:54:58 -05:00
Evan Pezent 676ea011b8 Merge branch 'work-input-remap' of https://github.com/JaapSuter/implot into JaapSuter-work-input-remap 2020-06-15 17:08:47 -05:00
Evan Pezent 4bb00c71da typo in header 2020-06-15 17:08:42 -05:00
Jaap Suter ce79420146 Switched from in-class initialization to setting the default input mapping in a constructor in the .cpp file. 2020-06-15 09:55:30 -07:00
Jaap Suter f02088fef1 Changed from SetInputMap(ImPlotInputMap) to ImPlotInputMap& GetInputMap() per Evan's suggestion. 2020-06-15 08:54:53 -07:00
Evan Pezent 07aed7d079 general reorginzation to plot item rendering 2020-06-14 08:27:58 -05:00
Evan Pezent e2fd883224 remove adaptive divisions flag, not really used 2020-06-13 13:25:38 -05:00
Evan Pezent 1934bdfd47 remove culling flag, enabled by default now 2020-06-13 13:18:29 -05:00
Evan Pezent 808856dcc3 shaded plots complete 2020-06-13 12:59:48 -05:00
Evan Pezent fee873d74a shaded plots complete 2020-06-13 12:42:47 -05:00
Evan Pezent 61bc4d1426 working prototype for shaded plots 2020-06-12 22:02:43 -05:00
Jaap Suter 7f4f3ecd21 Added prototype/rough-attempt to allow remapping input (mouse-buttons/modifiers-keys). 2020-06-10 13:50:00 -07:00
Evan Pezent 0b3617668b tidy up error bars h, add sliders for misc styling variables to demo 2020-06-08 20:26:15 -05:00
Adriano Parisi 1d11b1a1a3 Refactored to only draw the horizontal bars, updated demo 2020-06-08 20:45:31 +01:00