You are here

PortableAppsMenu Drive Space Slider

9 posts / 0 new
Last post
SmithTech
SmithTech's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-11-24 18:06
PortableAppsMenu Drive Space Slider

I know its already been suggested so don't flame me for reposting.
But I figured out how to do the drive space slider to give folks what they want and it is so simple I don't know why I didn't think of it sooner.
Just reverse the logic, instead of expanding left to right to display drive used space, expand right to left to display free space and use the "darker" image for the slider and the "lighter" image underneath.
This way if someone wants to use a picture in the theme, the drive space frame will contain the picture instead of a grayed out frame, and the drive space slider will cover up the free space.
Hopefully this is simple enough it will make it into the 1.1 release.

Update:
Well from my research on google, I couldn't find an easy way to make the image expand from right to left Sad
But I figured it out anyway,

John,
Check the contact email for the site, I sent you the code change if you want to use it.

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 17 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Already on it

I'm actually already adding this ability in to the next release. The newer theme system uses an ini file to specify font names and font colors as well as whether the slider image should be stretched or not. So, if you'd like it to be a full image, you can use one.

Sometimes, the impossible can become possible, if you're awesome!

SmithTech
SmithTech's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-11-24 18:06
Awe, dag nabit, TMI. If I

Awe, dag nabit, TMI.
If I couldn't wait for 1.1 before, I doubly can't wait now Sad Sad Sad Sad
Font color AND font type and an ini file? hmmmmm
At this point what is working and what isn't?
Is the theme support working? If it is any chance of you emailing me the code for "pre-release" testing?
I can compile it myself.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

dragonmage
Offline
Last seen: 1 year 2 months ago
Joined: 2007-01-15 02:25
YEAH!!!!!!!

Any chance of getting adjustable margins in this release? You rock John.

SmithTech
SmithTech's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-11-24 18:06
Just wondering if you looked

Just wondering if you looked at the code I email you at the contact address.
Its only 3 lines of code and would work if the theme needed a plain bar or an image without needing an entry in an ini file.
Just thinking the simpler the code the better.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 17 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
I did

But it makes the task of creating the theme a bit less intuitive. Logically, a slider is a separate piece (at least to me). Plus, with the INI, they can have a stretchy image if they want.

Sometimes, the impossible can become possible, if you're awesome!

SmithTech
SmithTech's picture
Offline
Last seen: 1 year 11 months ago
Developer
Joined: 2006-11-24 18:06
hmm, it is kinda a backwards

hmm, it is kinda a backwards way of doing it.
but it was quick and easy, easy being the operative word as I am a total novice with delphi.
I'm dieing to see what you have done with the 1.1 release, I've been checking the posts at least 10 time a day waiting to see it listed.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

dragonmage
Offline
Last seen: 1 year 2 months ago
Joined: 2007-01-15 02:25
colors

John, I was just wondering if it would be possible to set a different text color depending on the state?

ReneL
Offline
Last seen: 11 years 2 months ago
Joined: 2005-12-18 02:40
One big feature would be

the possibility to rename menu entries, so they will show a different name.
Many of these great open-source programs are already multi-lingual and start with the correct local language, but the application name in the PortableAppsMenu is always English.

It would be great to be able to add a suffix at least, to describe the program in very short words, maybe in App\AppInfo\appinfo.ini, there are already
[Details]
Name=
ShortName=
entries, but changing them makes no difference.

Maybe the ShortName could be used for display, and Name as tooltip suffix: Click to launch %Name%.

Best regards and greetings from Germany,
René

Log in or register to post comments