From 37b1f2251dc8456f6b052d8fbcdcb8ce09c0e0d2 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Sat, 17 Apr 2021 13:26:37 -0400 Subject: [PATCH] boost(Profile): Update the icons for the Profile feature --- SoundSwitch/Properties/Resources.Designer.cs | 30 +++++++++ SoundSwitch/Properties/Resources.resx | 9 +++ SoundSwitch/Resources/user-edit-solid.png | Bin 0 -> 416 bytes SoundSwitch/Resources/user-plus-solid.png | Bin 0 -> 412 bytes SoundSwitch/Resources/user-times-solid.png | Bin 0 -> 433 bytes SoundSwitch/UI/Forms/Settings.cs | 4 ++ SoundSwitch/UI/Forms/Settings.resx | 66 ++++++++++++++++++- 7 files changed, 106 insertions(+), 3 deletions(-) create mode 100644 SoundSwitch/Resources/user-edit-solid.png create mode 100644 SoundSwitch/Resources/user-plus-solid.png create mode 100644 SoundSwitch/Resources/user-times-solid.png diff --git a/SoundSwitch/Properties/Resources.Designer.cs b/SoundSwitch/Properties/Resources.Designer.cs index 051d41191d..5409fbac03 100644 --- a/SoundSwitch/Properties/Resources.Designer.cs +++ b/SoundSwitch/Properties/Resources.Designer.cs @@ -209,6 +209,36 @@ internal static System.Drawing.Icon profile { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap profile_menu_add { + get { + object obj = ResourceManager.GetObject("profile-menu-add", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap profile_menu_delete { + get { + object obj = ResourceManager.GetObject("profile-menu-delete", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap profile_menu_edit { + get { + object obj = ResourceManager.GetObject("profile-menu-edit", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/SoundSwitch/Properties/Resources.resx b/SoundSwitch/Properties/Resources.resx index f5cc769c55..68ff303ff0 100644 --- a/SoundSwitch/Properties/Resources.resx +++ b/SoundSwitch/Properties/Resources.resx @@ -193,4 +193,13 @@ ..\Resources\user-circle-solid-profile.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\user-plus-solid.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\user-edit-solid.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\user-times-solid.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/SoundSwitch/Resources/user-edit-solid.png b/SoundSwitch/Resources/user-edit-solid.png new file mode 100644 index 0000000000000000000000000000000000000000..331a8382329c0d942a06a3c95d63a16f8e9c3d8c GIT binary patch literal 416 zcmV;R0bl-!P)P000yS1^@s6cz2e)00006VoOIv0RI60 z0RN!9r;`8x0aZyvK~y-6wbj8&8&MR-@t>m7swiEScBu%puGDqGb=y}ceSo6)0KP$V z(2H*0{JcI7w#6Op|_a7IW`C_kYj1=iDJ(V_3%z zG;xJ87Bbcs)>G`Gm0}IN9|UA80}xvs&-($4@+!9)w>Ckb}tl3oc9v`;sc&V z2dH5VUf{YQAht3_Jl;X812h{)@p*uN*eaMv=JBi#Kw3{#;}j)zR}k>CD8N5N@lB}2 z&hZQ3f$h?;@YgG%KX}P000yS1^@s6cz2e)00006VoOIv0RI60 z0RN!9r;`8x0Z~arK~y-6t<+B|1yLBs@eddI7fT5X8w-DSta$<0%8qv+FTldm#zsjg z8zt|65|NE;$ijw@B<#pVcQF<-bem@G-0S+)ubDYL^L)>F&Up^WYQQ`$@QD{}V<;uQ zVm09aL4rRp`5%zw6u^&P(OC_k8Sfd801K5Qt&M&6N1!YXR|5$u`8h$0QI4ZhkW1vt zNOqbs-V=K!Lh@M40K8$njER&~Ble{q;fYxM60Re^MsbCrvBNY_J?3yGY{n;SVIUzk zt*3rnQ|U4jG>x(7eGGlVl5Ry~kHwHy%wiPnIL9vT(S|{c3vYxgY~mya+`tTO(Ho!5 z2p(iNVce_8#UKH0ij(Kig=2Ii7NfL=Q71eo&?2nDUgTe`{9y&f{!+$Wc2^}N5bi^& zYK7&hR^3^UT&aLERhI>M`3J~zR=`vg^q0LTU`NP000yS1^@s6cz2e)00006VoOIv0RI60 z0RN!9r;`8x0cJ@=K~y-6t<*hC6+sk+;Rh}dE-^wwVW6@w!JiHyosFGJOGm(t&e&@Q zB{mu>8e<^#6xe7B+98xw+R;h{ps4W=@i%_&U?b!ITm%`!hZ4XE9u*~F zF#}3t2cso^{dj^e!eczdI&PIE2qoIeK^|P-udNo|IDhgErn8;Df(6{eFuvkF_Hh-r zh1$3AO=#?P%zcd2INrq?mW7+Omjb46P_UD#cpXnMf=_W{X%7~0hB+7$u3ue18cT7} zKB1RcwbQ}N27m;oF7Yq>-Vl;t{vtrHP_CvLuY$C?0O_lO9Crb7RArcrrvK^1A8ZP5 btW^I1x-hiX5)qjk00000NkvXXu0mjf5bL)f literal 0 HcmV?d00001 diff --git a/SoundSwitch/UI/Forms/Settings.cs b/SoundSwitch/UI/Forms/Settings.cs index 8f926e27c9..26ff5c40cd 100644 --- a/SoundSwitch/UI/Forms/Settings.cs +++ b/SoundSwitch/UI/Forms/Settings.cs @@ -338,6 +338,10 @@ private void LocalizeForm() closeButton.Text = SettingsStrings.close; toggleMuteLabel.Text = SettingsStrings.mute_toggle_label; muteHotKeyCheckbox.Text = SettingsStrings.hotkeyEnabled; + + addProfileButton.Image = Resources.profile_menu_add; + editProfileButton.Image = Resources.profile_menu_edit; + deleteProfileButton.Image = Resources.profile_menu_delete; } diff --git a/SoundSwitch/UI/Forms/Settings.resx b/SoundSwitch/UI/Forms/Settings.resx index f298a7be80..774ae44454 100644 --- a/SoundSwitch/UI/Forms/Settings.resx +++ b/SoundSwitch/UI/Forms/Settings.resx @@ -1,4 +1,64 @@ - + + + @@ -52,9 +112,9 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file