mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
Generate bitcoin_testnet.ico using ImageMagick
This commit is contained in:
parent
4d071b0758
commit
5c99e10e7f
@ -1112,6 +1112,7 @@ RES_RENDERED_ICON_SRC = qt/res/src/bitcoin.svg
|
|||||||
|
|
||||||
RES_RENDERED_ICONS = \
|
RES_RENDERED_ICONS = \
|
||||||
qt/res/rendered_icons/bitcoin.ico \
|
qt/res/rendered_icons/bitcoin.ico \
|
||||||
|
qt/res/rendered_icons/bitcoin_testnet.ico \
|
||||||
qt/res/rendered_icons/bitcoin1024.png
|
qt/res/rendered_icons/bitcoin1024.png
|
||||||
|
|
||||||
RES_ALL_RENDERED_ICONS = $(RES_RENDERED_ICONS) \
|
RES_ALL_RENDERED_ICONS = $(RES_RENDERED_ICONS) \
|
||||||
@ -1137,6 +1138,9 @@ qt/res/rendered_icons/bitcoin.icns: $(patsubst %,qt/res/rendered_icons/bitcoin%.
|
|||||||
qt/res/rendered_icons/bitcoin.ico: qt/res/rendered_icons/bitcoin32d8.gif $(patsubst %,qt/res/rendered_icons/bitcoin%.png,256 64 48 32 20 16)
|
qt/res/rendered_icons/bitcoin.ico: qt/res/rendered_icons/bitcoin32d8.gif $(patsubst %,qt/res/rendered_icons/bitcoin%.png,256 64 48 32 20 16)
|
||||||
$(IMAGEMAGICK_CONVERT) $^ $@
|
$(IMAGEMAGICK_CONVERT) $^ $@
|
||||||
|
|
||||||
|
qt/res/rendered_icons/bitcoin_testnet.ico: qt/res/rendered_icons/bitcoin.ico
|
||||||
|
$(IMAGEMAGICK_CONVERT) $^ -modulate 100,87,9 $@
|
||||||
|
|
||||||
qt/res/rendered_icons/nsis-wizard.bmp: qt/res/rendered_icons/bitcoin290.png
|
qt/res/rendered_icons/nsis-wizard.bmp: qt/res/rendered_icons/bitcoin290.png
|
||||||
$(IMAGEMAGICK_CONVERT) $^ -crop 164x290+62+0 -border 0x12 -strip BMP3:$@
|
$(IMAGEMAGICK_CONVERT) $^ -crop 164x290+62+0 -border 0x12 -strip BMP3:$@
|
||||||
|
|
||||||
|
@ -175,7 +175,6 @@ QT_RES_FONTS = \
|
|||||||
QT_RES_ICONS = $(RES_RENDERED_ICONS) \
|
QT_RES_ICONS = $(RES_RENDERED_ICONS) \
|
||||||
qt/res/icons/add.png \
|
qt/res/icons/add.png \
|
||||||
qt/res/icons/address-book.png \
|
qt/res/icons/address-book.png \
|
||||||
qt/res/icons/bitcoin_testnet.ico \
|
|
||||||
qt/res/icons/chevron.png \
|
qt/res/icons/chevron.png \
|
||||||
qt/res/icons/clock1.png \
|
qt/res/icons/clock1.png \
|
||||||
qt/res/icons/clock2.png \
|
qt/res/icons/clock2.png \
|
||||||
@ -291,7 +290,7 @@ QT_RES_ANIMATION = $(wildcard $(srcdir)/qt/res/animation/spinner-*.png)
|
|||||||
|
|
||||||
BITCOIN_QT_RC = qt/res/bitcoin-qt-res.rc
|
BITCOIN_QT_RC = qt/res/bitcoin-qt-res.rc
|
||||||
|
|
||||||
$(BITCOIN_RC): qt/res/rendered_icons/bitcoin.ico
|
$(BITCOIN_RC): qt/res/rendered_icons/bitcoin.ico qt/res/rendered_icons/bitcoin_testnet.ico
|
||||||
|
|
||||||
BITCOIN_QT_INCLUDES = -DQT_NO_KEYWORDS -DQT_USE_QSTRINGBUILDER
|
BITCOIN_QT_INCLUDES = -DQT_NO_KEYWORDS -DQT_USE_QSTRINGBUILDER
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
IDI_ICON1 ICON DISCARDABLE "rendered_icons/bitcoin.ico"
|
IDI_ICON1 ICON DISCARDABLE "rendered_icons/bitcoin.ico"
|
||||||
IDI_ICON2 ICON DISCARDABLE "icons/bitcoin_testnet.ico"
|
IDI_ICON2 ICON DISCARDABLE "rendered_icons/bitcoin_testnet.ico"
|
||||||
|
|
||||||
#include <windows.h> // needed for VERSIONINFO
|
#include <windows.h> // needed for VERSIONINFO
|
||||||
#include "../../clientversion.h" // holds the needed client version information
|
#include "../../clientversion.h" // holds the needed client version information
|
||||||
|
Loading…
Reference in New Issue
Block a user