Jump to content

Recommended Posts

version 1.0.11 released.

I've added an Outlook-style sidebar based on radio buttons. This allows to take advantage of the Enum typedef. Disconnect the typedef and customize with your own buttons, change button order or even style.

http://content.scree...-10-08_1129.swf

  • Like 2

Share this post


Link to post
Share on other sites

Francois,

Great job on this. Especially the variety of icons you've got setup.

Any chance you're planning to get more of them into the system Icon style?

Also, I now realize that I've duplicated some of the exact work you've done on the fade in/out and the only difference is that I've found that an exponential rather than linear fade has a nicer visual effect. Any thoughts to that?

  • Like 1

Share this post


Link to post
Share on other sites

Francois,

Great job on this. Especially the variety of icons you've got setup.

Any chance you're planning to get more of them into the system Icon style?

Also, I now realize that I've duplicated some of the exact work you've done on the fade in/out and the only difference is that I've found that an exponential rather than linear fade has a nicer visual effect. Any thoughts to that?

Hi Norm,

thanks for the comments. Yes, I planned to add all ;)as much as possible of the Nuvola theme icons in there, but the process is long without being able to do that programmatically. Also, I'm putting 100% of my free home time on the Open Office Report Generation (which should come in a few weeks) and then I'll go back to the UI tools copy/paste for buttons. I've already made programmatically all the buttons states in PNG using Vugie's Bitman tools. All remaining is sitting a long night and make it happen. I already received a comment that at least one of my button is misaligned (hover) so I plan to make them all from scratch calculating the exact placement of the icons.

Truth be told, I hadn't thought about using something other than linear fade. :thumbup1: I'll definitely give it a try and add this option to the UI Tools. I'll take your word on the fact that it's nicer looking... I'll put exponential as the default case and linear as option. If anybody thinks of other fading algorithms they'd like, I can integrate them as well.

I'll check on ni.com's suggested features to make sure "scalable graphics" support for button edition is in there (and properly kudoed)...

Share this post


Link to post
Share on other sites

Nice set Antoine!

One question, is there a specific reason you made the boolean controls as Typedefs?

It creates a new (unnecessary) dependency, I can understand that the Outlook Enum is a typedef, however the boolean controls seems a little bit awkward to me.

Ton

Share this post


Link to post
Share on other sites

Nice set Antoine!

One question, is there a specific reason you made the boolean controls as Typedefs?

It creates a new (unnecessary) dependency, I can understand that the Outlook Enum is a typedef, however the boolean controls seems a little bit awkward to me.

Ton

Hi Ton,

yeah, don't tell me... that was a mistake. I'll be doing an update soon with the stuff Vugie and Rolf have dug out for the programmatic creation of controls. Those won't be typedef'ed and all icons/text will have been programmatically located, so there won't be any mismatch of a pixel or two here and there as can happen when you do it manually.

I actually have real nice series of buttons ready... but they take a few MBs per series and I'm thinking of a way to have it created on the fly like, I don't know, CCT or perhaps a RCF plugins? I'll spend a few nights on that and hopefully I get something useful by Xmas to show off.

Anyway, here's a teaser... teasing82.vi

I think you meant "François" ;)

Français... François. What's the difference? We're all alike, right? :lol:

Share this post


Link to post
Share on other sites

Hi Ton,

I'll spend a few nights on that and hopefully I get something useful by Xmas to show off.

Anyway, here's a teaser... teasing82.vi

Français... François. What's the difference? We're all alike, right? :lol:

Hi François,

how are things coming with christmas passing by?

I really liked the teaser.

Any help I can offer?

One little bug. The palette menu called 'Edition' should be called 'Editting' (I think, I'm no native English speaker)

Ton

Share this post


Link to post
Share on other sites

Hi François,

how are things coming with christmas passing by?

I really liked the teaser.

Any help I can offer?

One little bug. The palette menu called 'Edition' should be called 'Editting' (I think, I'm no native English speaker)

Ton

Hi Ton,

I have 90% of it ready. I've had problems with packaging the control.lvclass that I created because of some indetermined conflict while building the package. I've decided to leave it for a later version. I still have to batch create one set of icons (system-style) and I'll be uploading it real soon. The UI Tools will come with a Base package that won't have any icons... and then it will be possible to install add-ons based on the control styles that one wants. The trick is that my first add-on package (Vista-style) is 4MB! I thought of splitting it in many parts, but that would clog the packages list in VIPM... and I'm not sure people would like me for that.

I promise to try uploading it no later than this week-end.

I've added Norm's suggestion of Exponential fade-in/fade-out, plus some rectangle placement tools to build on the OpenG Rectangle Tools (necessary for quick icon alignment...). I've also corrected the "typedef" thing.

That is, thanks for the help offer. You're boasting my morale! With my OpenOffice project lagging behind too, that's a real pleasure to know that this package attracts interest and I'm not antagonizing the "missus"* just for my own sake. (* Yeah, I've had a lot of "You're still behind that computer tonight!" lately...)

For the palette menu, I never thought about it, but I think you're right... a quick look on Google shows that "Edition" is mainly used in printing, like "nth Edition of this book", while Pictures often come with "Editing" (one "t"). So I'll change it to Editing. Thanks.

Share this post


Link to post
Share on other sites

The new UI Tools is ready.

See addons and expansion packs:

Custom control creator addon

System-style controls expansion

Vista-style controls expansion

Outlook-style controls expansion

GlassWeb-style controls expansion

Tree & Tagging addon

I've created many expansion packs because the smaller package is around 3MB...

Share this post


Link to post
Share on other sites

Hello,

I have downloaded the UI controls from the code repository. They are outstanding!!

I am having an issue with resizing the Vista controls, actually my issue is really just ignorance.

I can change the control size, but I do not know how to change the size of the mouse over highlight box. - the box size changes, but it is clipping the image.

Any assistance would be greatly appreciated.

Regards,

Brad K

Share this post


Link to post
Share on other sites

Hello,

I have downloaded the UI controls from the code repository. They are outstanding!!

I am having an issue with resizing the Vista controls, actually my issue is really just ignorance.

I can change the control size, but I do not know how to change the size of the mouse over highlight box. - the box size changes, but it is clipping the image.

Any assistance would be greatly appreciated.

Regards,

Brad K

Hi Brad,

I'm on vacation this week and out of town. I'll check this out but I would not recommend that you resize the buttons as the icons are not vectorial and you'll lose quite a lot of resolution by doing so. The best thing would be to have a control template for the right size you're looking for and make the controls you want at the propoer size directly.

However, I would have expected all the button states to resize together... I don't know if there's anything I can do about it. I'll keep you posted. (next week? fingers crossed...)

Share this post


Link to post
Share on other sites

The Captain has brought to my attention an installation problem with version 1.0.35. In this build, there is one subset of files (readme & license terms) that are installed using a hardcoded path instead of relative to <user.lib>. Since there are no VIs in this subset, no problems occur with multiple versions of LabVIEW installed. However, it causes the following errors:

a) if you run a 32-bit version of Windows, there will be creation of a C:\Program Files (x86)\National Instruments\LabVIEW 8.6\user.lib\_LAVAcr\UI Tools directory. Unless you don't have admin rights to create a dir in C:\ , you will not see any errors and the package will behave as expected. It's just very inconvenient that it creates a whole hierarchy in parallel!

b) if you run a 64-bit version of Windows AND you install the package for LV 2009, you won't find the license and readme files in the proper directory. Not a big concern, except if you don't notice that you should keep the Nuvola Icon license with any program you distribute that uses the Nuvola icons herein.

Norm was actually unlucky enough to be in situation a) with restrictions on directory creation... which is lucky for me I guess. Thanks a ton Norm.

A new version will be uploaded tonight.

AFTER INSTALLATION OF NEW VERSION 1.0.36 or higher, you should:

- delete the "C:\Program Files (x86)\National Instruments\LabVIEW 8.6\user.lib\_LAVAcr\UI Tools" directory IF AND ONLY IF you have your LabVIEW installed in "C:\Program Files\National Instruments\LabVIEW xyz"

- if you run a 64-bit version of Windows, do nothing.

- in case you're unsure, PM me!

Change log notification for upcoming version:

v1.0.36: Correction of the ogp file to remove a hard-coded install path on file subset 3. Relative install path has been programmed instead to install in the correct <user.lib> directory. The issue caused a subset of files (readme and license) to be installed in an unexistant LabVIEW directory (x86).

++++++++

I'll be checking the addons for the same error in the readme/symbols/license file subsets...

Share this post


Link to post
Share on other sites

I can change the control size, but I do not know how to change the size of the mouse over highlight box. - the box size changes, but it is clipping the image.

Brad K

Hi Brad,

I've checked this and it seems it's only a loss of resolution. The hover-effect border is actually only 1 pixel large (maybe 2), so the algorithm that executes when you resize must be smoothing/averaging pixels and lose some information in the process. I tested it with GlassWeb style resizing and you don't get it clipped, just a lost of resolution.

Unzip those in your LabVIEW Data\LAVA\Control Templates directory:

Additional Control Templates.zip

(small and medium size templates for Vista style)

Share this post


Link to post
Share on other sites

I have installed UI Tools 1.1.0.9 under LV2011 and seem to have all the other packages that it depends on installed, but the state machine VIs still seem to be missing. When I start the Control Generator it starts to look in <userlib>:\_LAVACR\UI Tools\_lava_lib_ui_tools.llb for Add State(s) to Queue_jki_lib_state_machine_lava_lib_ui_tools.vi but fails to find it...not surprisingly since that llb does not exist.

I have JKIs state machine (2.0.0-1), but these seems to be renamed copies of some of the VIs in that package. I could manually replace the missing VIs with VIs from the JKI State Machine package, but then I would need to do this again if there is an update to the UI Tools so it would be better if I figured out why the problem occurs. Any idea?

Share this post


Link to post
Share on other sites

This seems to be the same problem than UI Tools: Control addon.

I'll check this and post a new version in VIP file format soon. Stay tuned.

New version uploaded with corrected namespacing for the JKI State Machine dependency.

Please report if this doesn't solve the problem.

Note that this package gets installed in the new LAVA palette...

Share this post


Link to post
Share on other sites

Without being demanding :) have you thought of creating a "Silver" style expansion pack? How much effort would required in getting that working?

Share this post


Link to post
Share on other sites

Without being demanding :) have you thought of creating a "Silver" style expansion pack? How much effort would required in getting that working?

Unzip this file under the "LabVIEW Data\LAVA\Control Templates" directory and you'll get a Silver-looking template installed.

Silver.zip

Note that this button doesn't resize well, just like the other templates, because it creates a fixed-size image of all button states.

I'll investigate how to programatically change decals, but that's not something you should expect soon. I have too many other things on my mind.

You can also create your own templates and drop them in the same directory as stated above. SImply create three PNGs with the button backgrounds you wish and name them like the templates (templatename_1.png, templatename_2.png, templatename_3.png), then make sure that these pictures are "clipboard-copied" on the templatename.ctl different states. The rest is magic ;) .

edit: You should do the template in the lowest possible version, so that it can be called from whichever version you use...

Share this post


Link to post
Share on other sites

The rest is magic ;) .

Magic is not a bad word for it all. Really useful tool, thanks for the silver update.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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...

Important Information

By using this site, you agree to our Terms of Use.