[vlc-commits] macosx: add retina graphics for native fullscreen button in dark mode

Damien Erambert git at videolan.org
Sat Aug 2 22:37:55 CEST 2014


vlc/vlc-2.2 | branch: master | Damien Erambert <damien.erambert at me.com> | Tue Jul 29 21:08:13 2014 +0200| [f17e4cf2691a372bcd60fdf5fcc06fe1aec7ea47] | committer: Jean-Baptiste Kempf

macosx: add retina graphics for native fullscreen button in dark mode

Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
(cherry picked from commit 62e4118e66ed8676cd2829a7843cf2bc45d58c6e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=f17e4cf2691a372bcd60fdf5fcc06fe1aec7ea47
---

 .../Resources/mainwindow_dark/window-fullscreen-on.png     |  Bin 6368 -> 344 bytes
 .../Resources/mainwindow_dark/window-fullscreen-on at 2x.png  |  Bin 0 -> 568 bytes
 .../Resources/mainwindow_dark/window-fullscreen-over.png   |  Bin 6368 -> 355 bytes
 .../mainwindow_dark/window-fullscreen-over at 2x.png          |  Bin 0 -> 567 bytes
 .../macosx/Resources/mainwindow_dark/window-fullscreen.png |  Bin 6367 -> 360 bytes
 .../Resources/mainwindow_dark/window-fullscreen at 2x.png     |  Bin 0 -> 569 bytes
 extras/package/macosx/vlc.xcodeproj/project.pbxproj        |   12 ++++++++++++
 7 files changed, 12 insertions(+)

diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png
index 83ea28c..6f8e846 100644
Binary files a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on.png differ
diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on at 2x.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on at 2x.png
new file mode 100644
index 0000000..310ed47
Binary files /dev/null and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-on at 2x.png differ
diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png
index 0c3eebe..4051f1b 100644
Binary files a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over.png differ
diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over at 2x.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over at 2x.png
new file mode 100644
index 0000000..f08c46e
Binary files /dev/null and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen-over at 2x.png differ
diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png
index 0a84d4b..e0d8bee 100644
Binary files a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen.png differ
diff --git a/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen at 2x.png b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen at 2x.png
new file mode 100644
index 0000000..33732b6
Binary files /dev/null and b/extras/package/macosx/Resources/mainwindow_dark/window-fullscreen at 2x.png differ
diff --git a/extras/package/macosx/vlc.xcodeproj/project.pbxproj b/extras/package/macosx/vlc.xcodeproj/project.pbxproj
index cdd5476..5ff28eb 100644
--- a/extras/package/macosx/vlc.xcodeproj/project.pbxproj
+++ b/extras/package/macosx/vlc.xcodeproj/project.pbxproj
@@ -7,6 +7,9 @@
 	objects = {
 
 /* Begin PBXBuildFile section */
+		1CC6EB6819882782004335BD /* window-fullscreen-on at 2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1CC6EB6719882782004335BD /* window-fullscreen-on at 2x.png */; };
+		1CC6EB6A19882789004335BD /* window-fullscreen-over at 2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1CC6EB6919882789004335BD /* window-fullscreen-over at 2x.png */; };
+		1CC6EB6C19882794004335BD /* window-fullscreen at 2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1CC6EB6B19882794004335BD /* window-fullscreen at 2x.png */; };
 		7D3F6525188051F2005776C4 /* BWQuincyMain.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D3F6523188051F2005776C4 /* BWQuincyMain.xib */; };
 		7D8BB0B71830311300FAE9B7 /* DebugMessageVisualizer.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D8BB0B51830311300FAE9B7 /* DebugMessageVisualizer.xib */; };
 		7D8BB0BA1830367200FAE9B7 /* PlaylistMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D8BB0B81830367200FAE9B7 /* PlaylistMenu.xib */; };
@@ -463,6 +466,9 @@
 		089C1672FE841209C02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
 		089C167FFE841241C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
 		1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
+		1CC6EB6719882782004335BD /* window-fullscreen-on at 2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "window-fullscreen-on at 2x.png"; path = "Resources/mainwindow_dark/window-fullscreen-on at 2x.png"; sourceTree = "<group>"; };
+		1CC6EB6919882789004335BD /* window-fullscreen-over at 2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "window-fullscreen-over at 2x.png"; path = "Resources/mainwindow_dark/window-fullscreen-over at 2x.png"; sourceTree = "<group>"; };
+		1CC6EB6B19882794004335BD /* window-fullscreen at 2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "window-fullscreen at 2x.png"; path = "Resources/mainwindow_dark/window-fullscreen at 2x.png"; sourceTree = "<group>"; };
 		2AEF857609A5FEC900130822 /* fspanel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = fspanel.h; path = ../../../modules/gui/macosx/fspanel.h; sourceTree = SOURCE_ROOT; };
 		2AEF857709A5FEC900130822 /* fspanel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = fspanel.m; path = ../../../modules/gui/macosx/fspanel.m; sourceTree = SOURCE_ROOT; };
 		5CCED71014C0D4A90057F8D1 /* ExtensionsDialogProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ExtensionsDialogProvider.h; path = ../../../modules/gui/macosx/ExtensionsDialogProvider.h; sourceTree = SOURCE_ROOT; };
@@ -1373,8 +1379,11 @@
 				CC04323913B246DF00D7D52E /* volume-slider-knob_dark.png */,
 				CC04323A13B246DF00D7D52E /* volume-slider-track_dark.png */,
 				CC206B6B14AD0A5D007935C6 /* window-fullscreen-on.png */,
+				1CC6EB6719882782004335BD /* window-fullscreen-on at 2x.png */,
 				CC206B6C14AD0A5D007935C6 /* window-fullscreen-over.png */,
+				1CC6EB6919882789004335BD /* window-fullscreen-over at 2x.png */,
 				CC206B6D14AD0A5D007935C6 /* window-fullscreen.png */,
+				1CC6EB6B19882794004335BD /* window-fullscreen at 2x.png */,
 				CC206B6914AD0A52007935C6 /* window-resize.png */,
 			);
 			name = "dark variant";
@@ -2299,6 +2308,9 @@
 				7DFFA16C16124F38001AF89F /* effects-one-button-pressed-dark.png in Resources */,
 				7DFFA16D16124F38001AF89F /* effects-one-button-pressed-dark at 2x.png in Resources */,
 				E0FB95CE1615B6DF0005069A /* DetachedVideoWindow.xib in Resources */,
+				1CC6EB6819882782004335BD /* window-fullscreen-on at 2x.png in Resources */,
+				1CC6EB6A19882789004335BD /* window-fullscreen-over at 2x.png in Resources */,
+				1CC6EB6C19882794004335BD /* window-fullscreen at 2x.png in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};



More information about the vlc-commits mailing list