Jump to content
LaunchBox Community Forums

Recommended Posts

Posted
On 11/9/2017 at 8:50 PM, y2guru said:

1.  you are awesome if you could make that change, otherwise I can just clone my view and remove the battery.. either way is cool, I wouldn't go out of the way for me :-)

Here you go. Don't forget to unblock it.

 

GrilaBBControlsPlugin.dll

Posted (edited)

You are da man!! Can’t thank you enough ?  I have another idea if you want to hear about it ? and it’s not related to this.

Edited by y2guru
Posted

what the hell was I drinking on Friday??!!  I downloaded the Switch theme I believe and borrowed the .dll, would that have made a difference?  anyway... ill add the reference via VS etc ..

Posted
Just now, y2guru said:

what the hell was I drinking on Friday??!!  I downloaded the Switch theme I believe and borrowed the .dll, would that have made a difference?  anyway... ill add the reference via VS etc ..

Ahh yes, I made a few minor changes to suit that theme in particular.  You should be using the one from the Downloads section.

Posted
15 hours ago, shinra358 said:

Any progress on the divided battery?

Sorry @shinra358 I just noticed this comment. I honestly forgot all about that but now that you've reminded me I will start working on it for you.

  • Like 1
Posted

@shinra358 Here you go, complete with the charging animation. It's a separate dll so you'll have to add a new reference. There is a handful of exposed properties to control the color and a bool for showing the battery percent. The battery percent styling is done through through the normal control properties (FontFamily, FontSize, Foreground, etc.). The charging animation will obviously only play when PowerLineStatus is Online and BatteryLifePercent < 0. Once the battery reaches 100%, the animation will stop regardless of PowerLineStatus.

There are 2 controls in the dll: PSPBatRounded and PSPBatSquare. Should be pretty self-explanatory on what they are...

Here's the file: GrilaPSPBattery.dll

And here's a few shots showing it in BB:

PSPBatSquare (ShowBatteryPercent=True)

1.thumb.jpg.08afebc100a13b091159720cc2530463.jpgPSPBatSquare (ShowBatteryPercent=False)

2.thumb.jpg.010cc4325a734eeb36abedbf5083c66e.jpgPSPBatRounded (ShowBatteryPercent=True)

3.thumb.jpg.3683b1bad569453d945d49f7f5da2052.jpgPSPBatRounded (ShowBatteryPercent=False)

4.thumb.jpg.3f1fd7c40614a23347754c634aa6361d.jpg

Posted (edited)

Excellent! Thanks

Edit: Does the battery juice still have the glass look? I wanted separated battery juice but with the same glass look as default plugin.

Edited by shinra358
Posted
6 minutes ago, shinra358 said:

I added the reference the I placed this at the top:  xmlns:p="clr-namespace:GrilaPSPBattery;assembly=GrilaPSPBattery"

Then I placed this in the proper section: <pb:PSPBatSquare ShowBatteryPercent="true" />

 

But it says pb:PSPBatSquare doesn't exist in  xmlns:p="clr-namespace:GrilaPSPBattery;assembly=GrilaPSPBattery".

What am I doing wrong?

Did you open visual studio and add the reference to the new .dll ?

Posted
1 hour ago, shinra358 said:

Excellent! Thanks

Edit: Does the battery juice still have the glass look? I wanted separated battery juice but with the same glass look as default plugin.

I'm not sure what you mean by glass look. The original one is just a standard Windows progress bar inside a battery shaped outline.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...