<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Post your cool buttons and controls in BreakPoint</title>
    <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778615#M30563</link>
    <description>&lt;P&gt;I've noticed the the "classic" flat buttons can actually be colored using the paintbrush in LabVIEW on different picture items. But, this is only a 4-state button. When I use a system button, which has 6-states, I can't color with the paintbrush. I have to "import from file" (or use those file editing methods) to import 6 different pictures made in powerpoint or inkscape. Has anyone found a way to color these in LabVIEW?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 21:01:27 GMT</pubDate>
    <dc:creator>Gregory</dc:creator>
    <dc:date>2018-04-09T21:01:27Z</dc:date>
    <item>
      <title>Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3777818#M30555</link>
      <description>&lt;P&gt;I've always found it fun to make nice looking UIs in LabVIEW, but it often gets left until we have some "free time". I was inspired by drjdpowell's and JKI's flat controls to make my buttons look a little nicer. I was also looking through &lt;A href="https://material.io/icons/" target="_self"&gt;Google's material icons&lt;/A&gt;&amp;nbsp;(a great resource of icons that can be used freely) and reading through their design philosophy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I liked the monochrome look of the JKI buttons, which seem great for touch UIs, but they are a little bulky for desktop apps, and they don't do anything when you hover over them. So I made some buttons to address these:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see a couple of the different states in this picture. The 1st is depressed, 2nd is unpressed, and 3rd is hovered unpressed.&lt;/P&gt;
&lt;P&gt;Picture only is 44px x 44px designed for a 36px icon.&lt;/P&gt;
&lt;P&gt;Pic + Text is 36px high design for a 24px icon.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 608px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/226006i9A018CCF82F977CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share some of the elements that make your UIs cool!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 16:36:17 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3777818#M30555</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-06T16:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778328#M30556</link>
      <description>&lt;P&gt;I posted a tool on LAVA for making vector based buttons.&amp;nbsp; This makes for buttons that can be resized and have their decal resize properly too.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5929e284e4eb2_VectorBooleanControlCreator.png.58b2a7cadc629362f0372de961e199f9.png" style="width: 334px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/226073i0723C248D31410DF/image-dimensions/334x338?v=v2" width="334" height="338" role="button" title="5929e284e4eb2_VectorBooleanControlCreator.png.58b2a7cadc629362f0372de961e199f9.png" alt="5929e284e4eb2_VectorBooleanControlCreator.png.58b2a7cadc629362f0372de961e199f9.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lavag.org/topic/20145-vector-boolean-creator/" target="_blank"&gt;https://lavag.org/topic/20145-vector-boolean-creator/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also works with searching, and creates buttons in various styles.&amp;nbsp; The decals are from an a library if included SVGs, and more can be added.&amp;nbsp; Most of the includes ones come from &lt;A href="https://www.flaticon.com/" target="_self"&gt;FlatIcon.&lt;/A&gt; &amp;nbsp;Here is a video.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.screencast.com/t/RYcs1nTBU" target="_blank"&gt;https://www.screencast.com/t/RYcs1nTBU&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 12:52:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778328#M30556</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-09T12:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778506#M30557</link>
      <description>&lt;P&gt;That's awesome! It is way too tedious to import the decals right now... I was trying to figure out a way to edit the "picture item" programatically (the ones you can modify to control how the button looks when unpressed and depressed, etc.) but I haven't figured it out yet.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 16:01:17 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778506#M30557</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-09T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778510#M30558</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/172572"&gt;@Gregory&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I was trying to figure out a way to edit the "picture item" programatically (the ones you can modify to control how the button looks when unpressed and depressed, etc.) but I haven't figured it out yet.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well you can look at the source which is open and it shows one way it can be done.&amp;nbsp; This method uses a call to the LabVIEW internal function to load resource files, then modifies the WEMF section which corresponds to the EMF decal button, then saves that back with another internal call.&amp;nbsp; I'm guessing the other button states can be modified by editing other blocks of data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There also used to be a cool tool that you would upload a control to a website, and it would be edited and sent back to you.&amp;nbsp; It was a premium service and could only do so many controls for free.&amp;nbsp; I saw this in action and it was fascinating.&amp;nbsp; It would look for newly uploaded controls, then invoke the keyboard and mouse to programatically do the work you would normally do to edit the control replacing the images, then send the newly edited control back.&amp;nbsp; I remember seeing this in action on the NI Week expo floor and I told it's creator, "I don't know if I respect you more, or less having now known how the tool works."&amp;nbsp; I can't seem to find the tool or its creator at the moment.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 16:15:41 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778510#M30558</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-09T16:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778519#M30559</link>
      <description>&lt;P&gt;Is that the &lt;A href="https://www.studiobods.com/en/controlsgenerator/" target="_self"&gt;Studio Bods&lt;/A&gt;&amp;nbsp;program? I downloaded that one but I didn't like having to wait for the file to be sent back to me.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 16:41:12 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778519#M30559</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-09T16:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778528#M30560</link>
      <description>&lt;P&gt;That's the one.&amp;nbsp; I suspect part of the reason why this code couldn't be just shared was due to the tight coupling between the OS and its settings, and what keyboard and mouse actions did what.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 16:52:33 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778528#M30560</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-09T16:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778568#M30561</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/74523"&gt;@Hooovahh&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I posted a tool on LAVA for making vector based buttons.&amp;nbsp; This makes for buttons that can be resized and have their decal resize properly too.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Have you tested this on Windows 10? When I open the "Initialize Explorer.vi" it has some broken refnums and I'm afraid it might be due to the OS.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 18:26:00 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778568#M30561</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-09T18:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778578#M30562</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/172572"&gt;@Gregory&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/74523"&gt;@Hooovahh&lt;/a&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Have you tested this on Windows 10?&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I have not and if you are having issues I suspect you are right.&amp;nbsp; I tried making a pure G version but gave up after performance was terrible, wish I had time to look into making it more native.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 19:04:41 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778578#M30562</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-09T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778615#M30563</link>
      <description>&lt;P&gt;I've noticed the the "classic" flat buttons can actually be colored using the paintbrush in LabVIEW on different picture items. But, this is only a 4-state button. When I use a system button, which has 6-states, I can't color with the paintbrush. I have to "import from file" (or use those file editing methods) to import 6 different pictures made in powerpoint or inkscape. Has anyone found a way to color these in LabVIEW?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 21:01:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778615#M30563</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-09T21:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778616#M30564</link>
      <description>&lt;P&gt;System things have lots of restrictions.&amp;nbsp; Having the 6 states is likely a feature of the OS, and as a result likely can't have certain things changed.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 21:03:28 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778616#M30564</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-09T21:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778623#M30565</link>
      <description>&lt;P&gt;The system controls actually do support colour, but only &lt;U&gt;one&lt;/U&gt; colour.&amp;nbsp; If you substitute colourable shapes for multiple states then all shapes have the same colour.&amp;nbsp; You can also add colourable shapes as decals.&amp;nbsp; My latest Flatline buttons support on and off state colouring in these ways, with hover states being supplied by partly-transparent PNGs.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 21:16:37 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778623#M30565</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2018-04-09T21:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778996#M30566</link>
      <description>&lt;P&gt;My “coolest” button from &lt;A href="http://sine.ni.com/nips/cds/view/p/lang/en/nid/214808" target="_self"&gt;Flatline Controls&lt;/A&gt; is actually a modified Radio-Buttons control. &amp;nbsp;Colorable, dividing lines, and hover state (bottom “Option 3” is hover state):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Segmented buttons.png" style="width: 374px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/226170iFBEC072B37BD21A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Segmented buttons.png" alt="Segmented buttons.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Perfected&amp;nbsp;with the assistance of&amp;nbsp;&lt;SPAN&gt;Christina Rodgers from NI.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:44:09 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3778996#M30566</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2018-04-10T13:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779004#M30567</link>
      <description>&lt;P&gt;I do love that radio button and have used it on a couple projects, so kudos are in order.&amp;nbsp; I used it in place of a tab on a touch panel where the tabs would be quite small.&amp;nbsp; In my code all it did was change the value of the tab, and/or insert a VI into a subpanel.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:49:08 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779004#M30567</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2018-04-10T13:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779217#M30568</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/66277"&gt;@drjdpowell&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;You can also add colourable shapes as decals.&amp;nbsp; My latest Flatline buttons support on and off state colouring in these ways, with hover states being supplied by partly-transparent PNGs.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hi drjdpowell,&lt;/P&gt;
&lt;P&gt;I imported a "Flat Box" as a decal. But, I have a couple questions:&lt;/P&gt;
&lt;P&gt;The flat box decal resizes separately from the rest of the button (see below), how do I fix this?&lt;/P&gt;
&lt;P&gt;How does it support on and off state colouring? Do you need multiple decals?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 212px;"&gt;&lt;img src="https://forums.ni.com/t5/image/serverpage/image-id/226212iCCD4D9B6DD95BD71/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:51:12 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779217#M30568</guid>
      <dc:creator>Gregory</dc:creator>
      <dc:date>2018-04-10T18:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779251#M30569</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/172572"&gt;@Gregory&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/66277"&gt;@drjdpowell&lt;/a&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The flat box decal resizes separately from the rest of the button (see below), how do I fix this?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://forums.ni.com/t5/UI-Interest-Group-Discussions/Decoration-hidden-menus/td-p/3468757" target="_self"&gt;enableSecretPopups=True&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;How does it support on and off state colouring? Do you need multiple decals?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The decal sits behind the main button. &amp;nbsp;The button itself has a 100% transparent PNG in the Off state, so the colour of the decal is the colour of OFF. &amp;nbsp;The On state is a colorable box, placed precisely so it&amp;nbsp;covers over the decal colour when On. &amp;nbsp; Hover states are semi-transparent black PNGs (about 10-30% transparent, so they darken the Off-state colour underneath). &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:41:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779251#M30569</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2018-04-10T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Post your cool buttons and controls</title>
      <link>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779279#M30570</link>
      <description>&lt;P&gt;Here’s a talk I gave on this stuff a while ago, though it describes an older button design:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=q7J2xvANj48" target="_self"&gt;eCLA 2017: Flatline Controls&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 21:03:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/Post-your-cool-buttons-and-controls/m-p/3779279#M30570</guid>
      <dc:creator>drjdpowell</dc:creator>
      <dc:date>2018-04-10T21:03:07Z</dc:date>
    </item>
  </channel>
</rss>

