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 1295573 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

foo_ui_panels

Reply #351
Just thought I would say, $eval is brilliant, thanks ever so much for this function alone.

What is it for? The wiki is not too clear. 


foo_ui_panels

Reply #353
$eval is very nice, shortening the code and making it more readable

foo_ui_panels

Reply #354
Code: [Select]
$padding(10,0)

$alignabs(10,0,%_width%,21,left,top)

$if(%_isplaying%,$font(tahoma,8,bold,200-200-200),$font(tahoma,8,bold,110-110-110))

[%discnumber%][$num(%track%,2) - ]

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))

$if($meta_test(album artist),%artist%' - ')

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))
%title%[' ['%sub title%']']

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))
$align(right,center)%length%


how can i edit this so the background (and only the background) changes to a different color when it is selected?

foo_ui_panels

Reply #355
Code: [Select]
$padding(10,0)

$alignabs(10,0,%_width%,21,left,top)

$if(%_isplaying%,$font(tahoma,8,bold,200-200-200),$font(tahoma,8,bold,110-110-110))

[%discnumber%][$num(%track%,2) - ]

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))

$if($meta_test(album artist),%artist%' - ')

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))
%title%[' ['%sub title%']']

$if(%_isplaying%,$font(tahoma,9,,200-200-200),$font(tahoma,9,,110-110-110))
$align(right,center)%length%


how can i edit this so the background (and only the background) changes to a different color when it is selected?


Here's an example:
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-30-30-30 pencolor-60-60-60)

foo_ui_panels

Reply #356
Also, in your $align() statement, the second parameter has to be top, middle, or bottom.  Not center as in your example.

foo_ui_panels

Reply #357
BUG: Placing a seekbar toolbar on top of a Track Display panel appears to suffer from the same flickering refresh problems that the spectrum analyser once did. Spectrum analyser now works well, is anyone else noticing the flickering on the seekbar?

foo_ui_panels

Reply #358
BUG: Placing a seekbar toolbar on top of a Track Display panel appears to suffer from the same flickering refresh problems that the spectrum analyser once did. Spectrum analyser now works well, is anyone else noticing the flickering on the seekbar?

Actually, I'm still getting the flickering for the spectrum analyser on top of the track display.
What did you do to remedy this?
I have the lated foo_ui_panels
- FLAC/200GB external
- AAC 128 vbr/local
- iPod Nano 2G 8GB

foo_ui_panels

Reply #359
Since TIM is no longer supported seperately, any chance ui panels supports a vertical scollbar?

foo_ui_panels

Reply #360
If foobar is still open and I reboot or close it from the taskbar, the next time I open it it will  show up only in the taskbar. I close it and open it again and it will show up resized to the original state of the plugin.

foo_ui_panels

Reply #361
Foobar seems to crash about 80-90% of the time when I try to open the Panels UI configuration dialog. Is anyone else experiencing this problem? If I keep trying it eventually opens but I gotta go cleanup all the failure.txt files from my foobar directory and it's a bit annoying.

foo_ui_panels

Reply #362
^I've only had problems with stability and panels_ui when trying to use the playlist_tree component.

Now I have a question. Is it possible to use a $select in the SCPL 'Group by' code and change settings there with a $getpvar? It doesn't seem to be working for me at least. :/

foo_ui_panels

Reply #363
Seeing the amazing potential of this plugin i was wondering if there would be a way to implement the possiblity to change a Pvar by a keyboard shortcut.

Thanks for this amazing plugin

foo_ui_panels

Reply #364
Foobar seems to crash about 80-90% of the time when I try to open the Panels UI configuration dialog. Is anyone else experiencing this problem? If I keep trying it eventually opens but I gotta go cleanup all the failure.txt files from my foobar directory and it's a bit annoying.

I got the same problem as i posted.
Hope This can be solved in the future version.

foo_ui_panels

Reply #365
couple things. when stopped not playing the top track info doesnt show is there a way for me to keep it so the top track info is always displayed?. and also where i have the time its setup centered like

artist
title
-time/length    <- what would i put for code to keep it still centered but have a progbar for just pure looks ? so it went like - time remain [    prog bar    ] length
Code: [Select]
$glass(0,0,0,30)

$puts(yOffset,0)

// PerSecond
$if(%_trackinfo_notrack%,
$glass(0,0,0,30)
,
$puts(yOffset,105)
$glass(0,0,105,30)
$alignabs(0,0,%_width%,105,center,middle)$font(Swis721 Cn BT D-Type,13,bold,98-105-113)
%artist%$char(10)
$font(calibri,12,bold,120-120-120)%title%$char(10)
$font(calibri,12,bold,120-120-120)- [%playback_time_remaining%] / [%length%]$char(10)
)

// EQ
$panel(Spectrum,Spectrum analyser,364,68,120,33,)

// Top Album Art
$imageabs2(100,100,0,0,100,100,0,0,'c:\users\Todd\appdata\roaming\foobar2000\images\noalbum.png',)
$imageabs2(100,100,0,0,100,100,0,0,$replace(C:\Program Files\foobar2000\album art\%artist% - %album%.jpg,,?,),)
$imageabs2(100,100,0,0,100,100,0,0,$replace(%path%,%filename_ext%,)folder.jpg,NOKEEPASPECT)
$imageabs2(100,100,0,0,100,100,0,0,'c:\users\Todd\appdata\roaming\foobar2000\images\artoverlay2.png',)

// Single Column Playlist
$panel(Playlist,Single Column Playlist View,0,$get(yOffset),%_width%,$sub(%_height%,$add($get(yOffset),50)),)


// Menu/Seek/Playlist/Quicksearch
$drawrect(0,$sub(%_height%,50),$sub(%_width%,25),20,pencolor-255-255-255 brushcolor-255-255-255)
$select($add($getpvar(display.bar),1),
$panel(Progress,Seekbar,0,$sub(%_height%,50),$sub(%_width%,25),20,)
,
$panel(Menu,Menu,0,$sub(%_height%,50),$sub(%_width%,25),20,)
,
$panel(Playlists,Playlists Dropdown,0,$sub(%_height%,50),$sub(%_width%,25),20,)
,
$panel(Quick Search Toolbar,Quick Search Toolbar,0,$sub(%_height%,50),$sub(%_width%,25),20,)
)

$drawrect($sub(%_width%,20),$sub(%_height%,50),20,20,pencolor-255-255-255 brushcolor-255-255-255)
$button2($sub(%_width%,20),$sub(%_height%,50),0,0,20,20,  x, X,PVAR:SET:display.bar:
$ifgreater($getpvar(display.bar),2,0,$add($getpvar(display.bar),1))
,)

// Buttons
$button(0,$sub(%_height%,24),0,0,0,0,images\panbutt\prevb.png,,previous,nobkgnd)
$button(45,$sub(%_height%,28),0,0,0,0,images\panbutt\playb.png,,play or pause,nobkgnd)
$button(78,$sub(%_height%,23),0,0,0,0,images\panbutt\nextb.png,,next,nobkgnd)

$button(212,$sub(%_height%,20),0,0,0,0,images\panbutt\voldown.png,,volume down,nobkgnd)
$button(229,$sub(%_height%,25),0,0,0,0,images\panbutt\eq.png,,equalizer,nobkgnd)
$button(262,$sub(%_height%,22),0,0,0,0,images\panbutt\volup.png,,volume up,nobkgnd)

$button(303,$sub(%_height%,21),0,0,0,0,images\panbutt\open.png,,open...,nobkgnd)
$button(330,$sub(%_height%,22),0,0,0,0,images\panbutt\radio.png,,add location...,nobkgnd)
$button(460,$sub(%_height%,22),0,0,0,0,images\panbutt\prefs.png,,preferences,nobkgnd)

// Bottom Track Info
//$if(%_isplaying%,
//$panel(Info,Track Display,0,$sub(%_height%,140),%_width%,140,)
//,)

foo_ui_panels

Reply #366
djtoodles: according to the code you pasted, you do not have a top track info panel, you have instead coded your track info code directly into the master panels ui layout. You have placed your track information inside this if statement:

$if(%_trackinfo_notrack%,
$glass(0,0,0,30)
,
// track information code here //
)

That is explicitly telling foobar only to show the track information when %_trackinfo_notrack% is false, or in other words when a track is playing. If you want that data to be displayed at all times then take it outside of that if statement.

foo_ui_panels

Reply #367
Bug Report.
* Correct foobar icon isn't displayed when pressing alt+tab.
* When foobar is minimized and there is a trackchange the tite formating in the taskbar isn't updated. It will display the same track until foobar is restored from minimized state.
* Using $drawrect pencolor-null brushcolor-[color] with the height set to 1 result in the $drawrect beeing 2px. While if I use pencolor insetad and bruchcolor-null the height is correct (1px).
* In the SCPL settings the '(' and ')' are not highlited blue when the cursor is next to them as in the other configuration windows.
* Buttons that shouldn't be are highlighted blue (default) in the configuration windows. (color of highlight depends on the theme in use)
* Foobar window sometimes start offscreen and resized to the smallest possible size. Rightclicking the taskbar and more it with arrow keys bring it back on screen. This seem to happen if I app/remove components.
* When stretching an image the last pixels to the right looks weird when it's stretched very far. See image below. (Yellow line) (I pasted the left part which looks correct up the the right.)
[a href="http://imageshack.us" target="_blank"]
* I also agree with carmenm (a few posts above). Pvar by a keyboard shortcut, would be very nice.

foo_ui_panels

Reply #368
Another small bug, nothing major. If '%' (literally display percent sign) is used in the Configuration dialog code, the syntax highlighting is thrown completely off as it appears to treat the % as the beginning of a variable despite being enclosed in ticks for literal display. If changed to $char(37) the highlighting is restored to what is normally expected.

foo_ui_panels

Reply #369
I've tried PanelsUI and found that album art inside playlist is easily ruined if one of the tracks is missing. Like, if you don't have the first few tracks album art will have its top part cut (corresponding to the rows for tracks that 'should' be there).

I gather that there have been a limitation of that sort in ColumsUI (that is, it cannot look ahead and see how much tracks you have, only blindly assigning 1 row for 1 track, so missing tracks = missing rows for anything it tries to display alogside the tracklist).

So, is that problem still not solved?

 

foo_ui_panels

Reply #370
use %totaltrack% and an if statement eg if %totaltracks% greater than 4 show album art

foo_ui_panels

Reply #371
%_itemcount% is more reliable than %totaltracks%
elevatorladylevitateme


foo_ui_panels

Reply #373
I am in the process of making a white theme for my configuration, in the process some strange black lines have turned up which I would rather not have:


Did you fill your PanelsUI window with a background color first?