Added stub for obsolete GetDefaultFontData() to help the user upgrading

This commit is contained in:
ocornut
2015-01-18 15:12:41 +00:00
parent a1c0c0e298
commit 56ac857cac
2 changed files with 17 additions and 3 deletions

View File

@ -320,6 +320,9 @@ namespace ImGui
IMGUI_API const char* GetStyleColName(ImGuiCol idx);
IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text_after_double_hash = false, float wrap_width = -1.0f);
// Obsolete (will be removed)
IMGUI_API void GetDefaultFontData(const void** fnt_data, unsigned int* fnt_size, const void** png_data, unsigned int* png_size);
} // namespace ImGui
// Flags for ImGui::Begin()