mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	WIP Menus: tidying up, fixed hovering in parent popup menu item from child popup (individual popups acts as hovering barrier) (#126)
This commit is contained in:
		
							
								
								
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -232,7 +232,7 @@ namespace ImGui | ||||
|     IMGUI_API void          EndTooltip(); | ||||
|  | ||||
|     // Popup | ||||
|     IMGUI_API void          OpenPopup(const char* str_id);                                      // mark popup as open. will close when user click outside, or activate menu items, or CloseCurrentPopup() is called within a BeginPopup/EndPopup block. | ||||
|     IMGUI_API void          OpenPopup(const char* str_id);                                      // mark popup as open. close childs popups if any. will close popup when user click outside, or activate menu items, or CloseCurrentPopup() is called within a BeginPopup/EndPopup block. | ||||
|     IMGUI_API bool          BeginPopup(const char* str_id);                                     // return true if popup if opened and start outputting to it. only call EndPopup() if BeginPopup() returned true! | ||||
|     IMGUI_API void          EndPopup(); | ||||
|     IMGUI_API void          CloseCurrentPopup(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user