Add icon and resource files for windows
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
This commit is contained in:
		
							parent
							
								
									0f9b5f274a
								
							
						
					
					
						commit
						60e967e3b7
					
				
					 4 changed files with 9 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								assets/icon.ico
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/icon.ico
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 17 KiB  | 
							
								
								
									
										1
									
								
								assets/resource.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								assets/resource.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					#define IDI_APPICON 101
 | 
				
			||||||
							
								
								
									
										4
									
								
								assets/resource.rc
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								assets/resource.rc
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,4 @@
 | 
				
			||||||
 | 
					#include <windows.h>
 | 
				
			||||||
 | 
					#include "resource.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					IDI_APPICON ICON "icon.ico"
 | 
				
			||||||
| 
						 | 
					@ -40,7 +40,11 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "binding.h"
 | 
					#include "binding.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __WINDOWS__
 | 
				
			||||||
 | 
					#include "resource.h"
 | 
				
			||||||
 | 
					#elif __LINUX__
 | 
				
			||||||
#include "icon.png.xxd"
 | 
					#include "icon.png.xxd"
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
rgssThreadError(RGSSThreadData *rtData, const std::string &msg)
 | 
					rgssThreadError(RGSSThreadData *rtData, const std::string &msg)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue