mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-23 04:17:00 +00:00
Comments and missing forward declaration
This commit is contained in:
parent
8afbdd1ade
commit
7bcebdc207
3
imgui.h
3
imgui.h
@ -41,6 +41,7 @@ struct ImDrawList;
|
|||||||
struct ImDrawData;
|
struct ImDrawData;
|
||||||
struct ImFont;
|
struct ImFont;
|
||||||
struct ImFontAtlas;
|
struct ImFontAtlas;
|
||||||
|
struct ImColor;
|
||||||
struct ImGuiIO;
|
struct ImGuiIO;
|
||||||
struct ImGuiStorage;
|
struct ImGuiStorage;
|
||||||
struct ImGuiStyle;
|
struct ImGuiStyle;
|
||||||
@ -257,7 +258,7 @@ namespace ImGui
|
|||||||
IMGUI_API bool ColorButton(const ImVec4& col, bool small_height = false, bool outline_border = true);
|
IMGUI_API bool ColorButton(const ImVec4& col, bool small_height = false, bool outline_border = true);
|
||||||
IMGUI_API bool ColorEdit3(const char* label, float col[3]);
|
IMGUI_API bool ColorEdit3(const char* label, float col[3]);
|
||||||
IMGUI_API bool ColorEdit4(const char* label, float col[4], bool show_alpha = true);
|
IMGUI_API bool ColorEdit4(const char* label, float col[4], bool show_alpha = true);
|
||||||
IMGUI_API void ColorEditMode(ImGuiColorEditMode mode);
|
IMGUI_API void ColorEditMode(ImGuiColorEditMode mode); // FIXME-OBSOLETE: This is inconsistent with most of the API and should be obsoleted.
|
||||||
IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0), int stride = sizeof(float));
|
IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0), int stride = sizeof(float));
|
||||||
IMGUI_API void PlotLines(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0));
|
IMGUI_API void PlotLines(const char* label, float (*values_getter)(void* data, int idx), void* data, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0));
|
||||||
IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0), int stride = sizeof(float));
|
IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, int values_offset = 0, const char* overlay_text = NULL, float scale_min = FLT_MAX, float scale_max = FLT_MAX, ImVec2 graph_size = ImVec2(0,0), int stride = sizeof(float));
|
||||||
|
Loading…
Reference in New Issue
Block a user