Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_ui_panels (Read 1318191 times) previous topic - next topic
0 Members and 19 Guests are viewing this topic.

foo_ui_panels

Reply #1525
Thank you soo much for adding !null! to Library Filter. Very good.
Windows 10 Pro x64 // foobar2000 1.3.10

foo_ui_panels

Reply #1526
thanks a lot for sysfont-val terrestrial

foo_ui_panels

Reply #1527
Is there a way to make the window fully glass?

I tried: $glass($div(%_width%,2),$div(%_width%,2),$div(%_height%,2),$div(%_height%,2))

But there's still a tiny circle in the middle of the window.


foo_ui_panels

Reply #1529
Is there a way to make the window fully glass?

I tried: $glass($div(%_width%,2),$div(%_width%,2),$div(%_height%,2),$div(%_height%,2))

But there's still a tiny circle in the middle of the window.

$glass(-1,0,0,0)

foo_ui_panels

Reply #1530
Maybe it's a stupid question but I tried $glass() but there is no effect on my foobar windows. Is this function for VISTA users only or should this be functional with XP too? What am I doing wrong?

foo_ui_panels

Reply #1531
Quote
Maybe it's a stupid question but I tried $glass() but there is no effect on my foobar windows. Is this function for VISTA users only or should this be functional with XP too? What am I doing wrong?
Vista only.

foo_ui_panels

Reply #1532
How can I add a dynamic processing bar in the background of the current playing song?
So I can see how many percent are played already.

foo_ui_panels

Reply #1533
the following code is from the default.pui that comes with panelsUI

Code: [Select]
// PerSecond

$if(%isplaying%,
    $puts(l,$eval({%_width%-192}* %playback_time_seconds% /  %length_seconds%))
    $ifgreater($get(l),0,,$puts(l,1))
    $drawrect(124,$eval(%_height%-18),$eval(%_width%-188),10,pencolor-SYSCOL-18 brushcolor-null)
    $drawrect(126,$eval(%_height%-16),$get(l),6,pencolor-null brushcolor-SYSCOL-13)
)


default.pui and basic.pui both have some simple examples to help you get started
elevatorladylevitateme

foo_ui_panels

Reply #1534
And what must be done to display this bar always behind the whole current track in the SCPL with the possibility to change the size of the window etc. and the position of the song in the playlist and colour it in blue?

foo_ui_panels

Reply #1535
The library filter is really GREAT, however it would be even greater if we have an "autosend to playlist" like on the album list panel and some other behaviour that the album playlist panel has, such as "process keyboard shortcuts" and "autoplay on send to playlist".

Will this be possible or not ?

Keep up the good work
Sorry for the bad english, I'm french .

foo_ui_panels

Reply #1536
And what must be done to display this bar always behind the whole current track in the SCPL with the possibility to change the size of the window etc. and the position of the song in the playlist and colour it in blue?

If you don't have much programming experience and can't figure it out I'd recommend downloading and using someone else's .pui
elevatorladylevitateme

foo_ui_panels

Reply #1537
I also want to say thanks for the !null! function. It would be great if you could send items to playlist by doubleclicking, and adding them with middle click though...

foo_ui_panels

Reply #1538

And what must be done to display this bar always behind the whole current track in the SCPL with the possibility to change the size of the window etc. and the position of the song in the playlist and colour it in blue?

If you don't have much programming experience and can't figure it out I'd recommend downloading and using someone else's .pui


Iam using a nice skin and I want to add it there.

 

foo_ui_panels

Reply #1539
And what must be done to display this bar always behind the whole current track in the SCPL with the possibility to change the size of the window etc. and the position of the song in the playlist and colour it in blue?
the following code is from the default.pui that comes with panelsUI
Code: [Select]
// PerSecond

$if(%isplaying%,
    $puts(l,$eval({%_width%-192}* %playback_time_seconds% /  %length_seconds%))
    $ifgreater($get(l),0,,$puts(l,1))
    $drawrect(124,$eval(%_height%-18),$eval(%_width%-188),10,pencolor-SYSCOL-18 brushcolor-null)
    $drawrect(126,$eval(%_height%-16),$get(l),6,pencolor-null brushcolor-SYSCOL-13)
)
default.pui and basic.pui both have some simple examples to help you get started


DaSilva: Read the default code and reference each function with the wiki to find out what they do.  What this code is doing is drawing a rectangle with a border (pencolor) and no fill (brushcolor) and then filling it with another rectangle with no border but with a different color fill based on the playback position of the current song.

The position of the current song is being calculated in percent by %playback_time_seconds% divided by %length_seconds%. That percentage is then being applied to the desired width %_width%-192.

There is a problem with what do you do with a zero width rectangle so the code tests to see if the percent of the desired width is greater than 0 and if not sets it to 1..

To make the bars appear only for the current track in SCPL, add it to your Track Display code using $if(%isplaying%) undr a // PerSecond header like in the above example.

To change the size and position of the bars you will need to change "%_width%-192", "%_width%-188", "124", "126", "%_height%-18", and "%_height%-16".  To make the bar blue change "SYSCOL-13". To change the color of the border change "SYSCOL-18".

These are rather basic modifications and if you are serious about customizing your own PanelsUI configuration I highly suggest you read the wiki and familiarize yourself with its functions.  Code examples and discussions on their use are littered about the forum, use the search function to find them.

foo_ui_panels

Reply #1540
And what must be done to display this bar always behind the whole current track in the SCPL with the possibility to change the size of the window etc. and the position of the song in the playlist and colour it in blue?
the following code is from the default.pui that comes with panelsUI
Code: [Select]
// PerSecond

$if(%isplaying%,
    $puts(l,$eval({%_width%-192}* %playback_time_seconds% /  %length_seconds%))
    $ifgreater($get(l),0,,$puts(l,1))
    $drawrect(124,$eval(%_height%-18),$eval(%_width%-188),10,pencolor-SYSCOL-18 brushcolor-null)
    $drawrect(126,$eval(%_height%-16),$get(l),6,pencolor-null brushcolor-SYSCOL-13)
)
default.pui and basic.pui both have some simple examples to help you get started


DaSilva: Read the default code and reference each function with the wiki to find out what they do.  What this code is doing is drawing a rectangle with a border (pencolor) and no fill (brushcolor) and then filling it with another rectangle with no border but with a different color fill based on the playback position of the current song.

The position of the current song is being calculated in percent by %playback_time_seconds% divided by %length_seconds%. That percentage is then being applied to the desired width %_width%-192.

There is a problem with what do you do with a zero width rectangle so the code tests to see if the percent of the desired width is greater than 0 and if not sets it to 1..

To make the bars appear only for the current track in SCPL, add it to your Track Display code using $if(%isplaying%) undr a // PerSecond header like in the above example.

To change the size and position of the bars you will need to change "%_width%-192", "%_width%-188", "124", "126", "%_height%-18", and "%_height%-16".  To make the bar blue change "SYSCOL-13". To change the color of the border change "SYSCOL-18".

These are rather basic modifications and if you are serious about customizing your own PanelsUI configuration I highly suggest you read the wiki and familiarize yourself with its functions.  Code examples and discussions on their use are littered about the forum, use the search function to find them.


Thank you.
Now I have it like I wanted it!

foo_ui_panels

Reply #1541
ugh.. I can't believe how lost I am with this panels_ui...
most important thing is.. how do I get library filter to work?!?! I only switched to panels ui because of it...
I added a LF panel with default settings and all i get is a black background. when I select something it gets highligthted in gray, but the rest remains black. Changing the background color in the layout filter display does nothing..

can someone please shed some light on my total darkness??

thanks

foo_ui_panels

Reply #1542
I haven't played around with the LF yet. However I noticed a section on the Library filter was added to the wiki. Maybe that might help you a bit.

foo_ui_panels

Reply #1543
ugh.. I can't believe how lost I am with this panels_ui...
most important thing is.. how do I get library filter to work?!?! I only switched to panels ui because of it...
I added a LF panel with default settings and all i get is a black background. when I select something it gets highligthted in gray, but the rest remains black. Changing the background color in the layout filter display does nothing..

can someone please shed some light on my total darkness??

thanks


The background color is weird. It adjusts to your background color, so if you draw a rectangle behind it and you make that white, rightclick > reset the library filter and it'll turn white.

hope that helps

foo_ui_panels

Reply #1544
First, what exactly is "%groupedcount%"?

terestrial:
* Bug: The background color setting of library filter is not working for me, no matter what color I set it to, it's just transparent (just the color of the rectangle I've drawn underneath it)
Feature requests:
* A way in the Library Filter preferences to move filtering criteria up and down, or an option to insert a new criterion in a particular spot (I've found myself having to copy/paste large chunks of text between criteria as a workaround)
* Option to have nodes at a certain level expand all children when clicked.  This would allow for grouping without needing to click through multiple layers to get there.
* Ability to play a track from Library Filter by double clicking (you already can do this by right clicking and selecting "Play" from the context menu)

foo_ui_panels

Reply #1545
Some requests:
- Transparency in main Panels UI layout
- Drag & Drop in Library Filter

foo_ui_panels

Reply #1546
Request:

Would it be possible to have something that can be pressed, that will exit out foobar, and reload foobar with the specified layout?

For example:

I generally use a columns UI layout, but go check out Panels UI every once in a while. To do this, I need to go into my preferences, change to the Panels UI layout, exit foobar, then if need be, load the desired .pui.

So a button that when pressed, exits foobar, switches the UI to Panels (or columns) and loads the desired .pui (defined by the layouts name so columns is compatible).

$button2(DstX,DstY,X,Y,W,H,TEXT[OR IMAGE],HOVER TEXT [OR IMAGE],LAYOUT:PANELS[or columns]:NAME,OPTIONS)

does that make sense? Is this even possible?
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #1547
Request:

Drag & Drop like every other player has.

foo_ui_panels

Reply #1548
First, what exactly is "%groupedcount%"?

terestrial:
* Bug: The background color setting of library filter is not working for me, no matter what color I set it to, it's just transparent (just the color of the rectangle I've drawn underneath it)
Feature requests:
* A way in the Library Filter preferences to move filtering criteria up and down, or an option to insert a new criterion in a particular spot (I've found myself having to copy/paste large chunks of text between criteria as a workaround)
* Option to have nodes at a certain level expand all children when clicked.  This would allow for grouping without needing to click through multiple layers to get there.
* Ability to play a track from Library Filter by double clicking (you already can do this by right clicking and selecting "Play" from the context menu)


That would be cool, you can use the libary filter as a playlist then and since I only use one playlist it would make things a bit more simple can it also made possible that the entire child is loaded so if the song is ended fooobar switches to the next.

I also would like to browse by directory structure in the library filter