Mark Balla's Icon Editor
Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)
|
Mark Balla's Icon Editor
|
|
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
File: Mark Balla Icon editor V2.3 July 7th 2008 Author: Mark Balla mballa@sbcglobal.net Description: This is the newest version of my vi icon editor and was created in LV8.2. The purpose is to help quickly create text base icons. The editor can be used in place of the standard NI icon editor or as a stand alone vi. see instructions. My original posting of the icon editor Ver. 1 can be found here LabVIEW 7.0,7.1 http://forums.lavag.org/index.php?s=&s...ost&p=19022 LabVIEW 8.0 http://forums.lavag.org/index.php?s=&s...ost&p=12920 Instructions: 1: The icon editor was designed to be used as a replacement for the standard NI editor LV8.x only. To get LabVIEW 8.x to use the editor place the three files (lv_icon.vi, color templates.bin and the folder lv_icon_Subvis) in the LabVIEW 8.x\resource\plugins directory. If you are using a LabVIEW version greater than 8.2 Open the lv_icon.vi and do a save all. Close the vi and restart LabVIEW. The next time the icon editor is called LabVIEW will use the lv_icon.vi instead of the standard one. There is a button on the editor that will allow you to use NI's editor when a text icon is not desired. 2: The icon editor can also be called from another vi or used as a stand alone tool. Make sure the "From Editor" control is set to false either via terminal in the lower left corner of the connector pane or manually in the FP. This setting indicates to the vi that a vi reference will be used to extract and save the icon information. If the "VI REF" input control is invalid at runtime a dialogue box will appear asking the user to select a vi. Version 2.1: Along with the auto drawing and Text compressing from version 1, version 2 has 2 new features. 1: In addition to the 2 color format in version 1 the icon editor now supports a 5 color format (Frame, Header text, Header Back, Body Text, and Body Back). This is the standard frame that many programmers use. 2: In version 2 the last 10 icon color sets are saved in a binary file and are recalled each time the editor is open. These color sets can then be selected and reused. Version 2.2: Along with the all the features from version 2.1, version 2.2 has several new features. 1: A new color picker was added. The standard NI color picker has been replaced by one that will only show the legal 221 colors allowed by LabVIEW for icons. My thanks to Justin Goeres for the idea. 2:Key navigation has improved. The key navigation will only set focus to the text boxes to navigate between boxes use the tab, enter, up and down keys. My thanks to boone_93 for the idea. 3:Improved UI. The buttons and current and previous icons have been relocated for a more intuitive look. I have also added tip strips to the buttons and history array. My thanks to ahull for the idea. 4:Random color picker. A random color button has been added to help pick colors. My thanks to Dave Graybeal for the idea. 5: FP auto centers. The icon editor will now open in the center of the primary display. My thanks to tcplomp for the code. 6: The ability to read the text in the icon was added. If the icon to be changed was previously created by this icon editor the program will automatically detect the characters in the icon and convert them back into strings. This function allows for small changes like color changes and spelling mistakes to be changed without having to type all the text over. This one was all mine. 7:Bug with Panel close fixed. When the user presses the x in the upper right corner the editor will shut down gracefully instead of locking up. I made a avi file that shows some of the new features for Version 2.2 which I posted the support thread. Version 2.3: Along with the all the features from version 2.2, version 2.3 has several new features. 1: Icon Sizing and Positioning: Now Icons to be sized smaller than 32x32 by changing the "Rows" and "Width" controls. The icon can then be positioned using the "Position" control. My thanks to tcplomp for the Idea. 2: Static or Auto sizing Icons: If the "Icon Sizing selector is set the Static the icon will only draw the number of row indicated by the "Rows" control. If the selector is set to Auto the icon will adapt to the minimum number of text lines filled in. 3: Selectable Header: The icon header can be removed or enabled by changing the state of the "Header" checkbox. 4: Header and Sizing Information Saved: The header and sizing information are now save in the template files and are displayed at the bottom in the "History" array. The sizing and header settings are shown in the icon text of each template icon when room allows. The history array now saves the last 50 icon templates to the template file 5: Color Picker Will Save Current Color in History: To get the color picker to save a new color in the color history array click on the "Current Color" box and it will be added the color history. 6: Improved Text Fitting: Text fitting inside the icon has been improved 7: Improved Text Recognition: Text recognition of the icon characters had been improved 8: Other Improvments: all key presses are ignored until the icon is created and text is in the string controls. Please feel free to give me feedback. This version has benefited greatly from ideas given to me by coworkers and other programmers. License: Creative Commons Attribution 3.0 License http://creativecommons.org/licenses/by/3.0/ WARRING!!! the current version will not work with LV 8.6 (When the color selector is called the icon editor will lock up) the temporary fix can be found Here |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Approved by crelf on Nov 19 2006, 04:24 AM | |||||||||||||||||||||||
Saved Versions
| Name | Filename | Updated | Operations |
|---|---|---|---|
| Mark Balla's Icon Editor | MBIconeditor_V2.3_LV8.2.zip | 13th August 2008 - 06:01 PM | |
| Mark Balla's Icon Editor Ver 2.2 | MBIconEditorVer_2.2.zip | 9th May 2007 - 09:09 PM | |
| Mark Balla's Icon Editor Ver 2.2 | MB_Icon_Editor_Ver_2.2.zip | 9th May 2007 - 09:07 PM | |
| Mark Balla's Icon Editor Ver 2.1 | mark_balla_icon_editor_21_in_82.zip | 19th November 2006 - 04:20 AM |
|
Code Repository Statistics
| Last ten submissions accepted · Downloads system statistics | |
| 3 user(s) active in the past 15 minutes | |
![]() |
2 guests, 1 members, 0 anonymous members |
| Code Repository Statistics | |
![]() |
We have a total of 74 files in 13 categories A total of 40 unique authors have submitted to our site There have been 28728 logged downloads to date The latest file submitted was Skype SDK by Antoine Châlons (submitted Dec 24 2008, 09:44 AM) |
| Time is now: 6th January 2009 - 12:21 PM |