ref: a31998f01c0a6d5e2c6df6893284aaec3629aab7
parent: 7aabc36f46dd1f772cae3b7aa191e062b30aea16
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Wed Oct 18 11:33:26 EDT 2017
added faac icon image
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -4,7 +4,7 @@
dist_man_MANS = ../docs/faac.1
faac_SOURCES = main.c input.c mp4write.c input.h mp4write.h
-EXTRA_faac_SOURCES = getopt.c faacgui.rc
+EXTRA_faac_SOURCES = getopt.c faacgui.rc icon.rc faac.ico
AM_CPPFLAGS = -I$(top_srcdir)/include
faac_LDADD = $(top_builddir)/libfaac/libfaac.la -lm
@@ -12,10 +12,12 @@
if MINGW
bin_PROGRAMS += faacgui
faacgui_SOURCES = maingui.c input.c input.h resource.h
+faac_LDADD += -lws2_32 icon.o
faacgui_LDADD = $(faac_LDADD) faacguires.o -lcomdlg32
-faac_LDADD += -lws2_32
faacguires.o:
$(WINDRES) faacgui.rc faacguires.o
+icon.o:
+ $(WINDRES) icon.rc icon.o
endif
endif # !USE_DRM
binary files /dev/null b/frontend/faac.ico differ
--- /dev/null
+++ b/frontend/icon.rc
@@ -1,0 +1,3 @@
+#include "resource.h"
+
+ID_ICON1 ICON "faac.ico"
--- a/frontend/resource.h
+++ b/frontend/resource.h
@@ -2,6 +2,7 @@
// Microsoft Developer Studio generated include file.
// Used by faacgui.rc
//
+#define ID_ICON1 200
#define IDD_MAINDIALOG 102
#define IDC_INPUTFILENAME 1000
#define IDC_SELECT_INPUTFILE 1001