| 
									
										
										
										
											2019-02-07 21:31:30 +08:00
										 |  |  | //-----------------------------------------------------------------------------
 | 
					
						
							|  |  |  | // Compile-time options for Easy2D
 | 
					
						
							|  |  |  | //-----------------------------------------------------------------------------
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //---- Define assertion handler. Defaults to calling assert()
 | 
					
						
							|  |  |  | //#define E2D_ASSERT(EXPR)  MyAssert(EXPR)
 | 
					
						
							|  |  |  | //#define E2D_ASSERT(EXPR)  __noop            // Disable asserts
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //---- Define debug-output handler. Defaults to calling easy2d::logs::Messageln()/Warningln()/Errorln()
 | 
					
						
							|  |  |  | //#define E2D_LOG(FORMAT, ...)              wprintf(FORMAT L"\n", __VA_ARGS__)
 | 
					
						
							|  |  |  | //#define E2D_WARNING_LOG(FORMAT, ...)      wprintf(FORMAT L"\n", __VA_ARGS__)
 | 
					
						
							|  |  |  | //#define E2D_ERROR_LOG(FORMAT, ...)        wprintf(FORMAT L"\n", __VA_ARGS__)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-09 00:03:24 +08:00
										 |  |  | //---- Define attributes of all API symbols declarations for DLL
 | 
					
						
							|  |  |  | //#define E2D_API __declspec( dllexport )
 | 
					
						
							|  |  |  | //#define E2D_API __declspec( dllimport )
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-10 19:44:28 +08:00
										 |  |  | //---- Define DirectX version. Defaults to using Direct3D11
 | 
					
						
							|  |  |  | //#define E2D_USE_DIRECTX10
 |