From 0690fc58f73ac6938d29f6df9d66ce96c43516ce Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Thu, 9 Mar 2017 23:53:22 +0000 Subject: [PATCH] frmPreferences: Added icons --- source/bitmaps/icons/hideaddressbooks.png | Bin 0 -> 1417 bytes source/bitmaps/icons/windowpos.png | Bin 0 -> 1498 bytes source/frmPreferences.cpp | 13 ++++++++++++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 source/bitmaps/icons/hideaddressbooks.png create mode 100644 source/bitmaps/icons/windowpos.png diff --git a/source/bitmaps/icons/hideaddressbooks.png b/source/bitmaps/icons/hideaddressbooks.png new file mode 100644 index 0000000000000000000000000000000000000000..7aecb6f7bf17409a3d455888355408baf2a23d88 GIT binary patch literal 1417 zcmV;41$O$0P)HnAT`x7pc``PjMV z_^`1w*-5))A9`Szng3kw`Q0<;-g_=^kB!pA-S2(A)vM(8K`Hc5DS!2eYv<3zgMKTH zlt?tYfB!ejbtkQHdzgRwp%a+{Y%MzbEhb(Wh+Q*eTLG~1^OpcL2f*M2A|N6F1ZAWo zF5*7&)oSuJ1OO8PF~ZBb2uKS<002Zl1sN{E6LC>a^OXvqSSJF26oH69RI6CB)dS9j zo?TqcD@_Q)8nRh)^S+WDwR!)rj1-up+BATGYY;$000@YvcNg0}pZFwg=_{QGUP~z!S6-OaeC@uT$ zQhZ-F{M?5dSuh|{pTP{EqH>8qFJ@j{?F1VlU|O|Ttt2&3Hf|aq)=?N46B2;fgvwD= zV&dWqwPObDfKDInibf1BT-N|x082p9XMw9KkrP&xD5^Pu<7iW6#l^dHyTodKF^3fN zRDja_j0#mx)o6pn#0JDACfgE#EtRNgfT(auhj6Q++iYSI*RfI(-C6_)i32RIPynp1NiFr1_1W~xN=7TPZ?jVop&IlDTzBG@wKMb z04^6|G@FE{zdf>j^8*jZ9bIdDO;Oat@j{qEO91$1uGTbwMWiKbE9^u*yAfh4*ML$> z^#HaEp2dYrh2^qJZJZj1Pj z1#o8kr~9LFF;{=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Merm5-BBXYiopIh%p8!CDvMkAi!~)y9Y5FkD&t-latIpQrpoCq?9B{ zLYk)Jd5%(wa=A5dbu7EXj`4Xf#OE6d?qj=V6SYR;%5$ z{?%%A`$6@b^*TjS(Cv0nN)g8~&1RFLD3DTOj6n!N9LGp0sny=Fyc_X%@4#lYo1ee) z+_-%CGI^c@5QZV$ZkH&Ew%r4p6W+Lx?81TV6vr{H>!Osx^E`qe!1sN!Y@2I?HX{J{ zK%Gv9!C-(8f_A%27=}2GLy{zS|7^MQEYMnG|4RpEW@bp!6r~hJQBbK=a9wx%4t6vR zcbA1*s#GfN?lc@tLxpqW+R8F>{(ml|N-5gy_FJR8twz!zmR@TJ(Ea)|FFp5*V^?2W ztJn1H{Jhs%y;2823PnCu>YV-O`7hmv687d%fpq?qkEGXMYp07*qoM6N<$f`m)Y AOaK4? literal 0 HcmV?d00001 diff --git a/source/frmPreferences.cpp b/source/frmPreferences.cpp index c9623e0..2b2f481 100644 --- a/source/frmPreferences.cpp +++ b/source/frmPreferences.cpp @@ -23,6 +23,7 @@ #include "common/preferences.h" #include "common/dirs.h" #include "bitmaps.h" +#include "bitmaps/preferences.h" #include "import/import.h" #include "export/export.h" @@ -33,7 +34,6 @@ #include #include - frmPreferences::frmPreferences( wxWindow* parent ) : frmPreferencesADT( parent ) @@ -44,6 +44,17 @@ frmPreferencesADT( parent ) wxMemoryInputStream astream(icons_accinet_png, sizeof(icons_accinet_png)); wxMemoryInputStream bstream(icons_acclocal_png, sizeof(icons_acclocal_png)); wxMemoryInputStream cstream(icons_accunsupported_png, sizeof(icons_accunsupported_png)); + wxMemoryInputStream windowposstream(icons_windowpos_png, sizeof(icons_windowpos_png)); + wxMemoryInputStream hideaddressbooksstream(icons_hideaddressbooks_png, sizeof(icons_hideaddressbooks_png)); + + wxImage icons_windowpos_png(windowposstream, wxBITMAP_TYPE_PNG); + wxBitmap WindowPosition(icons_windowpos_png, -1); + + wxImage icons_hideaddressbooks_png(hideaddressbooksstream, wxBITMAP_TYPE_PNG); + wxBitmap HideAddressBooks(icons_hideaddressbooks_png, -1); + + bmpWindowPosition->SetBitmap(WindowPosition); + bmpLocalAddressBooks->SetBitmap(HideAddressBooks); wxImage icons_accinet_png(astream, wxBITMAP_TYPE_PNG); wxBitmap AccInet(icons_accinet_png, -1); -- 2.39.5