mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Internal: BeginTooltipEx() in imgui_internal.h
This commit is contained in:
		| @@ -3536,7 +3536,7 @@ static ImRect GetVisibleRect() | |||||||
| } | } | ||||||
|  |  | ||||||
| // Not exposed publicly as BeginTooltip() because bool parameters are evil. Let's see if other needs arise first. | // Not exposed publicly as BeginTooltip() because bool parameters are evil. Let's see if other needs arise first. | ||||||
| static void BeginTooltipEx(ImGuiWindowFlags extra_flags, bool override_previous_tooltip) | void ImGui::BeginTooltipEx(ImGuiWindowFlags extra_flags, bool override_previous_tooltip) | ||||||
| { | { | ||||||
|     ImGuiContext& g = *GImGui; |     ImGuiContext& g = *GImGui; | ||||||
|     char window_name[16]; |     char window_name[16]; | ||||||
|   | |||||||
| @@ -802,6 +802,7 @@ namespace ImGui | |||||||
|     IMGUI_API void          ClosePopup(ImGuiID id); |     IMGUI_API void          ClosePopup(ImGuiID id); | ||||||
|     IMGUI_API bool          IsPopupOpen(ImGuiID id); |     IMGUI_API bool          IsPopupOpen(ImGuiID id); | ||||||
|     IMGUI_API bool          BeginPopupEx(ImGuiID id, ImGuiWindowFlags extra_flags); |     IMGUI_API bool          BeginPopupEx(ImGuiID id, ImGuiWindowFlags extra_flags); | ||||||
|  |     IMGUI_API void          BeginTooltipEx(ImGuiWindowFlags extra_flags, bool override_previous_tooltip = true); | ||||||
|  |  | ||||||
|     IMGUI_API int           CalcTypematicPressedRepeatAmount(float t, float t_prev, float repeat_delay, float repeat_rate); |     IMGUI_API int           CalcTypematicPressedRepeatAmount(float t, float t_prev, float repeat_delay, float repeat_rate); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user