ref: d950805993bd263e7d2bdb1288260763616df57c
parent: 5811e042319450a2dd86641c64e39fec8dac7280
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Feb 20 18:38:04 EST 2016
replace 9balls with tuttle glenda icon
binary files a/9ball.ico /dev/null differ
binary files a/9ball.png /dev/null differ
--- a/9ball.rc
+++ /dev/null
@@ -1,1 +1,0 @@
-IDI_ICON1 ICON DISCARDABLE "9ball.ico"
--- a/Make.win32
+++ b/Make.win32
@@ -19,7 +19,7 @@
LDFLAGS=-mwindows
LDADD=-lkernel32 -ladvapi32 -lgdi32 -lmpr -lwsock32 -lmsvcrt -lmingw32
TARG=drawterm.exe
-XOFILES=9ball.$O
+XOFILES=glenda-t.$O
# Windows via MSVC
#AR=???
@@ -37,6 +37,6 @@
libmachdep.a:
(cd win32-386; make)
-9ball.$O: 9ball.rc 9ball.ico
- $(WINDRES) -i 9ball.rc -o 9ball.o
+glenda-t.$O: glenda-t.rc glenda-t.ico
+ $(WINDRES) -i glenda-t.rc -o glenda-t.o
binary files a/drawterm.ico /dev/null differ
--- a/drawterm.rc
+++ b/drawterm.rc
@@ -28,7 +28,7 @@
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
-IDI_ICON1 ICON DISCARDABLE "drawterm.ico"
+IDI_ICON1 ICON DISCARDABLE "glenda-t.ico"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
binary files /dev/null b/glenda-t.ico differ
--- /dev/null
+++ b/glenda-t.rc
@@ -1,0 +1,1 @@
+101 ICON DISCARDABLE "glenda-t.ico"
--- a/gui-win32/screen.c
+++ b/gui-win32/screen.c
@@ -186,7 +186,7 @@
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = inst;
- wc.hIcon = LoadIcon(inst, NULL);
+ wc.hIcon = LoadIcon(inst, MAKEINTRESOURCE(101));
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.hbrBackground = GetStockObject(WHITE_BRUSH);
wc.lpszMenuName = 0;