[vlc-commits] commit: Win32: try to improve the win7 taskbar buttons. ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Jun 15 01:06:43 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 15 01:05:58 2010 +0200| [96f6e5a506ba035f5c5db72d8cbb87f4041ae4ce] | committer: Jean-Baptiste Kempf
Win32: try to improve the win7 taskbar buttons.
This is not ready yet
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96f6e5a506ba035f5c5db72d8cbb87f4041ae4ce
---
modules/gui/qt4/main_interface_win32.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/gui/qt4/main_interface_win32.cpp b/modules/gui/qt4/main_interface_win32.cpp
index 4dce735..970cd9d 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);
More information about the vlc-commits
mailing list