Skip to main content
Recent Posts
2
General - (fb2k) / Re: Feature request: How hard would it be to add a dark mode to Foobar?
Last post by j7n -
A dark theme is possible on Windows XP and looks nice in Foobar. It still conflicts with other applications that has icons, light custom panels, or hardcoded dark grey disabled elements. Maybe that is one reason why applying it system-wide is not such a good idea.

We seem to have gone full circle back to the negative color scheme of DOS, to avoid flicker from 60/70hz monitor, and probably what they used in 1964. Microsoft have been progressively whitening the standard theme for years, since Windows 2000, to the point where everything is pure white in Windows 10. Windows 95-grey is nowhere near as bad. Go figure why they thought it was a good idea at the time when high light output LCDs became common. Now suddenly "dark" is trendy again.
6
Support - (fb2k) / Re: Album Display....bug?
Last post by Case -
The bar isn't over the album art. Unfortunately the shadow bug comes from your monitor. You could probably remove it by reducing the contrast of the colors.
7
Development - (fb2k) / fb2k API questions
Last post by TheQwertiest -
@Peter , could you help with the following, please?

1. playlist_manager_v4::create_playlist_ex / playlist_manager_v4::create_playlist_ex: in which case can it return pfc_infinite? Is it more like paranoia check (i.e. assert would suffice) or should I always validate it?
2. What is assigned to the return value of playlist_manager::playlist_insert_items? Is it the new position of the first track (i.e. same as p_base argument)?
3. Is there any difference between using u* methods from shared.dll and using corresponding WinAPI methods? E.g. uCreateFile vs CreateFile

Thanks in advance =)
8
3rd Party Plugins - (fb2k) / Re: GSF decoder v3.0.8 sounds weird
Last post by ghf_50 -
Noise is the only major thing to have changed, and that is being looked into. Please do not compare to other emulators, only mGBA, and only actual hardware. I cannot test these on actual hardware, so recordings would be nice.

Endrift can test on actual hardware, but is probably very busy.
Do you need me to record something from actual GBA? I can do this if I can find my old 3.5mm audio jack for GBA.
9
3rd Party Plugins - (fb2k) / Re: Biography Discussion
Last post by Ottodix -
Hello Wilb,

On the next version, would it be possible to add an option "Enlarge on mouse click", which would toggle between "image only / image+text" mode, like the option "Enlarge on mouse over" ? I did the code on my setup, i just didn't add it as an option available through the right-click menu, so on my setup it's always on. But i guess it won't take you much time to make it an option, using my code below.
I edided the this.click function of the panel object, line 435, basically i took the previous code and encapsulate it inside a condition :
Code: [Select]
 this.click = (x, y) => {
const enlarged_img_o = enlarged_img;
enlarged_img = !this.text_trace && img.trace(x, y);
if (!ppt.autoEnlarge && enlarged_img && !ppt.text_only && !ppt.img_only && !enlarged_img_o) {
this.mode(1);
} else if(!ppt.autoEnlarge && ppt.img_only) {
this.mode(0); enlarged_img = false;
const enlarged_img_o = enlarged_img;
this.move(x,y,false);
} else {
// Previous this.click code
if (this.zoom() || x < 0 || y < 0 || x > this.w || y > this.h || but.Dn) return;  if (ppt.touchControl && !p.dblClick && Math.sqrt((Math.pow(this.last_pressed_coord.x - x, 2) + Math.pow(this.last_pressed_coord.y - y, 2))) > 3 * s.scale) return; if (t.text && (!ppt.img_only || ppt.text_only) && t.scrollbar_type().onSbar || ppt.heading && t.head && !ppt.img_only && (but.btns["src"] && but.btns["src"].trace(x, y) || but.btns["mt"] && but.btns["mt"].trace(x, y))) return; this.clicked = true; t.logScrollPos(); ppt.artistView = !ppt.artistView; if (ppt.cycPic) {ppt.artistView ? img.photoTimestamp = Date.now() : img.covTimestamp = Date.now();} if (!ppt.sameStyle && (ppt.bioMode != ppt.revMode || ppt.bioStyle != ppt.revStyle)) this.sizes(); t.na = ""; timer.clear(timer.source); ppt.sameStyle || (ppt.bioMode == ppt.revMode && ppt.bioStyle == ppt.revStyle) ? but.check() : but.refresh(true); if (calc) calc = ppt.artistView ? 1 : 2; if (!this.lock && this.multi_new()) {this.get_multi(true); if (!ppt.artistView) t.album_reset();} if (!this.art_ix && ppt.artistView || !this.alb_ix && !ppt.artistView) {t.getText(calc); img.get_images();} else {t.get_multi(calc, this.art_ix, this.alb_ix); img.get_multi(this.art_ix, this.alb_ix);} if (ppt.img_only) img.setCrop(true); if (!ppt.artistView) img.set_chk_arr(null); this.move(x, y, true); t.getScrollPos(); calc = false;
}
};

and eventually, in order to restrain the active zone to the image only and not the whole image row/column, line 2378 you'll have to remove this code in the function this.trace():
Code: [Select]
if (!ppt.autoEnlarge) return true;
10
Support - (fb2k) / Album Display....bug?
Last post by Le Croissant -
I'm not sure if this just happened or my foobar has always been doing this and I only just noticed it.
But the black selection bar seems to continue as a shadow over my album art and artist display (see included pictures)

I'd love to know how to fix this.
SimplePortal 1.0.0 RC1 © 2008-2019