Browse Source

update qt resources

pull/26/head
R4SAS 7 years ago
parent
commit
0ef43a99d9
  1. 4
      gostcoin-qt.pro
  2. 12
      share/qt/Info.plist
  3. 2
      src/makefile.mingw
  4. 6
      src/qt/bitcoingui.cpp
  5. 2
      src/qt/gostcoin.cpp
  6. 3
      src/qt/gostcoin.qrc
  7. 2
      src/qt/res/gostcoin-qt.rc
  8. BIN
      src/qt/res/icons/anoncoin.icns
  9. BIN
      src/qt/res/icons/bitcoin_testnet.png
  10. BIN
      src/qt/res/icons/gostcoin.icns
  11. BIN
      src/qt/res/icons/gostcoin_testnet.ico
  12. BIN
      src/qt/res/icons/gostcoin_testnet.png
  13. BIN
      src/qt/res/icons/i2plogo_wbw_0_16.png
  14. BIN
      src/qt/res/icons/i2plogo_wbw_1_16.png
  15. BIN
      src/qt/res/icons/i2plogo_wbw_2_16.png
  16. BIN
      src/qt/res/icons/i2plogo_wbw_3_16.png
  17. BIN
      src/qt/res/icons/i2plogo_wbw_4_16.png
  18. BIN
      src/qt/res/icons/litecoin.icns
  19. BIN
      src/qt/res/icons/toolbar_testnet.png
  20. BIN
      src/qt/res/images/about.png
  21. BIN
      src/qt/res/images/splash_testnet.png
  22. 2
      src/resources.rc

4
gostcoin-qt.pro

@ -319,7 +319,7 @@ SOURCES += src/qt/test/test_main.cpp \
HEADERS += src/qt/test/uritests.h HEADERS += src/qt/test/uritests.h
DEPENDPATH += src/qt/test DEPENDPATH += src/qt/test
QT += testlib QT += testlib
TARGET = anoncoin-qt_test TARGET = gostcoin-qt_test
DEFINES += BITCOIN_QT_TEST DEFINES += BITCOIN_QT_TEST
macx: CONFIG -= app_bundle macx: CONFIG -= app_bundle
} }
@ -423,7 +423,7 @@ macx:HEADERS += src/qt/macdockiconhandler.h src/qt/macnotificationhandler.h
macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm src/qt/macnotificationhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit -framework CoreServices
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0 macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/anoncoin.icns macx:ICON = src/qt/res/icons/gostcoin.icns
macx:QMAKE_CFLAGS_THREAD += -pthread macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread macx:QMAKE_CXXFLAGS_THREAD += -pthread

12
share/qt/Info.plist

@ -3,11 +3,11 @@
<plist version="0.9"> <plist version="0.9">
<dict> <dict>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>anoncoin.icns</string> <string>gostcoin.icns</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>$VERSION, Copyright © 2009-$YEAR The Bitcoin developers</string> <string>$VERSION, Copyright © 2009-$YEAR The Bitcoin developers, 2011-$YEAR The Litecoin developers, 2013-$YEAR The Anoncoin developers, 2017-$YEAR The Gostcoin developers</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>$VERSION</string> <string>$VERSION</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
@ -15,19 +15,19 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Anoncoin-Qt</string> <string>Gostcoin-Qt</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>net.anoncoin.Anoncoin-Qt</string> <string>org.purplei2p.Gostcoin-Qt</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Editor</string> <string>Editor</string>
<key>CFBundleURLName</key> <key>CFBundleURLName</key>
<string>net.anoncoin.AnoncoinPayment</string> <string>org.purplei2p.GostcoinPayment</string>
<key>CFBundleURLSchemes</key> <key>CFBundleURLSchemes</key>
<array> <array>
<string>anoncoin</string> <string>gostcoin</string>
</array> </array>
</dict> </dict>
</array> </array>

2
src/makefile.mingw

@ -17,7 +17,7 @@
CXX ?= g++ CXX ?= g++
USE_IPV6:=1 USE_IPV6:=0
USE_DEBUG:=0 USE_DEBUG:=0
DEPSDIR?=/usr/local DEPSDIR?=/usr/local

6
src/qt/bitcoingui.cpp

@ -315,10 +315,10 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
{ {
setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]")); setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]"));
#ifndef Q_OS_MAC #ifndef Q_OS_MAC
QApplication::setWindowIcon(QIcon(":icons/bitcoin_testnet")); QApplication::setWindowIcon(QIcon(":icons/gostcoin_testnet"));
setWindowIcon(QIcon(":icons/bitcoin_testnet")); setWindowIcon(QIcon(":icons/gostcoin_testnet"));
#else #else
MacDockIconHandler::instance()->setIcon(QIcon(":icons/bitcoin_testnet")); MacDockIconHandler::instance()->setIcon(QIcon(":icons/gostcoin_testnet"));
#endif #endif
if(trayIcon) if(trayIcon)
{ {

2
src/qt/gostcoin.cpp

@ -272,7 +272,7 @@ int main(int argc, char *argv[])
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
// on mac, also change the icon now because it would look strange to have a testnet splash (green) and a std app icon (orange) // on mac, also change the icon now because it would look strange to have a testnet splash (green) and a std app icon (orange)
if(GetBoolArg("-testnet")) { if(GetBoolArg("-testnet")) {
MacDockIconHandler::instance()->setIcon(QIcon(":icons/bitcoin_testnet")); MacDockIconHandler::instance()->setIcon(QIcon(":icons/gostcoin_testnet"));
} }
#endif #endif

3
src/qt/gostcoin.qrc

@ -22,7 +22,7 @@
<file alias="editpaste">res/icons/editpaste.png</file> <file alias="editpaste">res/icons/editpaste.png</file>
<file alias="editcopy">res/icons/editcopy.png</file> <file alias="editcopy">res/icons/editcopy.png</file>
<file alias="add">res/icons/add.png</file> <file alias="add">res/icons/add.png</file>
<file alias="bitcoin_testnet">res/icons/bitcoin_testnet.png</file> <file alias="gostcoin_testnet">res/icons/gostcoin_testnet.png</file>
<file alias="toolbar_testnet">res/icons/toolbar_testnet.png</file> <file alias="toolbar_testnet">res/icons/toolbar_testnet.png</file>
<file alias="edit">res/icons/edit.png</file> <file alias="edit">res/icons/edit.png</file>
<file alias="history">res/icons/history.png</file> <file alias="history">res/icons/history.png</file>
@ -42,7 +42,6 @@
<file alias="debugwindow">res/icons/debugwindow.png</file> <file alias="debugwindow">res/icons/debugwindow.png</file>
</qresource> </qresource>
<qresource prefix="/images"> <qresource prefix="/images">
<file alias="about">res/images/about.png</file>
<file alias="splash">res/images/splash.png</file> <file alias="splash">res/images/splash.png</file>
<file alias="mask">res/images/mask.png</file> <file alias="mask">res/images/mask.png</file>
<file alias="splash_testnet">res/images/splash_testnet.png</file> <file alias="splash_testnet">res/images/splash_testnet.png</file>

2
src/qt/res/gostcoin-qt.rc

@ -8,7 +8,7 @@ IDI_ICON2 ICON DISCARDABLE "icons/gostcoin_testnet.ico"
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD) #define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
#define VER_FILEVERSION VER_PRODUCTVERSION #define VER_FILEVERSION VER_PRODUCTVERSION
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers 2011-" STRINGIZE(COPYRIGHT_YEAR) " The Litecoin developers 2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin developers 2013-" STRINGIZE(COPYRIGHT_YEAR) " The i2pd developers " STRINGIZE(COPYRIGHT_YEAR) " The Gostcoin developers" #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers, 2011-" STRINGIZE(COPYRIGHT_YEAR) " The Litecoin developers, 2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin developers, 2013-" STRINGIZE(COPYRIGHT_YEAR) " The i2pd developers, " STRINGIZE(COPYRIGHT_YEAR) " The Gostcoin developers"
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION FILEVERSION VER_FILEVERSION

BIN
src/qt/res/icons/anoncoin.icns

Binary file not shown.

BIN
src/qt/res/icons/bitcoin_testnet.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

BIN
src/qt/res/icons/gostcoin.icns

Binary file not shown.

BIN
src/qt/res/icons/gostcoin_testnet.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 215 KiB

BIN
src/qt/res/icons/gostcoin_testnet.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

BIN
src/qt/res/icons/i2plogo_wbw_0_16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

BIN
src/qt/res/icons/i2plogo_wbw_1_16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

BIN
src/qt/res/icons/i2plogo_wbw_2_16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

BIN
src/qt/res/icons/i2plogo_wbw_3_16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

BIN
src/qt/res/icons/i2plogo_wbw_4_16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
src/qt/res/icons/litecoin.icns

Binary file not shown.

BIN
src/qt/res/icons/toolbar_testnet.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 900 B

After

Width:  |  Height:  |  Size: 874 B

BIN
src/qt/res/images/about.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

BIN
src/qt/res/images/splash_testnet.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 KiB

After

Width:  |  Height:  |  Size: 204 KiB

2
src/resources.rc

@ -8,7 +8,7 @@ IDI_ICON2 ICON DISCARDABLE "qt/res/icons/gostcoin_testnet.ico"
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD) #define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
#define VER_FILEVERSION VER_PRODUCTVERSION #define VER_FILEVERSION VER_PRODUCTVERSION
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR #define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers 2011-" STRINGIZE(COPYRIGHT_YEAR) " The Litecoin developers 2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin developers 2013-" STRINGIZE(COPYRIGHT_YEAR) " The i2pd developers " STRINGIZE(COPYRIGHT_YEAR) " The Gostcoin developers" #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers, 2011-" STRINGIZE(COPYRIGHT_YEAR) " The Litecoin developers, 2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin developers, 2013-" STRINGIZE(COPYRIGHT_YEAR) " The i2pd developers, " STRINGIZE(COPYRIGHT_YEAR) " The Gostcoin developers"
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION FILEVERSION VER_FILEVERSION

Loading…
Cancel
Save