mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Comments about parts of imgui_internal.h that will self-destruct.
This commit is contained in:
		| @@ -736,9 +736,8 @@ namespace ImGui | ||||
|  | ||||
|     IMGUI_API void          OpenPopupEx(const char* str_id, bool reopen_existing); | ||||
|  | ||||
|     // NB: All position are in absolute pixels coordinates (not window coordinates) | ||||
|     // FIXME: All those functions are a mess and needs to be refactored into something decent. AVOID USING OUTSIDE OF IMGUI.CPP! NOT FOR PUBLIC CONSUMPTION. | ||||
|     // We need: a sort of symbol library, preferably baked into font atlas when possible + decent text rendering helpers. | ||||
|     // NB: All position are in absolute pixels coordinates (never using window coordinates internally) | ||||
|     // AVOID USING OUTSIDE OF IMGUI.CPP! NOT FOR PUBLIC CONSUMPTION. THOSE FUNCTIONS ARE A MESS. THEIR SIGNATURE AND BEHAVIOR WILL CHANGE, THEY NEED TO BE REFACTORED INTO SOMETHING DECENT. | ||||
|     IMGUI_API void          RenderText(ImVec2 pos, const char* text, const char* text_end = NULL, bool hide_text_after_hash = true); | ||||
|     IMGUI_API void          RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width); | ||||
|     IMGUI_API void          RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align = ImVec2(0,0), const ImRect* clip_rect = NULL); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user