Add icon and resource files for windows
Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
This commit is contained in:
parent
3b5f2608ec
commit
a5a648ac86
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"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include "resource.h"
|
||||
#elif __LINUX__
|
||||
#include "icon.png.xxd"
|
||||
#endif
|
||||
|
||||
static void
|
||||
rgssThreadError(RGSSThreadData *rtData, const std::string &msg)
|
||||
|
|
Loading…
Add table
Reference in a new issue