Skip to content

Commit 6eec2b7

Browse files
committed
more fixup need more stuff
1 parent 1e130ea commit 6eec2b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

implot_items.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,6 @@ struct RendererRectC : RendererBase {
13511351
mutable ImVec2 UV;
13521352
};
13531353

1354-
//WIP
13551354
template <typename TGetter1, typename TGetter2, typename TTransformer>
13561355
struct ShadedClipRenderer {
13571356
ShadedClipRenderer(const TGetter1& getter1, const TGetter2& getter2, const TTransformer& transformer, ImU32 col) :
@@ -1851,13 +1850,13 @@ void PlotShaded(const char* label_id, const T* xs, const T* ys1, const T* ys2, i
18511850
CALL_INSTANTIATE_FOR_NUMERIC_TYPES()
18521851
#undef INSTANTIATE_MACRO
18531852

1854-
// custom
18551853
void PlotShadedG(const char* label_id, ImPlotGetter getter_func1, void* data1, ImPlotGetter getter_func2, void* data2, int count, ImPlotShadedFlags flags) {
18561854
GetterFuncPtr getter1(getter_func1, data1, count);
18571855
GetterFuncPtr getter2(getter_func2, data2, count);
18581856
PlotShadedEx(label_id, getter1, getter2, flags);
18591857
}
18601858

1859+
//-----------------------------------------------------------------------------
18611860
// [SECTION] PlotShadedClip
18621861
//-----------------------------------------------------------------------------
18631862

@@ -1912,6 +1911,7 @@ void PlotShadedClipG(const char* label_id, ImPlotPoint (*g1)(void* data, int idx
19121911
PlotShadedClipEx(label_id, getter1, getter2);
19131912
}
19141913

1914+
//-----------------------------------------------------------------------------
19151915
// [SECTION] PlotBars
19161916
//-----------------------------------------------------------------------------
19171917

0 commit comments

Comments
 (0)