mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
This commit is contained in:
		
							
								
								
									
										4
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -45,6 +45,8 @@ Index of this file: | ||||
| #include "imconfig.h" | ||||
| #endif | ||||
|  | ||||
| #ifndef IMGUI_DISABLE | ||||
|  | ||||
| //----------------------------------------------------------------------------- | ||||
| // Header mess | ||||
| //----------------------------------------------------------------------------- | ||||
| @@ -2275,3 +2277,5 @@ struct ImFont | ||||
| #ifdef IMGUI_INCLUDE_IMGUI_USER_H | ||||
| #include "imgui_user.h" | ||||
| #endif | ||||
|  | ||||
| #endif // #ifndef IMGUI_DISABLE | ||||
|   | ||||
		Reference in New Issue
	
	Block a user