From: Jean-Baptiste Kempf Date: Mon, 14 Jun 2010 23:05:58 +0000 (+0200) Subject: Win32: try to improve the win7 taskbar buttons. X-Git-Tag: 1.2.0-pre1~6180 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=96f6e5a506ba035f5c5db72d8cbb87f4041ae4ce;p=vlc Win32: try to improve the win7 taskbar buttons. This is not ready yet --- diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp index 4dce735b60..970cd9d90f 100644 --- a/modules/gui/qt4/main_interface_win32.cpp +++ b/modules/gui/qt4/main_interface_win32.cpp @@ -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);