From 5eec1b59310a15202496251a2f86090f88a057db Mon Sep 17 00:00:00 2001 From: lordmulder Date: Thu, 24 Mar 2011 01:01:14 +0100 Subject: [PATCH] New icons for the "Update" dialog. --- gui/UpdateDialog.ui | 4 +++- res/Icons.qrc | 3 +++ res/icons/shield_admin.png | Bin 0 -> 861 bytes res/icons/shield_exclamation.png | Bin 0 -> 3478 bytes res/icons/shield_green.png | Bin 0 -> 3481 bytes src/Config.h | 2 +- src/Dialog_Update.cpp | 8 ++++---- 7 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 res/icons/shield_admin.png create mode 100644 res/icons/shield_exclamation.png create mode 100644 res/icons/shield_green.png diff --git a/gui/UpdateDialog.ui b/gui/UpdateDialog.ui index 5e01a3f3..a44681dd 100644 --- a/gui/UpdateDialog.ui +++ b/gui/UpdateDialog.ui @@ -483,7 +483,7 @@ - :/icons/accept.png:/icons/accept.png + :/icons/shield_admin.png:/icons/shield_admin.png @@ -585,6 +585,8 @@ + + diff --git a/res/Icons.qrc b/res/Icons.qrc index 2a5b16b1..762d87ef 100644 --- a/res/Icons.qrc +++ b/res/Icons.qrc @@ -69,6 +69,9 @@ icons/script.png icons/script_edit.png icons/server_error.png + icons/shield_admin.png + icons/shield_exclamation.png + icons/shield_green.png icons/sound.png icons/star.png icons/table_edit.png diff --git a/res/icons/shield_admin.png b/res/icons/shield_admin.png new file mode 100644 index 0000000000000000000000000000000000000000..e3b82d5efde08d909f432bceb5b07582d7f9b065 GIT binary patch literal 861 zcmV-j1ETziP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BKeVQFr3E>1;MAa*k@H7+$tiu~XJ00PZPL_t(IPlc0RNRv?*$GZ!<2+fPUD3{Cp z#xDHG3r&LxvVI|^PJ~A=fHs^ACJe&R45cq^qmTPxiX0W*?}jsp$&IXzb|d2-vyTxLm8RI8a9^}exXf>>%KsgI$ zFatY_9L&5wjj6YnV6|GKR7*Te0w9%2z2u7@f8a;`pdYQqb=(+QMNZo^7DkH^4e}8W zmB2TV2SZOe=&@un+2Y>-AHy*5BW?4jA6`LCe-K3~28F_}SkmSrzEX!+@Frpb4!-o1 zCIv9G0t(1hGsx`pqOjS5+y))|lU%HR%ff~=7vG)vFuW+<1(2%$R3MQ^>^`3_c35Ho zr_~OQSPw355?Q<{ERS)qtjWfrCJ)}>Y#5)GQ9zV>5=Rh=#m^lMN2FI-fMxv|Y`D+v z#^zilQbkT261b2ea)Wbs9u@pgAUDMl&+7z0C=@nmwc0KFt7?Sw6<`-GgAHB8)_fIG z#cmvwt|R?Ei;O3m$hl|1$jC^5cz6i_84j*Wr6QHNqMpGru-^l@>JodY!3Oo+bDb(#yP1D zPN$OYI4fMWA{4^L0G;@IN{r5#u0cq+f n(vuG)<0^>_^50Jzoy`0jpMCo6+vFGy00000NkvXXu0mjfM>K^| literal 0 HcmV?d00001 diff --git a/res/icons/shield_exclamation.png b/res/icons/shield_exclamation.png new file mode 100644 index 0000000000000000000000000000000000000000..e99eae1ceffe749a88c3422ec48199b3adaa2921 GIT binary patch literal 3478 zcmV;H4QcX;P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=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png new file mode 100644 index 0000000000000000000000000000000000000000..914473b3f6b2f10659c6a6fc5664858645ac6de1 GIT binary patch literal 3481 zcmV;K4QBF*P)004&%004{+008|`004nN004b?008NW002DY000@xb3BE2000U( zX+uL$P-t&-Z*ypGa3D!TLm+T+Z)Rz1WdHz3$DNjUR8-d%htIutdZEoQ0#b(FyTAa_ zdy`&8VVD_UC<6{NG_fI~0ue<-nj%P0#DLLIBvwSR5EN9f2P6n6F&ITuEN@2Ei>|D^ z_ww@lRz|vC zuzLs)$;-`!o*{AqUjza0dRV*yaMRE;fKCVhpQKsoe1Yhg01=zBIT!&C1$=TK@rP|Ibo3vKKm@PqnO#LJhq6%Ij6Hz*<$V$@wQAMN5qJ)hzm2h zoGcOF60t^#FqJFfH{#e-4l@G)6iI9sa9D{VHW4w29}?su;^hF~NC{tY+*d5%WDCTX za!E_i;d2ub1#}&jF5T4HnnCyEWTkKf0>c0%E1Ah>(_PY1)0w;+02c53Su*0<(nUqK zG_|(0G&D0Z{i;y^b@OjZ+}lNZ8Th$p5Uu}MTtq^NHl*T1?CO*}7&0ztZsv2j*bmJyf3G7=Z`5B*PvzoDiKdLpOAxi2$L0#SX*@cY z_n(^h55xYX#km%V()bZjV~l{*bt*u9?FT3d5g^g~#a;iSZ@&02Abxq_DwB(I|L-^b zXThc7C4-yrInE_0gw7K3GZ**7&k~>k0Z0NWkO#^@9q0fwx1%qj zZ=)yBuQ3=54Wo^*!gyjLF-e%Um=erBOdIALW)L%unZshS@>qSW9o8Sq#0s#5*edK% z>{;v(b^`kbN5rY%%y90wC>#%$kE_5P!JWYk;U;klcqzOl-UjcFXXA75rT9jCH~u<) z0>40zCTJ7v2qAyk54cquI@7b&LHdZ`+zlTss6bJ7%PQ)z$cROu4wBhpu-r)01) zS~6}jY?%U?gEALn#wiFzo#H}aQ8rT=DHkadR18&{>P1bW7E`~Y4p3)hWn`DhhRJ5j z*2tcg9i<^OEt(fCg;q*CP8+7ZTcWhYX$fb^_9d-LhL+6BEtPYW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U`>)Rv23+1*-~>RK3I~*uA1afdidxy zonQ@mNQq8{l~=cUvxi?h2O7yn^uyua`KVnzo=&IZb8>Q?W@l#${YI6Qm6Slj#k=sD8--)W0rq_dN}p(O z;%*)a*b`KsI9>G*e9BOtNaMYr=5WY&e=&E z?mP;y2+qwx*P}zEekHctk3;TDA@~KJmhVd{Skh1mg`$o) zciRUMmbV?@>P^^iEfLZBXv8(gAgyOJoZmjs>~gu>9MFwE#~5F`a-{6Cu4;r7t;2Fn z6hd!@V!e4424{Ndkt(iMcnCM>T#&L%CKDw#+S`y=vjfSN6bx}Tijh6v*^~Y`R6Y~Q zACo!W4ex^2FJ>4f_rE5RRH9O;2FN&*rBo>GSy@>-gNc6w_BIZe1pW_m00000NkvXX Hu0mjfUHpwU literal 0 HcmV?d00001 diff --git a/src/Config.h b/src/Config.h index e8b1a2f9..35d0e5fa 100644 --- a/src/Config.h +++ b/src/Config.h @@ -26,7 +26,7 @@ #define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_LO 1 #define VER_LAMEXP_BUILD 400 -#define VER_LAMEXP_SUFFIX Beta-12 +#define VER_LAMEXP_SUFFIX Beta-13 /* * Tools versions diff --git a/src/Dialog_Update.cpp b/src/Dialog_Update.cpp index ab4fa7df..6cf4c50a 100644 --- a/src/Dialog_Update.cpp +++ b/src/Dialog_Update.cpp @@ -316,21 +316,21 @@ void UpdateDialog::checkForUpdates(void) { installButton->setEnabled(true); statusLabel->setText(tr("A new version of LameXP is available!")); - hintIcon->setPixmap(QIcon(":/icons/bell.png").pixmap(16,16)); + hintIcon->setPixmap(QIcon(":/icons/shield_exclamation.png").pixmap(16,16)); hintLabel->setText(tr("We highly recommend all users to install this update as soon as possible.")); hintIcon->show(); hintLabel->show(); - WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/bell.png")); + WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/shield_exclamation.png")); MessageBeep(MB_ICONINFORMATION); } else if(m_updateInfo->m_buildNo == lamexp_version_build()) { statusLabel->setText(tr("No new updates available at this time.")); - hintIcon->setPixmap(QIcon(":/icons/information.png").pixmap(16,16)); + hintIcon->setPixmap(QIcon(":/icons/shield_green.png").pixmap(16,16)); hintLabel->setText(tr("Your version of LameXP is still up-to-date. Please check for updates regularly!")); hintIcon->show(); hintLabel->show(); - WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/information.png")); + WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/shield_green.png")); MessageBeep(MB_ICONINFORMATION); } else