]> git.sesse.net Git - vlc/commitdiff
Win32: try to improve the win7 taskbar buttons.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 14 Jun 2010 23:05:58 +0000 (01:05 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 14 Jun 2010 23:06:40 +0000 (01:06 +0200)
This is not ready yet

modules/gui/qt4/main_interface_win32.cpp

index 4dce735b609e1f1b8a81f8dba2a6adc89ea9557f..970cd9d90fee1904ed64c8eae0455614922ceab8 100644 (file)
@@ -87,17 +87,17 @@ void MainInterface::createTaskBarButtons()
     {
         p_taskbl->vt->HrInit(p_taskbl);
 
-        if(himl = ImageList_Create( 15, //cx
-                        18, //cy
+        if(himl = ImageList_Create( 20, //cx
+                        20, //cy
                         ILC_COLOR,//flags
                         4,//initial nb of images
                         0//nb of images that can be added
                         ))
         {
-            QPixmap img   = QPixmap(":/toolbar/previous_b");
-            QPixmap img2  = QPixmap(":/toolbar/pause_b");
-            QPixmap img3  = QPixmap(":/toolbar/play_b");
-            QPixmap img4  = QPixmap(":/toolbar/next_b");
+            QPixmap img   = QPixmap(":/win7/prev");
+            QPixmap img2  = QPixmap(":/win7/pause");
+            QPixmap img3  = QPixmap(":/win7/play");
+            QPixmap img4  = QPixmap(":/win7/next");
             QBitmap mask  = img.createMaskFromColor(Qt::transparent);
             QBitmap mask2 = img2.createMaskFromColor(Qt::transparent);
             QBitmap mask3 = img3.createMaskFromColor(Qt::transparent);