Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st March 2010, 21:06 | #1 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
MPC-HC toolbar button skining support!
EDIT: we now have the toolbars on our wiki https://sourceforge.net/apps/trac/mp...Toolbar_images
Hello everyone, Starting from nightly build r1706 we now support skinning of the toolbar buttons. play, pause, etc... mpc-hc.exe will look inside the directory you placed it in for "toolbar.bmp" if found it will use that instead of the internal icons. A short how to: First select the height you want your icons to have (between 1 and 32 pixels) Then multiply that height by 15 to determine the total width Each icon itself is as wide as it is high bitdepth can be <= 24, in which case RGB(255, 0, 255) is considered transparent or of bitdepth 32, in which case the alpha channel is used for transparency / gradients Compression is NOT supported Sample regular size toolbar.bmp: Download: http://www.mediafire.com/file/orttqy54mym/toolbar.bmp Sample giant size toolbar.bmp: Download: http://www.mediafire.com/file/ezlhgwxderj/toolbar.bmp Here is another example by one of the mpc-hc users: http://forum.doom9.org/showthread.ph...21#post1379021 You can edit these samples to create your own skin, or design them from scratch following the above guidelines. Please share your creations with the others on the forum.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC Last edited by tetsuo55; 13th August 2010 at 16:44. |
1st March 2010, 23:45 | #2 | Link |
Registered User
Join Date: Jun 2008
Posts: 23
|
Nice to see skinning support...
I tried something quick to see how it works... I worked with PNG files and then converted them to 32-bit BMP using AlphaConv. DOWNLOAD (size 16) DOWNLOAD (size 32) If anyone is interested maybe I'll do some more. Looking forward to see other ideas and creations... Last edited by Phaser; 1st March 2010 at 23:55. |
1st March 2010, 23:49 | #3 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
tetsuo55 Is it possible to make volume indicator skinable too? EDIT: ohh, and slider too! Last edited by Keiyakusha; 2nd March 2010 at 00:40. |
|
2nd March 2010, 01:19 | #5 | Link |
Registered User
Join Date: Oct 2004
Posts: 223
|
Nice work Phaser.
This should be also pushed on http://www.deviantart.com. As there are a lot of "skinners" there, this could promote the creation of MPC-HC toolbars. |
2nd March 2010, 01:27 | #6 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
Last edited by Keiyakusha; 2nd March 2010 at 01:45. |
|
2nd March 2010, 01:43 | #7 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
2nd March 2010, 03:49 | #8 | Link |
Registered User
Join Date: Jan 2007
Posts: 130
|
Love the bigger icons, but I've gotten used to using the keyboard for basic operation. I still use the trackbar so would love a bigger trackbar.
__________________
Win 7 x64, AMD Phenom II X6 1075T, nvidia 430GT, mpc-be x86 |
2nd March 2010, 07:23 | #9 | Link |
Questioning User
Join Date: Jan 2005
Posts: 166
|
!!
I like this new function! Thanks for making it possible! Would like the seekbar to be updated too. The style of the current one looks Win95-98 to me.
__________________
8 Pro x64 | i5-3470 | 8GB ram | GT430 | Xonar DX | MPC-HC x86
|
2nd March 2010, 09:17 | #10 | Link | |
Registered User
Join Date: Nov 2008
Posts: 36
|
Quote:
Thanks so much for sharing that |
|
2nd March 2010, 09:21 | #11 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
The volume and seek bar's cannot be made skinnable without a massive refactoring of the gui code.
And if anyone considers doing that they might as well rewrite the gui in QT to make it not only faster but also completely skinnable (to the point that you could even change the gui to look like a star if you wanted to). That would also turn translation into a simple list of words(instead of the nightmarish .rc files we have now) I do expect a patch that will let the volume bar grow in size to match the icon size.
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
2nd March 2010, 10:10 | #14 | Link |
Questioning User
Join Date: Jan 2005
Posts: 166
|
Not sure about QT but are there more modern looking QT widgets?
Anyway I made a 3 simple toolbars using the GUI fx font: Download Also a 16px template: Download I prefer size 16px and either square or icon style :P
__________________
8 Pro x64 | i5-3470 | 8GB ram | GT430 | Xonar DX | MPC-HC x86
Last edited by iron2000; 2nd March 2010 at 10:17. |
2nd March 2010, 10:28 | #15 | Link |
MPC-HC Project Manager
Join Date: Mar 2007
Posts: 2,317
|
ooh i like that 3rd one a lot!
Here is a sample of a modern looking QT skin
__________________
MPC-HC, an open source project everyone can improve. Want to help? Test Nightly Builds, submit patches or bugs and chat on IRC |
2nd March 2010, 18:53 | #16 | Link |
Registered User
Join Date: May 2007
Posts: 454
|
Im trying the crystal blue ones but they are appearing in black and white in the player.
I have found that if I open the player only(without movie) then they are black and white. As soon as I load a movie they go blue... Maybe a bug in the code? Last edited by Razoola; 2nd March 2010 at 18:58. Reason: update... |
3rd March 2010, 02:01 | #19 | Link |
Beyond the Corn Border
Join Date: Jul 2009
Location: 4th Roman Empire
Posts: 93
|
http://forum.doom9.org/showthread.ph...49#post1378249
This issue with custom windows themes could be fixed by instructing MPC-HC to get the final background color for the toolbar from HCU\Control Panel\Color\ButtonLight (i.e. 3D-Objects). Skinning the progress bar could be done with standard controls using something like: http://www.ucancode.net/CPP_Library_...VC-Article.htm (not the perfect example but others can be found) Skinning the volume control - maybe using a standard "transparent" slider and paint the background around it: http://www.codeguru.com/cpp/controls...icle.php/c5253 The current GUI its fast, its plain simple, but that does not mean it cannot be beautified a little without a redesign. No need to waste time on winamp-style bitmap skinning, should jump directly to OSD-style generated "skin". Last edited by bobdynlan; 3rd March 2010 at 02:07. |
3rd March 2010, 18:23 | #20 | Link | |
Registered User
Join Date: Jan 2010
Posts: 10
|
Glad to see this, I made this post in the other thread.
Quote:
|
|
Tags |
icons, mpc-hc, toolbar |
|
|