Comments on: PanelsUI Tabs http://www.fooblog2000.com/2007-02/panelsui-tabs/ Foo for thought Mon, 16 Nov 2009 12:26:08 +0000 hourly 1 By: nbanyan http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-1987 nbanyan Sat, 22 Sep 2007 23:26:56 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-1987 Has anyone considered creating a UI designer to create pui files visually? It would streamline UI creation for those of us who don't have the time to learn the code. Has anyone considered creating a UI designer to create pui files visually? It would streamline UI creation for those of us who don’t have the time to learn the code.

]]>
By: otter http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-222 otter Sat, 24 Mar 2007 18:51:11 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-222 How do I use the .pui file? How do I use the .pui file?

]]>
By: D.J.Yeh http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-55 D.J.Yeh Wed, 28 Feb 2007 06:04:36 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-55 Three things: 1.My previous reply was wrong. The $setpvar should be under // Background. If under Global or PerTrack the buttom won't reply to your click, and under PerSecond it will automatically return to your first panel settings everytime you do some actions(play a new track, add something to playlist...etc). 2.I noticed that if a button's width isn't enough for the text, the text won't show up. This happens especially when you use %_width% to define the button's width. 3.I'm wondering if I can just define the pvar from 1 instead of 0: That way I don't need $select($add($getpvar(...),1), I can just $select($getpvar(...), Three things:
1.My previous reply was wrong. The $setpvar should be under // Background. If under Global or PerTrack the buttom won’t reply to your click, and under PerSecond it will automatically return to your first panel settings everytime you do some actions(play a new track, add something to playlist…etc).
2.I noticed that if a button’s width isn’t enough for the text, the text won’t show up. This happens especially when you use %_width% to define the button’s width.
3.I’m wondering if I can just define the pvar from 1 instead of 0: That way I don’t need $select($add($getpvar(…),1), I can just $select($getpvar(…),

]]>
By: FofR http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-26 FofR Sat, 24 Feb 2007 19:58:06 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-26 RE: Code. I shall try an get a code tag added when I get some time. RE: Buttons not showing up - I have not defined a colour for the button text, your text may conflict with your background and appear invisible. Do they still work when you click them? Try adding a colour, changing the font and the positioning. RE: Code. I shall try an get a code tag added when I get some time.

RE: Buttons not showing up – I have not defined a colour for the button text, your text may conflict with your background and appear invisible. Do they still work when you click them? Try adding a colour, changing the font and the positioning.

]]>
By: Yotsuya http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-24 Yotsuya Sat, 24 Feb 2007 17:32:39 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-24 Here's a bit of code I whipped up for someone the other day I thought you might find helpful. A single button that will flip through all the different panels (adjusted to fit your example): $button2(0,160,0,0,140,14,Mode,MODE,PVAR:SET:display.mode: $ifgreater($getpvar(display.mode),1,0,$add($getpvar(display.mode),1)) ,) (it's rather awkward posting lengthy code in this blog) Here’s a bit of code I whipped up for someone the other day I thought you might find helpful. A single button that will flip through all the different panels (adjusted to fit your example):
$button2(0,160,0,0,140,14,Mode,MODE,PVAR:SET:display.mode:
$ifgreater($getpvar(display.mode),1,0,$add($getpvar(display.mode),1))
,)

(it’s rather awkward posting lengthy code in this blog)

]]>
By: wraithdu http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-23 wraithdu Sat, 24 Feb 2007 15:29:44 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-23 EDIT: Yep, the dividing ',' must also be in a PerTrack section. Also be careful where you use // Background as some things won't show up as the $select() is evaluated. EDIT: Yep, the dividing ‘,’ must also be in a PerTrack section. Also be careful where you use // Background as some things won’t show up as the $select() is evaluated.

]]>
By: wraithdu http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-22 wraithdu Sat, 24 Feb 2007 15:20:39 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-22 It seems that if you have sections (// PerTrack, etc.) defined that the $select() function must be in a // PerTrack section. This includes the closing ')'. I'm not sure about the ',' that break up the $select() since I haven't got that far yet in my alternate layout. I will know soon though. I think this is because the // sections carry through any code divisions. IE a // Background section inside the $select() code will still be in effect outside the $select() until it's changed. It seems that if you have sections (// PerTrack, etc.) defined that the $select() function must be in a // PerTrack section. This includes the closing ‘)’. I’m not sure about the ‘,’ that break up the $select() since I haven’t got that far yet in my alternate layout. I will know soon though.

I think this is because the // sections carry through any code divisions. IE a // Background section inside the $select() code will still be in effect outside the $select() until it’s changed.

]]>
By: Stefan http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-21 Stefan Sat, 24 Feb 2007 13:13:02 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-21 i've download your .pui file.. it works fine.. but i can't see the text buttons.. i've already figured out where they should be and i can switch the tabs but the text doesn't show up.. i’ve download your .pui file.. it works fine.. but i can’t see the text buttons.. i’ve already figured out where they should be and i can switch the tabs but the text doesn’t show up..

]]>
By: FofR http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-19 FofR Sat, 24 Feb 2007 10:44:27 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-19 I have added a download link to an example .pui file. This works out of the box on my foobar2000. You must have the latest PanelsUI or $eval will not work correctly. I have added a download link to an example .pui file. This works out of the box on my foobar2000. You must have the latest PanelsUI or $eval will not work correctly.

]]>
By: D.J.Yeh http://www.fooblog2000.com/2007-02/panelsui-tabs/comment-page-1/#comment-18 D.J.Yeh Sat, 24 Feb 2007 09:37:26 +0000 http://www.fooblog2000.com/2007-02/panelsui-tabs#comment-18 After an hour of trial and error I finally realised that I need to put $setpvar(display.mode,0) under // PerSecond After an hour of trial and error I finally realised that I need to put $setpvar(display.mode,0) under // PerSecond

]]>