Recommended Posts

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

you could always, you know, use columns.

How about share your config? :yes:

Alright....

Panels UI Config:

// Background
$glass(8,8,95,24)

// PerTrack

$panel(Playlist,Single Column Playlist,8,116,$sub(%_width%,16),$sub(%_height%,140),)
$panel(ButtonsControl,Buttons,8,$sub(%_height%,22),144,24,)
$panel(Seekbar,Seekbar,142,$sub(%_height%,22),$sub(%_width%,200),24,)
$panel(Volume,Volume,$sub(%_width%,48),$sub(%_height%,22),40,24,)
$panel(Vis,Spectrum analyser,$sub(%_width%,28),28,20,60,)

$puts(cover,$replace(%path%,%filename_ext%,cover.jpg))
$puts(gloss,C:\Program Files\foobar2000\images\CD Case\gloss.png)
$puts(cd,C:\Program Files\foobar2000\images\CD Case\cd.png)
$puts(case,C:\Program Files\foobar2000\images\CD Case\case.png)

$imageabs2(100,93,,,,,8,0,$get(case),)
$if(%isplaying%,$imageabs2(82,82,,,,,54,6,$get(cd),)
$imageabs2(84,85,,,,,19,4,$get(cover),nokeepaspect)
$imageabs2(100,93,,,,,9,0,$get(gloss),alpha-160),)

$if(%isplaying%,
$font(Corbel,12,,SYSCOL-0)
$alignabs(144,4,$sub(%_width%,168),22,left,top)
[%artist%]
$font(Corbel,9,,SYSCOL-0)
$alignabs(144,72,$sub(%_width%,168),32,left,top)
[%date%]
$alignabs(144,40,$sub(%_width%,168),32,left,middle)
[%album%]
$alignabs(144,16,$sub(%_width%,168),32,left,middle)
[%title%],)

SCPL Group Display (still em3's layout)

Row Height 20, edge: none

$font(Calibri,8,,)
$puts(tracktitle,
	$if($meta_test(artist),%artist%,$substr(%_filename%,1,$sub($strstr(%_filename%, - ),1)))
	$if($or($meta_test(artist,title),$strstr(%_filename%, - )), - )
	$if($or($meta_test(title),$not($strstr(%_filename%, - ))),
	%title%,$substr(%_filename%,$add($strstr(%_filename%, - ),3),$len(%_filename%))))

$puts(li,$calcwidth(%list_index%))
$puts(margins,$sub(%_width%,55,$add($get(li),16)))
$puts(charWidth,$div($calcwidth($get(tracktitle)),$len($get(tracktitle))))

$ifequal($mod(%_itemindex%,2),0,,$drawrect(0,0,0,0,pencolor-0-0-0 alpha-6))
$imageabs2($add($get(li),10),%_height%,0,0,0,0,0,0,images\li1.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\li2.png,)

$if(%_selected%,
$imageabs(0,0,images\sel1.png,)
$imageabs2($add($get(li),9),%_height%,0,0,0,0,2,0,images\sel2.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\sel3.png,)
$imageabs2(%_width%,%_height%,0,0,0,0,$add($get(li),11),0,images\sel4.png,nokeepaspect)
$imageabs($sub(%_width%,2),0,images\sel5.png,))

$padding(4,3)$align(left,top)
$if(%_selected%,$font(,,,0-77-153),$font(,,,0-0-0))
$if(%isplaying%,$imageabs($sub($div($add($get(li),11),2),6),4,images/playing.png,),%list_index%.)

$alignabs($add($get(li),16),3,%_width%,20,left,top)
$ifgreater($calcwidth($get(tracktitle)),$get(margins),
	$left($get(tracktitle),$sub($sub($len($get(tracktitle)),$div($sub($calcwidth($get(tracktitle)),$get(margins)),$get(charWidth))),3))'...'
	,$get(tracktitle))

$align(right,top)%length%

Images (have to be in foobar2000\images\) and Buttons below...

Well, guess that's it :)

images.zip

Foobar_Buttons_Silk.zip

There's a new HA thread for that, if you want to share it there, too:

http://www.hydrogenaudio.org/forums/index....showtopic=52890

Using panels, is there a way to get the playback order drop down? I tried figuring out the control ID, but was clueless.
the Panel name is Playback order
the Panel name is Playback order

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

That's because the track info panel is using normal GDI+ text drawing as far as I can tell. Terrestrial would need to add support for DrawThemeTextEx in order to draw the text like the title bar text on Vista. If not, he can always use GDI+ to draw text into a GraphicsPath at 1/5th size and then transform it back to normal size to create the blur, then draw the normal text over that. I can provide sample code as used in NeoCleaner.

I've got this problem with my foobar such that whenever i click on a plylist tree item or a foo_browser item, it doesn't display in the colums panel. i have to use the search before it is disaplyed. anyone knows how i should go about solving this? Thanks.

In preferences for each component make sure you've got Automatically activate ticked

(found under where you choose the playlist name).

Just an FYI for anybody who hasn't figured it out, you can't use black text on the glass parts in Panels UI. The closer to black you get the more transparent it gets. It kinda sucks... So I went ahead and I'm building a bit of a different look. I'll post a screenshot when I'm all done.

Also, quick question, is there anyway with cwb_hooks or just regular variables to find out if repeat is turned on?

EDIT: Alright, so I discovered %cwb_playback_order%... Does this only allow for one option at a time? Does foobar not allow for shuffle and repeat playlist at the same time?

Edited by pixels
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It depends on how technical of an answer you want. Does it stop manufacture drivers? Yes, the universal driver is the only thing that interfaces with the printer hardware. However, print support apps (PSAs) are the new way to provide that functionality you speak of, and they integrate directly into the print dialog box, so the user doesn't see any difference at all. This is nothing new...this has been the preferred way to do print drivers for almost 8 years! The only thing changing here is that the older printer model drivers of the past are being deprecated. I highly suspect that you yourself have installed a print support app described as a driver package from the manufacture's support page, had it work exactly as expected, without realizing it was using the universal IPP driver under the covers. For example, USB keyboards have all used the generic HID driver for just about as long as they have existed, but that doesn't stop manufacture "drivers" from enabling more features.
    • https://www.neowin.net/news/microsofts-captionbot-will-try-to-caption-any-picture---as-long-as-hitlers-not-in-it/ The early days of "AI"!
    • Wow..... 1.8GB of RAM usage. That's just a bit more than MS Teams or VS Code uses.
    • its slower than ever. especially on mobile ios. really poor app. Slack is a million times better. shame the company i work for moved from Slack to teams few years back. was like moving from 2026 to windows ME.
    • Manufacturers will be able to ship printer-specific functions through their support apps (their companion software, in other words). But no, drivers won't be needed from them anymore, only the universal one included with Windows. Think about this as printers all agreeing to a stardandized API for common functions, all talking the same language and supporting the most common functionality via that API, so only a single driver is needed to talk to them. Any additional functionality not handled by that driver will be provided by the companion software for the printer.
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      531
    2. 2
      PsYcHoKiLLa
      209
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      99
    5. 5
      ATLien_0
      82
  • Tell a friend

    Love Neowin? Tell a friend!