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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st March 2010, 21:06   #1  |  Link
tetsuo55
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.
tetsuo55 is offline   Reply With Quote
Old 1st March 2010, 23:45   #2  |  Link
Phaser
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.
Phaser is offline   Reply With Quote
Old 1st March 2010, 23:49   #3  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by Phaser View Post
I tried something quick too see how it works...
I worked with PNG files and then converted them to 32-bit BMP using AlphaConv.
Great, I like 32px one!


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.
Keiyakusha is offline   Reply With Quote
Old 2nd March 2010, 00:25   #4  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
Quote:
If anyone is interested ...
If that's "quick", I can't wait to see what you make with a bit more time. They both look great -clean and modern.
Inspector.Gadget is offline   Reply With Quote
Old 2nd March 2010, 01:19   #5  |  Link
Peuj
Registered User
 
Peuj's Avatar
 
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.
Peuj is offline   Reply With Quote
Old 2nd March 2010, 01:27   #6  |  Link
Keiyakusha
契約者
 
Keiyakusha's Avatar
 
Join Date: Jun 2008
Posts: 1,576
Quote:
Originally Posted by Peuj View Post
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.
Too early imo. Maybe (hopefully) this thing will be upgraded for support skinning of the other things.

Last edited by Keiyakusha; 2nd March 2010 at 01:45.
Keiyakusha is offline   Reply With Quote
Old 2nd March 2010, 01:43   #7  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Quote:
Is it possible to make volume indicator skinable too?

EDIT: ohh, and slider too!
would be great
stax76 is offline   Reply With Quote
Old 2nd March 2010, 03:49   #8  |  Link
hdboy
Registered User
 
Join Date: Jan 2007
Posts: 130
Quote:
Originally Posted by Keiyakusha View Post
Great, I like 32px one!


tetsuo55
Is it possible to make volume indicator skinable too?

EDIT: ohh, and slider too!
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
hdboy is offline   Reply With Quote
Old 2nd March 2010, 07:23   #9  |  Link
iron2000
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
iron2000 is offline   Reply With Quote
Old 2nd March 2010, 09:17   #10  |  Link
Rain1
Registered User
 
Rain1's Avatar
 
Join Date: Nov 2008
Posts: 36
Quote:
Originally Posted by Phaser View Post
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)

If anyone is interested maybe I'll do some more. Looking forward to see other ideas and creations...
I <3 the size 16
Thanks so much for sharing that
Rain1 is offline   Reply With Quote
Old 2nd March 2010, 09:21   #11  |  Link
tetsuo55
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
tetsuo55 is offline   Reply With Quote
Old 2nd March 2010, 09:54   #12  |  Link
Phaser
Registered User
 
Join Date: Jun 2008
Posts: 23
Here's some more:



DOWNLOAD (size 32)




DOWNLOAD (size 32)
Phaser is offline   Reply With Quote
Old 2nd March 2010, 10:06   #13  |  Link
lucamark
Gigibop!!!
 
Join Date: Oct 2007
Posts: 37
Many thanks Phaser and whole developers team!!!
lucamark is offline   Reply With Quote
Old 2nd March 2010, 10:10   #14  |  Link
iron2000
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.
iron2000 is offline   Reply With Quote
Old 2nd March 2010, 10:28   #15  |  Link
tetsuo55
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
tetsuo55 is offline   Reply With Quote
Old 2nd March 2010, 18:53   #16  |  Link
Razoola
Registered User
 
Join Date: May 2007
Posts: 454
Quote:
Originally Posted by Phaser View Post
Here's some more:



DOWNLOAD (size 32)




DOWNLOAD (size 32)
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...
Razoola is offline   Reply With Quote
Old 2nd March 2010, 19:32   #17  |  Link
Phaser
Registered User
 
Join Date: Jun 2008
Posts: 23
I don't think that's a bug... Maybe they're meant to be "black and white" when they are inactive...
Phaser is offline   Reply With Quote
Old 2nd March 2010, 20:39   #18  |  Link
Razoola
Registered User
 
Join Date: May 2007
Posts: 454
Quote:
Originally Posted by Phaser View Post
I don't think that's a bug... Maybe they're meant to be "black and white" when they are inactive...
Ahh yes, I did not think of that. I think it would be better though to stay a set color for those icons
Razoola is offline   Reply With Quote
Old 3rd March 2010, 02:01   #19  |  Link
bobdynlan
Beyond the Corn Border
 
bobdynlan's Avatar
 
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.
bobdynlan is offline   Reply With Quote
Old 3rd March 2010, 18:23   #20  |  Link
sabret00the
Registered User
 
Join Date: Jan 2010
Posts: 10
Glad to see this, I made this post in the other thread.
Quote:
Originally Posted by sabret00the View Post
I would like to see greater Windows 7 support. WMP12 has got everything right, from the transparency behind the controls, to the updated icons to to the fact that you can play/forward/pause/stop all from the task bar. I moved over to MPC because I felt that WMP was dated and didn't conform with the current needs of a media centric user, however now I'm starting to feel that about MPC. As much as it may be frowned upon, it's time to bring the GUI into the 21st century.
sabret00the is offline   Reply With Quote
Reply

Tags
icons, mpc-hc, toolbar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.