Time for me to try to help. Volume OSD. (1 Viewer)

joboehl

Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Hi,

    I've being playing around with the MP for the last couple of months and really like the project and hope it will evolve a lot.

    I don't really have C# experience and don't code for a long time, but decided to give it a shot. Probably my code is not nearly as optimized as it can be, and maybe not what the team whant in terms of design, and theres where I need help. :)

    After thinking about different ways to implement a SystemWide Volume OSD, and dealing with difficulties to call GUI elements from Core components, I decided to change the approach. I developed a ProcessPlugIn that listens for a particular message. This message is send my the VolumeHandler core component.

    In the process plug-in was easier to call any kind of GUI element. I decided to create a modified Dialog just to handle the Volume display, that obbeys a new skin file (DialogVolume.xml). I've tried other alternatives and had some prototypes using a mechanism similar to the WaitCursor. Altough doable, I lack the skill to make it look good like this one. :)

    I'am attaching some screenshots of the OSD in Action. Still lot of things to do (like managing to get it over the Music Visualization. Any Idea?), but it's pretty much usable right now. And can be disabled by disabling the plug-in. ;)

    Well, if the developers don't have any objections about the way it was done (using a process plug-in), I can try to create a patch and submit to sourceforge. Please let me know. :)

    Julio
     

    Efros

    Portal Pro
    January 23, 2006
    511
    2
    Maine
    Home Country
    England England
    Nice one, you may want to activate topbar on your system to see if there are any issues there. Hopefully not, I would really like to see a unified volume control.
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Nice one, you may want to activate topbar on your system to see if there are any issues there. Hopefully not, I would really like to see a unified volume control.

    Thanks for the tip. Actially the Windows flys over the topbar if the topbar is being displayed. But you can adjust the position of the OSD trough the Skin file, it's not fixed. So if you prefer on the bottom it should work too.

    Julio
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Ok, here I am again. No, I haven't abbandoned this feature, just had some problems with the dev machine.

    Altough still with some problems (with the music visualization windows), the pacth is ready, I'am just doing some more testing.

    I'll release the patch tomorrow, and then devs can take a look at it and incorporate if they fell it is adequate.

    I've changed the mechanism and now it's all done inside MP code itself, without any plug-ins. Also added some small features, like the ability to keep showing the volume indicators even on mute so you can unmute and not have a surprise. :)

    As before, the OSD is completly controlled by the skin file (like showing volume texts and bars, positioning, gfx and etc). There is a new DialogVolume.xml that controls everything.

    Here is the latest screenshot with everything enabled. Hope you guys can enjoyit soon.
    :)

    Julio
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    Patch submitted. Hope you guys can test it soon.
     

    joboehl

    Retired Team Member
  • Premium Supporter
  • July 30, 2006
    431
    4
    Home Country
    Brazil Brazil
    To the devs:

    Can I help testing or improving something so you guys can put this in MP? I've being playing around and know it needs some modifications so it can be used with animations (already done), so if I can help, please drop me a line.

    Julio


    BTW: Patch number is 1575010.
     

    Users who are viewing this thread

    Top Bottom