mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	WIP Menus: Added Enabled/Disabled option for MenuItem() (#126)
This commit is contained in:
		
							
								
								
									
										4
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -306,8 +306,8 @@ namespace ImGui | ||||
|     IMGUI_API void          EndMenuBar(); | ||||
|     IMGUI_API bool          BeginMenu(const char* label); | ||||
|     IMGUI_API void          EndMenu(); | ||||
|     IMGUI_API bool          MenuItem(const char* label, const char* shortcut = NULL, bool selected = false); // bool enabled = true | ||||
|     IMGUI_API bool          MenuItem(const char* label, const char* shortcut, bool* p_selected); // bool enabled = true | ||||
|     IMGUI_API bool          MenuItem(const char* label, const char* shortcut = NULL, bool selected = false, bool enabled = true); | ||||
|     IMGUI_API bool          MenuItem(const char* label, const char* shortcut, bool* p_selected, bool enabled = true); | ||||
|  | ||||
|     // Widgets: Value() Helpers. Output single value in "name: value" format (tip: freely declare your own within the ImGui namespace!) | ||||
|     IMGUI_API void          Value(const char* prefix, bool b); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user