diff --git a/assets/tray/color.png b/assets/tray/color.png index 4e8db29..4267200 100644 Binary files a/assets/tray/color.png and b/assets/tray/color.png differ diff --git a/assets/tray/color_square.png b/assets/tray/color_square.png new file mode 100644 index 0000000..7ef806f Binary files /dev/null and b/assets/tray/color_square.png differ diff --git a/assets/tray/outline_black.png b/assets/tray/outline_black.png index 56786f1..bbde668 100644 Binary files a/assets/tray/outline_black.png and b/assets/tray/outline_black.png differ diff --git a/assets/tray/outline_black_square.png b/assets/tray/outline_black_square.png new file mode 100644 index 0000000..ae130b6 Binary files /dev/null and b/assets/tray/outline_black_square.png differ diff --git a/assets/tray/outline_white.png b/assets/tray/outline_white.png index 014b347..c2135fe 100644 Binary files a/assets/tray/outline_white.png and b/assets/tray/outline_white.png differ diff --git a/assets/tray/outline_white_square.png b/assets/tray/outline_white_square.png new file mode 100644 index 0000000..4aa3972 Binary files /dev/null and b/assets/tray/outline_white_square.png differ diff --git a/lib/tray.py b/lib/tray.py index 1b1776f..b0bbf53 100644 --- a/lib/tray.py +++ b/lib/tray.py @@ -55,6 +55,19 @@ def UpdateIcon(self): self.SetIcon(wx.Icon(icon, wx.BITMAP_TYPE_PNG), _("RGB Config")) + # Test code for tray icon via wx.BitmapBundle + # + # bitmaps = [ wx.Bitmap('./assets/tray/%s/16x16.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/22x22.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/24x24.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/32x32.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/64x64.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/128x128.png' % self.parent.preferences["trayIconStyle"]), + # wx.Bitmap('./assets/tray/%s/256x256.png' % self.parent.preferences["trayIconStyle"]), + # ] + # + # self.SetIcon(wx.BitmapBundle.FromBitmaps(bitmaps), _("RGB Config")) + def on_toggle_gui(self, event): if self.parent.IsShown(): self.parent.Hide() diff --git a/lib/version.py b/lib/version.py index c51e7af..df0dee1 100644 --- a/lib/version.py +++ b/lib/version.py @@ -1 +1 @@ -VERSION = "0.4.7" +VERSION = "0.4.8"