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

foo_ui_panels

Reply #75
Code: [Select]
$drawrect(0,0,%_width%,%_height%,brushcolor-SYSCOL-15 pencolor-NULL)
$puts(offsetX,0)$puts(offsetY,0)$puts(w,%_width%)$puts(h,50)
$panel(tButton,Track info mod,$get(offsetX),$get(offsetY),$get(w),$get(h),)
$puts(offsetY,$add($get(offsetY),$get(h)))
$setpvar(page,$add($getpvar(page),1))
$setpvar(hleft,$add($getpvar(hleft),1))
$setpvar(left,$add($getpvar(left),1))
$setpvar(right,$add($getpvar(right),1))

$select($getpvar(page)
    ,
// # page 1 PLAYLIST
    $puts(h,100)
    $select($getpvar(hleft)
        ,
        $select($getpvar(left)
                ,
// ## 1 LIST SWITCHER
                $puts(w,100)
                $puts(name,Playlist switcher)
                ,
// ## 2 ALBUM ART & TRACK INFO
                $puts(w,100)
                $puts(name,Track info)
                ,
// ## 3 ALBUM LIST
                $puts(w,100)
                $puts(name,Album list)

        )
        $panel(left,$get(name),$get(offsetX),$get(offsetY),$get(w),$get(h),)
        $puts(offsetX,$add($get(offsetX),$get(w)))
    )
// TRACK INFO MOD (VERTICAL BUTTONS)
    $puts(w,50)

    $panel(vButton,Track info mod,$get(offsetX),$get(offsetY),$get(w),$get(h),)
    $puts(offsetX,$add($get(offsetX),$get(w)))

    
    $select($getpvar(right)
            ,
// ## 1 COLUMNS LIST
            $puts(w,100)
            $puts(name,Columns Playlist)
            ,
// ## 2 SINGLE COLUMN LIST
            $puts(w,100)
            $puts(name,Single column playlist)
    )
    $panel(right,$get(name),$get(offsetX),$get(offsetY),$get(w),$get(h),)
// spectrum
    $puts(offsetX,0)
    $puts(offsetY,$add($get(offsetY),$get(h)))
    $puts(w,%_width%)$puts(h,50)
    $panel(spectrum,spectrum,$get(offsetX),$get(offsetY),$get(w),$get(h),)


    ,
// # page 2 NOW PLAYING
    $puts(w,%_width%)$puts(h,$sub(%_height%,$get(h)))
    $panel(now,track info mod,$get(offsetX),$get(offsetY),$get(w),$get(h),)

)


This code shows only top Track info mod.
I can't find problem.

foo_ui_panels

Reply #76
Lots of tries later, I figured out most of glass effects...

I got lots of unknown functions with them, though, it's very annoying. Code:

Code: [Select]
//$drawrect(0,0,%_width%,20,penColor-243-243-243 brushColor-null expand-4)
$panel(Menu,Menu,1,1,$sub(%_width%,2),19,)
$glass(0,0,30,0)
//$imageabs(0,0,\images\vista\bbar.png,)

$puts(yOffset,21)

$if(%_trackinfo_notrack%,
,
    $panel(Playing,Track Display,0,$get(yOffset),%_width%,100,)
    $puts(yOffset,121)
)
$panel(Playlist,Single Column Playlist,0,$get(yOffset),%_width%,$sub(%_height%,$add($get(yOffset),22)),)

$panel(Buttons,Buttons,0,$sub(%_height%,21),190,21,)
$panel(Seekbar,Seekbar,200,$sub(%_height%,20),$sub(%_width%,210),20,)


Gives me an unknown function. Also, the menu...how can I get a proper main menu whilst using glass effects and the like?

foo_ui_panels

Reply #77
I pulled the PanelsUI folder and dropped the new version into my components and restarted foobar. I was able to load the settings dialog without crashing and I was able to paste my old code into the panel, however as soon as I apply the old code foobar crashes. Here is my PanelsUI code in it's entirety (what I pasted to make it crash):
Code: [Select]
$drawrect(0,0,%_width%,%_height%,brushcolor-233-233-233 pencolor-null)

$panel(Menu,Menu,0,0,240,20,)
$panel(Logo,Track Display,$sub(%_width%,55),0,55,20,)

$select($add($getpvar(display.mode),1),
$panel(Now Playing,Track Display,0,20,%_width%,140,)
$panel(Spectrum,Spectrum analyser,300,102,$sub(%_width%,433),38,)
,
$panel(Test,Track Display,0,20,%_width%,140,)
,
$panel(Queue,Queue Manager,0,20,%_width%,140,)
,
$panel(Albums,Album list,0,20,%_width%,140,)
,
$panel(Lyrics,Lyric Show,0,20,%_width%,140,)
,
$panel(Console,Console,0,20,%_width%,140,)
)

$panel(Percent,Track Display,2,$sub(%_height%,36),75,20,)
$panel(Progress,Seekbar,77,$sub(%_height%,36),$sub(%_width%,154),20,)
$panel(Time,Track Display,$sub(%_width%,77),$sub(%_height%,36),75,20,)

// Buttons
$puts(offset.button.x,0)
$puts(offset.button.y,$sub(%_height%,15))
$button($add($get(offset.button.x),2),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.lyrics.png,/images\Yotsuya\button.save.png,MiniLyrics,)
$button($add($get(offset.button.x),16),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.foosic.png,/images\Yotsuya\button.save.png,Foosic,)
$button($add($get(offset.button.x),30),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.shoutcast.png,/images\Yotsuya\button.save.png,ShoutCast,)
$button($add($get(offset.button.x),44),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.home.png,/images\Yotsuya\button.save.png,Foobar Forum,)
$button2($add($get(offset.button.x),58),$get(offset.button.y),0,0,14,14,A,a,Album Art Downloader,)

$puts(offset.button.x,$add($div(%_width%,2),12))
$puts(offset.button.y,$sub(%_height%,16))
$button($sub($get(offset.button.x),50),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.left.prev.png,/images\Yotsuya\button.bright.left.prev.png,Previous,)
$button($sub($get(offset.button.x),25),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.center.stop.png,/images\Yotsuya\button.bright.center.stop.png,Stop,)
$button($get(offset.button.x),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.center.$if(%ispaused%,pause,play).png,/images\Yotsuya\button.bright.center.$if(%ispaused%,pause,play).png,Play or Pause,)
$button($add($get(offset.button.x),25),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.right.next.png,/images\Yotsuya\button.bright.right.next.png,Next,)

$puts(offset.button.x,$sub(%_width%,0))
$puts(offset.button.y,$sub(%_height%,15))
$button2($sub($get(offset.button.x),114),$get(offset.button.y),0,0,14,14,I,i,'PVAR:SET:display.mode:0',)
$button2($sub($get(offset.button.x),100),$get(offset.button.y),0,0,14,14,T,t,'PVAR:SET:display.mode:1',)
$button2($sub($get(offset.button.x),86),$get(offset.button.y),0,0,14,14,Q,q,'PVAR:SET:display.mode:2',)
$button2($sub($get(offset.button.x),72),$get(offset.button.y),0,0,14,14,A,a,'PVAR:SET:display.mode:3',)
$button2($sub($get(offset.button.x),58),$get(offset.button.y),0,0,14,14,L,l,'PVAR:SET:display.mode:4',)
$button2($sub($get(offset.button.x),44),$get(offset.button.y),0,0,14,14,C,c,'PVAR:SET:display.mode:5',)
$button($sub($get(offset.button.x),30),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.playlist.png,/images\Yotsuya\button.save.png,Collapse,)
$button($sub($get(offset.button.x),16),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.vis.png,/images\Yotsuya\button.save.png,ProjectM,)

I repeated the experiment in ColumnsUI but did not experience a crash. I was even able to apply the above panelsui code (though obviously not all of it functioned).

weird, I can't seem to get it to crash... did you apply the code after you renamed/removed your old panelsui folder or after you moved back the original?

Foobar seems to crash on exit, doesn't close correctly, and therefore can never save it's settings, for me, using Windows Vista Ultimate...

Also, I don't understand how the $glass function works precisely either, could you show me how to make the entire width of the 20 downmost pixels $glassed?

you need to remove foo_uie_single_column_playlist.dll and foo_uie_trackinfo_mod.dll. Is there a PanelsUI subfolder created in your profile directory? the parameters to $glass are (left,right,top,bottom) margins.


First off, the new component is great.  I love the new edit box.  So I have a question and a bug re: v0.3.0.

What exactly do the new Global, Background, PerTrack, and PerSecond buttons do?  I can't seem to find any functionality.  And do the // Global etc. divisions have any effect in the Panels UI config, or only in Track Display?

the buttons don't do anything yet (I forgot to hide them after I redesigned the dialog). Panels UI uses the same divisions as Track Display.

Quote
BUG:  This is twofold.  First, it interferes with the tray icon settings under ColumnsUI in the prefs.  If they were meant to be separate, then the ColumnsUI tray icon settings still have some effect.  Second, when minimizing by clicking the taskbar everything is fine.  But if I minimize by clicking the upper right corner of foobar I get a duplicate (ie there are 2) tray icon.

does the tray icon disappear when you mouse over it? I think it might be a ColumnsUI thing as I get the same behavior under the standard UI.

Code: [Select]
$setpvar(page,$add($getpvar(page),1))
$setpvar(hleft,$add($getpvar(hleft),1))
$setpvar(left,$add($getpvar(left),1))
$setpvar(right,$add($getpvar(right),1))

This code shows only top Track info mod.
I can't find problem.

I think that's your problem. The variables keep getting added each time the code is run. Also you need to change Track info mod -> Track Display.


Lots of tries later, I figured out most of glass effects...

I got lots of unknown functions with them, though, it's very annoying. Code:

Gives me an unknown function. Also, the menu...how can I get a proper main menu whilst using glass effects and the like?

you can ignore the unknown function (its caused by $glass and is fixed for the next version). You can't put the menu bar over glass as it won't draw properly. You can either move it below/above the glass area, or use a Track Display "Menu" button to have a popup menu.

foo_ui_panels

Reply #78
Well I started breaking down my foobar piece by piece and discovered that foo_winamp_spam was causing the problems. I dont know what it is about the new version of Panels UI but atleast for me it did not like to work with winamp_spam. I have removed winamp spam and panelsui is running fine now.

It also had something specifically to do with the play/pause button and the next button because even with winamp_spam, panelsui worked fine without those two buttons.

foo_ui_panels

Reply #79

BUG:  This is twofold.  First, it interferes with the tray icon settings under ColumnsUI in the prefs.  If they were meant to be separate, then the ColumnsUI tray icon settings still have some effect.  Second, when minimizing by clicking the taskbar everything is fine.  But if I minimize by clicking the upper right corner of foobar I get a duplicate (ie there are 2) tray icon.

does the tray icon disappear when you mouse over it? I think it might be a ColumnsUI thing as I get the same behavior under the standard UI.

No, both icons are there even when moused over.  In fact there are 2 different tool tips - 'foobar2000' and 'foobar2000 - PanelsUI'.

Also, is there any way to draw on top of the panels from the main PanelsUI config?  I was thinking about placing some transparent png's around my SCPL to make it blend into the background, but I can't seem to get anything to overlay the panel.  Perhaps a z-order option can be added to the main PanelsUI to control layering?

 

foo_ui_panels

Reply #80
Quote

Foobar seems to crash on exit, doesn't close correctly, and therefore can never save it's settings, for me, using Windows Vista Ultimate...

Also, I don't understand how the $glass function works precisely either, could you show me how to make the entire width of the 20 downmost pixels $glassed?


you need to remove foo_uie_single_column_playlist.dll and foo_uie_trackinfo_mod.dll. Is there a PanelsUI subfolder created in your profile directory? the parameters to $glass are (left,right,top,bottom) margins.

Ah, no, the problem was with Vista and saving playlists, or something like that. Basicaly, Vista wanted admin rights to save a playlist (God I hated Vista for that) but Foobar ignored the popup window for that. I managed to turn that 'feature' of Vista's off and it saves settings properly, also closes properly.

I figured out glass, I thought it would work from a point, but it seems the Vista API only allows you to widen the margins? Cheap, but ah well.

I'll figure out the menu, thanks for the tip.

foo_ui_panels

Reply #81
I like the syntax highlighting 

But can the configuration window background be changed to white? It is harder to read the black font on gray background as it is now.

foo_ui_panels

Reply #82
I find it easier with the grey!

Keep grey! (or maybe add an option?)



foo_ui_panels

Reply #85
Request: menus for PVAR:SET buttons, liike the sort anf filter buttons.
elevatorladylevitateme

foo_ui_panels

Reply #86
I just noticed inactive windows finally turn active when clicking on a trackinfo section. Nice. That was broken with the old trackinfo_mod component.

I find it easier with the grey!

Keep grey! (or maybe add an option?)

Adding an option sounds good to me.

foo_ui_panels

Reply #87
foobar crashes every time when holding down the right mouse button on a Track Display panel and moving the mouse around

thats what the crashlog says

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 055D6460h
Access violation, operation: write, address: 0000009Fh
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (055D6460h):
055D6420h:  FF D2 8B F0 85 F6 74 6B 6A 10 E8 9A 15 07 00 8B
055D6430h:  5C 24 1C 83 C4 04 85 C0 74 21 8B 8B 08 01 00 00
055D6440h:  C7 00 14 D7 66 05 C7 40 04 01 00 00 00 C7 40 08
055D6450h:  02 00 00 00 89 48 0C 8B F8 EB 02 33 FF 8B 43 0C
055D6460h:  C6 40 09 01 8D 44 24 38 50 6A 01 57 56 FF 15 B4
055D6470h:  54 66 05 8B 5B 0C 57 C6 43 09 00 E8 0E 16 07 00
055D6480h:  8B 0E 8B 51 08 83 C4 04 56 FF D2 8B 5C 24 20 8B
055D6490h:  7C 24 10 C6 84 24 F0 0B 00 00 08 8B 07 8B 10 8B
Code bytes (055D6460h):
055D6420h:  FF D2 8B F0 85 F6 74 6B 6A 10 E8 9A 15 07 00 8B
055D6430h:  5C 24 1C 83 C4 04 85 C0 74 21 8B 8B 08 01 00 00
055D6440h:  C7 00 14 D7 66 05 C7 40 04 01 00 00 00 C7 40 08
055D6450h:  02 00 00 00 89 48 0C 8B F8 EB 02 33 FF 8B 43 0C
055D6460h:  C6 40 09 01 8D 44 24 38 50 6A 01 57 56 FF 15 B4
055D6470h:  54 66 05 8B 5B 0C 57 C6 43 09 00 E8 0E 16 07 00
055D6480h:  8B 0E 8B 51 08 83 C4 04 56 FF D2 8B 5C 24 20 8B
055D6490h:  7C 24 10 C6 84 24 F0 0B 00 00 08 8B 07 8B 10 8B
Registers:
EAX: 00000096, EBX: 069715A0, ECX: 001109E6, EDX: 036B0054
ESI: 06089D60, EDI: 0696B450, EBP: 00000200, ESP: 00000208
Crash location: "foo_ui_panels", loaded at 055D0000h - 0568D000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7C910000h - 7C9C7000h
kernel32                        loaded at 7C800000h - 7C907000h
COMCTL32                        loaded at 773A0000h - 774A3000h
msvcrt                          loaded at 77BE0000h - 77C38000h
ADVAPI32                        loaded at 77DA0000h - 77E4A000h
RPCRT4                          loaded at 77E50000h - 77EE1000h
GDI32                            loaded at 77EF0000h - 77F37000h
USER32                          loaded at 77D10000h - 77DA0000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
SHELL32                          loaded at 7C9D0000h - 7D1F0000h
ole32                            loaded at 774B0000h - 775ED000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 76350000h - 7639A000h
IMM32                            loaded at 76330000h - 7634D000h
uxtheme                          loaded at 5B0F0000h - 5B128000h
MSCTF                            loaded at 746A0000h - 746EB000h
lgscroll                        loaded at 10100000h - 1010F000h
MSVCR80                          loaded at 78130000h - 781CB000h
MSVCP80                          loaded at 7C420000h - 7C4A7000h
NTMARTA                          loaded at 77660000h - 77681000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
SAMLIB                          loaded at 71B70000h - 71B83000h
msctfime                        loaded at 75250000h - 7527E000h
foo_cwb_hooks                    loaded at 00A90000h - 00AC5000h
foo_audioscrobbler              loaded at 00AF0000h - 00B27000h
WS2_32                          loaded at 71A10000h - 71A27000h
WS2HELP                          loaded at 71A00000h - 71A08000h
foo_cdda                        loaded at 00B90000h - 00BC6000h
foo_channel_mixer                loaded at 00BF0000h - 00C2B000h
foo_common                      loaded at 00C40000h - 00C7A000h
foo_converter                    loaded at 00CA0000h - 00D09000h
foo_discogs                      loaded at 00D30000h - 00DA2000h
gdiplus                          loaded at 4EBA0000h - 4ED43000h
WINMM                            loaded at 76AF0000h - 76B1E000h
foo_dockable_panels              loaded at 00E50000h - 00E84000h
foo_dsp_crossfader              loaded at 00EB0000h - 00EBD000h
foo_dsp_std                      loaded at 00ED0000h - 00F11000h
foo_dsp_vlevel                  loaded at 00F40000h - 00F64000h
foo_freedb2                      loaded at 00F90000h - 00FD0000h
foo_input_mslive                loaded at 00FF0000h - 01017000h
WMVCore                          loaded at 15110000h - 1536A000h
WMASF                            loaded at 11C70000h - 11CA9000h
OLEAUT32                        loaded at 770F0000h - 7717C000h
foo_input_std                    loaded at 01030000h - 01144000h
foo_lnk                          loaded at 01170000h - 01189000h
foo_managedWrapper              loaded at 011B0000h - 01252000h
mscoree                          loaded at 79000000h - 79045000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A3D1000h
mscorlib.ni                      loaded at 790C0000h - 79BA8000h
mscorjit                        loaded at 79060000h - 790B3000h
rsaenh                          loaded at 0FFD0000h - 0FFF8000h
System.ni                        loaded at 7A440000h - 7ABFE000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF74000h
System.Windows.Forms.ni          loaded at 7AFD0000h - 7BC56000h
xpsp2res                        loaded at 20000000h - 202D9000h
dotnet_title                    loaded at 11000000h - 11014000h
foo_masstag                      loaded at 03D00000h - 03D50000h
foo_menu_addons                  loaded at 03D60000h - 03D7F000h
foo_navigator                    loaded at 03D90000h - 03DC1000h
foo_out_ks                      loaded at 03DF0000h - 03E1A000h
SETUPAPI                        loaded at 778F0000h - 779E4000h
foo_playcount                    loaded at 03E40000h - 03E54000h
foo_playlist_manager            loaded at 03E70000h - 03EB6000h
foo_playlist_tree                loaded at 03EE0000h - 03F4B000h
foo_pqview                      loaded at 03F70000h - 03F8C000h
foo_rgscan                      loaded at 03FB0000h - 03FF8000h
foo_run                          loaded at 04020000h - 0404B000h
foo_scheduler                    loaded at 04070000h - 040DE000h
POWRPROF                        loaded at 74A50000h - 74A58000h
foo_sic                          loaded at 04100000h - 04159000h
foo_uie_albumart                loaded at 04280000h - 042BC000h
foo_uie_playlists_dropdown      loaded at 042E0000h - 04319000h
foo_uie_queuemanager            loaded at 04340000h - 04379000h
foo_uie_quicksearch              loaded at 04410000h - 04457000h
foo_uie_tabs                    loaded at 04460000h - 0448A000h
foo_ui_columns                  loaded at 044B0000h - 04547000h
foo_ui_std                      loaded at 04570000h - 045C7000h
foo_utils                        loaded at 045F0000h - 04628000h
foo_vis_projectM                loaded at 04650000h - 046C1000h
OPENGL32                        loaded at 5F0D0000h - 5F19C000h
GLU32                            loaded at 68FC0000h - 68FE0000h
DDRAW                            loaded at 736D0000h - 73719000h
DCIMAN32                        loaded at 73B30000h - 73B36000h
foo_ui_panels                    loaded at 055D0000h - 0568D000h
foo_ui_minilyrics                loaded at 056B0000h - 056D2000h
ctagent                          loaded at 05910000h - 05916000h
mswsock                          loaded at 719B0000h - 719F0000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
rasadhlp                        loaded at 76F80000h - 76F86000h
imon                            loaded at 20B00000h - 20B4B000h
WSOCK32                          loaded at 71A30000h - 71A3A000h
nl_lsp                          loaded at 09190000h - 091A5000h
nl_msgc                          loaded at 091B0000h - 091C1000h
hnetcfg                          loaded at 66710000h - 66769000h
wshtcpip                        loaded at 719F0000h - 719F8000h
System.Xml.ni                    loaded at 69BE0000h - 6A148000h
MiniLyrics                      loaded at 099E0000h - 09AE2000h
RICHED32                        loaded at 73250000h - 73255000h
RICHED20                        loaded at 74DB0000h - 74E1C000h
WINTRUST                        loaded at 76BF0000h - 76C1E000h
CRYPT32                          loaded at 77A50000h - 77AE5000h
MSASN1                          loaded at 77AF0000h - 77B02000h
IMAGEHLP                        loaded at 76C50000h - 76C78000h
ksuser                          loaded at 73E40000h - 73E44000h
DBGHELP                          loaded at 59DD0000h - 59E71000h
VERSION                          loaded at 77BD0000h - 77BD8000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
foobar2000 core 0.9.4.2  (Core)
Playlist Manager 1.0  (foo_playlist_manager)
Standard DSP array 1.0  (foo_dsp_std)
Converter 1.0.1  (foo_converter)
WMA Decoder 1.1  (foo_input_std)
Menu Addons 0.3.7c  (foo_menu_addons)
Channel Mixer 0.9.6.1  (foo_channel_mixer)
Default User Interface 0.9acc  (foo_ui_std)
Quick Search Toolbar 2.8j  (foo_uie_quicksearch)
Run services 0.3.2  (foo_run)
Tabbed panel modified 0.2.5  (foo_uie_tabs)
Shell Link Resolver 1.2  (foo_lnk)
freedb Tagger 0.5.2a  (foo_freedb2)
Playlist Tools 0.5.9  (foo_utils)
Playlists Dropdown 0.6 alpha 3  (foo_uie_playlists_dropdown)
Crossfader 0.1.6.2  (foo_dsp_crossfader)
foo_managedWrapper 0.3  (foo_managedWrapper)
Dockable Panels 1.0.5 [Dec  4 2006 - 09:04:00]  (foo_dockable_panels)
Kernel Streaming Output 1.2.2  (foo_out_ks)
VLevel 20060324.0  (foo_dsp_vlevel)
Scheduler 3.5 RC  (foo_scheduler)
Masstagger 1.6  (foo_masstag)
Common services 0.1  (foo_common)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
projectM visualization 1.97.6.2  (foo_vis_projectM)
Discogs Tagger 0.92  (foo_discogs)
Album Art Panel 0.2.6  (foo_uie_albumart)
Audioscrobbler 1.3.5  (foo_audioscrobbler)
CD Audio Decoder 2.1.1  (foo_cdda)
Queue manager panel 0.2.3  (foo_uie_queuemanager)
cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]  (foo_cwb_hooks)
Standard Input Array 1.0  (foo_input_std)
PanelsUI 0.3.0 beta [Feb  9 2007 - 23:25:59]  (foo_ui_panels)
FLAC Decoder 1.1.0  (foo_input_std)
mslive 0.2  (foo_input_mslive)
Playlist Tree Panel 2.2.4 [Nov 17 2006 - 16:34:17]  (foo_playlist_tree)
Play Count 1.9.2  (foo_playcount)
ReplayGain Scanner 2.0.2  (foo_rgscan)
foosic music database 1.0 beta 12  (foo_sic)
Navigator 0.6  (foo_navigator)


foo_ui_panels

Reply #88
I can confirm tomthomson's bug. Right click and hold the button anywhere on a Track Display panel.. as soon as you move the mouse foobar immediately crashes:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 05526460h
Access violation, operation: write, address: 5F252C39h
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (05526460h):
05526420h:  FF D2 8B F0 85 F6 74 6B 6A 10 E8 9A 15 07 00 8B
05526430h:  5C 24 1C 83 C4 04 85 C0 74 21 8B 8B 08 01 00 00
05526440h:  C7 00 14 D7 5B 05 C7 40 04 01 00 00 00 C7 40 08
05526450h:  02 00 00 00 89 48 0C 8B F8 EB 02 33 FF 8B 43 0C
05526460h:  C6 40 09 01 8D 44 24 38 50 6A 01 57 56 FF 15 B4
05526470h:  54 5B 05 8B 5B 0C 57 C6 43 09 00 E8 0E 16 07 00
05526480h:  8B 0E 8B 51 08 83 C4 04 56 FF D2 8B 5C 24 20 8B
05526490h:  7C 24 10 C6 84 24 F0 0B 00 00 08 8B 07 8B 10 8B
Code bytes (05526460h):
05526420h:  FF D2 8B F0 85 F6 74 6B 6A 10 E8 9A 15 07 00 8B
05526430h:  5C 24 1C 83 C4 04 85 C0 74 21 8B 8B 08 01 00 00
05526440h:  C7 00 14 D7 5B 05 C7 40 04 01 00 00 00 C7 40 08
05526450h:  02 00 00 00 89 48 0C 8B F8 EB 02 33 FF 8B 43 0C
05526460h:  C6 40 09 01 8D 44 24 38 50 6A 01 57 56 FF 15 B4
05526470h:  54 5B 05 8B 5B 0C 57 C6 43 09 00 E8 0E 16 07 00
05526480h:  8B 0E 8B 51 08 83 C4 04 56 FF D2 8B 5C 24 20 8B
05526490h:  7C 24 10 C6 84 24 F0 0B 00 00 08 8B 07 8B 10 8B
Registers:
EAX: 5F252C30, EBX: 055F96F0, ECX: 006E0512, EDX: 06430047
ESI: 05D896F8, EDI: 086C3FF8, EBP: 00000200, ESP: 00000208
Crash location: "foo_ui_panels", loaded at 05520000h - 055DD000h

Loaded modules:
foobar2000                      loaded at 00400000h - 004F3000h
ntdll                            loaded at 7D600000h - 7D6F0000h
kernel32                        loaded at 7D4C0000h - 7D5F0000h
COMCTL32                        loaded at 7DBD0000h - 7DCD3000h
msvcrt                          loaded at 77BA0000h - 77BFA000h
ADVAPI32                        loaded at 77F50000h - 77FEC000h
RPCRT4                          loaded at 7DA20000h - 7DB00000h
GDI32                            loaded at 7D800000h - 7D890000h
USER32                          loaded at 7D930000h - 7DA00000h
SHLWAPI                          loaded at 00550000h - 005A2000h
SHELL32                          loaded at 7C8D0000h - 7D0D4000h
ole32                            loaded at 77670000h - 777A4000h
shared                          loaded at 10000000h - 10029000h
comdlg32                        loaded at 762B0000h - 762FA000h
IMM32                            loaded at 7DEE0000h - 7DF40000h
LPK                              loaded at 7DBC0000h - 7DBC9000h
USP10                            loaded at 75490000h - 754F1000h
RocketDock                      loaded at 01D60000h - 01D6E000h
nview                            loaded at 01D90000h - 01F00000h
PSAPI                            loaded at 76B70000h - 76B7B000h
OLEAUT32                        loaded at 01F00000h - 01F8C000h
WINMM                            loaded at 76AA0000h - 76ACD000h
VERSION                          loaded at 77B90000h - 77B98000h
NTMARTA                          loaded at 01FA0000h - 01FC2000h
SAMLIB                          loaded at 5CCF0000h - 5CCFF000h
WLDAP32                          loaded at 76F10000h - 76F3E000h
MSCTF                            loaded at 4B8D0000h - 4B921000h
apphelp                          loaded at 75E60000h - 75E87000h
msctfime                        loaded at 4DC30000h - 4DC5E000h
imjp81                          loaded at 02100000h - 02156000h
imjp81k                          loaded at 02160000h - 02217000h
uxtheme                          loaded at 7DF50000h - 7DFC0000h
foo_cdda                        loaded at 02290000h - 022C6000h
foo_converter                    loaded at 022F0000h - 02359000h
foo_cwb_hooks                    loaded at 02380000h - 023AE000h
foo_dockable_panels              loaded at 023D0000h - 02403000h
foo_dsp_std                      loaded at 02430000h - 02471000h
foo_highlightplaying            loaded at 024A0000h - 024C1000h
foo_input_monkey                loaded at 024F0000h - 02539000h
foo_input_std                    loaded at 02560000h - 02674000h
foo_input_tta                    loaded at 026A0000h - 026CD000h
foo_masstag                      loaded at 026F0000h - 02740000h
foo_rgscan                      loaded at 02760000h - 027A8000h
foo_run                          loaded at 027D0000h - 027FB000h
foo_uie_albumlist                loaded at 02820000h - 0285D000h
foo_uie_console                  loaded at 02880000h - 0289B000h
foo_uie_lyrics                  loaded at 028C0000h - 0291E000h
WININET                          loaded at 63000000h - 630CE000h
Normaliz                        loaded at 02930000h - 02939000h
iertutil                        loaded at 5DCA0000h - 5DCE5000h
foo_uie_playlists_dropdown      loaded at 02BA0000h - 02BDA000h
foo_uie_queuemanager            loaded at 02C00000h - 02C39000h
mscoree                          loaded at 79000000h - 79045000h
MSVCR80                          loaded at 78130000h - 781CB000h
msvcm80                          loaded at 7C4C0000h - 7C53D000h
mscorwks                        loaded at 79E70000h - 7A3D1000h
mscorlib.ni                      loaded at 790C0000h - 79BA6000h
mscorjit                        loaded at 79060000h - 790B3000h
rsaenh                          loaded at 68000000h - 6802F000h
System.ni                        loaded at 7A440000h - 7ABFE000h
System.Drawing.ni                loaded at 7ADE0000h - 7AF74000h
gdiplus                          loaded at 4DD60000h - 4DF07000h
foo_ui_columns                  loaded at 05470000h - 05507000h
foo_ui_panels                    loaded at 05520000h - 055DD000h
foo_ui_minilyrics                loaded at 05600000h - 05622000h
nvwddi                          loaded at 06060000h - 06075000h
IMJPCD                          loaded at 08660000h - 0867A000h
MiniLyrics                      loaded at 087C0000h - 088C2000h
WS2_32                          loaded at 71C00000h - 71C17000h
WS2HELP                          loaded at 71BF0000h - 71BF8000h
RICHED32                        loaded at 73440000h - 73445000h
RICHED20                        loaded at 74C40000h - 74CB0000h
System.Windows.Forms.ni          loaded at 7AFD0000h - 7BC56000h
DSOUND                          loaded at 73E50000h - 73EAE000h
wdmaud                          loaded at 72D70000h - 72D79000h
WINTRUST                        loaded at 76BB0000h - 76BDB000h
CRYPT32                          loaded at 761B0000h - 76243000h
MSASN1                          loaded at 76190000h - 761A2000h
imagehlp                        loaded at 76C10000h - 76C39000h
USERENV                          loaded at 76920000h - 769E4000h
msacm32                          loaded at 72D60000h - 72D68000h
MSACM32                          loaded at 77B70000h - 77B84000h
midimap                          loaded at 77B60000h - 77B67000h
KsUser                          loaded at 73E20000h - 73E24000h
dbghelp                          loaded at 6D580000h - 6D628000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
Masstagger 1.6  (foo_masstag)
Standard Input Array 1.0  (foo_input_std)
WMA Decoder 1.1  (foo_input_std)
foobar2000 core 0.9.4.2  (Core)
Album list panel 0.2.1  (foo_uie_albumlist)
ReplayGain Scanner 2.0.2  (foo_rgscan)
CD Audio Decoder 2.1.1  (foo_cdda)
Converter 1.0.1  (foo_converter)
PanelsUI 0.3.0 beta [Feb  9 2007 - 23:25:59]  (foo_ui_panels)
Columns UI 0.1.3 beta 1v7  (foo_ui_columns)
FLAC Decoder 1.1.0  (foo_input_std)
Dockable Panels 1.0.6beta [Feb  9 2007 - 15:51:33]  (foo_dockable_panels)
Standard DSP array 1.0  (foo_dsp_std)
Lyric Show Panels 0.3.0.0  (foo_uie_lyrics)
TTA Audio Decoder (unofficial) 2.4.2  (foo_input_tta)
Queue manager panel 0.2.1  (foo_uie_queuemanager)
Monkey's Audio decoder 2.1.1  (foo_input_monkey)
Highlight playing 0.1.0  (foo_highlightplaying)
Console panel 0.2.1  (foo_uie_console)
cwbowron's title format hooks 1.0.13 [Oct  2 2006 - 09:06:52]  (foo_cwb_hooks)
Run services 0.3.2  (foo_run)
Playlists Dropdown 0.5.7.5  (foo_uie_playlists_dropdown)

foo_ui_panels

Reply #89
When i select some tracks and then want to move them around with alt+LMB then the selection changes to the track i click on. That isn't very handy.

Could you repair that in a next release? Or even better, make it the way it is in the colums playlist? So selection with left and then move around with the same LMB?
Inter Deum et Diabolum semper Musica est", Tanzwut

foo_ui_panels

Reply #90
What about a Wiki?
It would be great to know all the options which are possible with this plug-in

Does it work with Colums ui Playlist?
I wamted tzo shows icons on the left side while using colums ui playlist on the right side is this possible?

foo_ui_panels

Reply #91
I'm using v0.3.0.  It says in changelog for v0.2.0 -

0.2.0
   + global titleformatting hook for pvars so that they can be set/accessed anywhere

This doesn't seem to be working.  I'm cycling a PVAR via button in a Track Display, and PanelsUI is not accessing the change.

EDIT:

Ok, this seems to be a little more complicated bug than I thought.  I'm cycling a PVAR in my Track Display via button -
Code: [Select]
$ifequal($getpvar(menu.show),1,
'PVAR:SET:menu.show:0'
,
'PVAR:SET:menu.show:1'
)


PanelsUI can ONLY access this variable if 1) a track is playing, AND 2) the $getpvar() function is in a // PerSecond section.

However the display is not being drawn correctly.  I have it set so when foobar starts up, the menu is showing.  If I press my button the menu should disappear and the remaining panels should slide upward to fill the space.
Code: [Select]
// PerSecond

$drawrect(0,$sub(%_height%,20),%_width%,20,brushcolor-SYSCOL-15 pencolor-NULL)

$if($getpvar(menu.show),,$setpvar(menu.show,1))

$ifequal($getpvar(menu.show),1,
$drawrect(0,0,%_width%,21,brushcolor-SYSCOL-15 pencolor-NULL)
$panel(Menu,Menu,1,1,$sub(%_width%,2),19,)
$puts(yOffset,21)
,
$puts(yOffset,0)
)

$align(right,)$getpvar(menu.show)

$panel(Playing,Track Display,0,$get(yOffset),%_width%,135,)
$puts(yOffset,$add($get(yOffset),135))

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

$if($and(%isplaying%,%length%),
$panel(Seekbar,Seekbar,5,$sub(%_height%,20),$sub(%_width%,100),20,)
)
$panel(Volume,Volume,$sub(%_width%,95),$sub(%_height%,20),90,18,)


What is happening though, is when the menu disappears and everything slides up, the menu is *sort of* still visable.  I can mouse over the buttons and click them.  If I minimize foobar and restore it, everything works correctly, ie the menu is gone and buttons are inaccessible.

EDIT 2:
If I move my button code into the PanelsUI config, the menu hiding works as expected.  However I cannot retreive the value of menu.show in my Track Display until a change of playback state, ie either playing or stopping a track.  Only then is the PVAR state in Track Display updated.  I have $getpvar(menu.show) in the // PerTrack section of Track Display.  If I move it to // PerSecond, it updates immediately, but ONLY WHILE A TRACK IS PLAYING.

foo_ui_panels

Reply #92
I can confirm tomthomson's bug. Right click and hold the button anywhere on a Track Display panel.. as soon as you move the mouse foobar immediately crashes:


Not on Vista, must be an XP compability problem.

foo_ui_panels

Reply #93
No, both icons are there even when moused over.  In fact there are 2 different tool tips - 'foobar2000' and 'foobar2000 - PanelsUI'.


do both icons disappear when the you uncheck "Show tray icon" in panels ui preferences?

Quote
Also, is there any way to draw on top of the panels from the main PanelsUI config?  I was thinking about placing some transparent png's around my SCPL to make it blend into the background, but I can't seem to get anything to overlay the panel.  Perhaps a z-order option can be added to the main PanelsUI to control layering?


no, the only way to overlay stuff is to have another panel on top which allows the background to show through (and neither track display or scpl will do that).


I figured out glass, I thought it would work from a point, but it seems the Vista API only allows you to widen the margins? Cheap, but ah well.

I'll figure out the menu, thanks for the tip.


actually vista allows the glass effect anywhere, but limiting it to the margins provides better compatibility for gdi code.

I like the syntax highlighting 

But can the configuration window background be changed to white? It is harder to read the black font on gray background as it is now.


black on grey is the best  not quite as radical as white on black, but easier on the eyes than black on white. nonetheless it is probably better if the window background used the standard window scheme, so I will change it.

What about a Wiki?
It would be great to know all the options which are possible with this plug-in


basically identical to track display, except for $glass and $panel

Quote
Does it work with Colums ui Playlist?
I wamted tzo shows icons on the left side while using colums ui playlist on the right side is this possible?


yep, and should be possible.

This doesn't seem to be working.  I'm cycling a PVAR via button in a Track Display, and PanelsUI is not accessing the change.


the problem is that the pvar changes but the panels ui isn't immediately "aware" of the change. the other stuff is because you should only use $panel in the // PerTrack section. I will add some notification functions so that other panels will be notified of pvar changes and it will work better.

foo_ui_panels

Reply #94
Got it.  That's what I thought you'd say. Thanks! 


No, both icons are there even when moused over.  In fact there are 2 different tool tips - 'foobar2000' and 'foobar2000 - PanelsUI'.


do both icons disappear when the you uncheck "Show tray icon" in panels ui preferences?

Hmm, I can't seem to replicate this at work.  The extra icon appears only if I uncheck/recheck the 'Always show tray icon' option in the ColumnsUI prefs.  But it immediately dissapears when I mouseover it.

I'll have to recheck this when I get home on my laptop.  I'm still using 0.3.0 here at work.  I downloaded it today, so it should be the same version I have at home.


foo_ui_panels

Reply #96
Since 2.0 SCP, Trackinfo and PanelsUi are combined in one dll. What does that mean?

Will trackinfo mod and SCP will be continued as single dll's?
If yes will foo_ui_panels automatically be updated to contain latest trackinfo and SCP?

foo_ui_panels

Reply #97
Well, this is my first post, although I've been lurking for quite a while.  Eagerly awaiting the next version.      A good way for me, to avoid problems with overlapping panels, is to set other panels to zero width/height.  I'm having redraw/flickering however, and Playlist Tree flickers quite a bit.  I appreciate the work you all put into these great components!

foo_ui_panels

Reply #98
Since 2.0 SCP, Trackinfo and PanelsUi are combined in one dll. What does that mean?

Will trackinfo mod and SCP will be continued as single dll's?
If yes will foo_ui_panels automatically be updated to contain latest trackinfo and SCP?


and adding to that, I'll assume if we still use columnsUI (at least until I can get my head round code for this) then we have to keep SCP and trackinfo mod?

foo_ui_panels

Reply #99
Couple of questions, is it possible to pass variables from PanelsUI to track info or columns UI? I'd like for instance a button that shows the playlist and sends an action to reduce the size of parts of the trackinfo mod.

Can PanelsUI actions be assigned to keyboard shortcuts? I'd like to remove tabs UI but I use shortcuts to change tabs.

Is it possible to have PNGs overlay panels or make panel backgrounds transparent so that what's beneath them can be seen (in windows XP)?