AnimTestbed/3rdparty/imgui-node-editor/examples/blueprints-example/utilities/drawing.h

12 lines
324 B
C
Raw Permalink Normal View History

# pragma once
# include <imgui.h>
namespace ax {
namespace Drawing {
enum class IconType: ImU32 { Flow, Circle, Square, Grid, RoundSquare, Diamond };
void DrawIcon(ImDrawList* drawList, const ImVec2& a, const ImVec2& b, IconType type, bool filled, ImU32 color, ImU32 innerColor);
} // namespace Drawing
} // namespace ax