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.
Recent Posts
4
Listening Tests / Re: Great killer sample, easy to ABX on most codecs
Last post by Kraeved -
@shadowking, I do not use -x6, because it significantly increases the encoding time, and -h, because it requires more resources for decoding. Therefore, my attempts to improve the quality look like this: -b3x4, -b4x4, -b5x4, -b6x4, -b7x4. With -b6x4, there is a shadow of hiss, but still a noticeable shadow, and only with -b7x4 I can breathe a sigh of relief. But at this point WavPack loses its advantages in the lossy 44 kHz 16 bit segment (except for correction files feature) over FSLAC -3. Alas, @C.R.Helmrich, its author, is still too lazy to bring this project to a brilliant finale with the implementation of 24-bit support and taking into account other minor shortcoming, although he is regularly asked to do so.
5
FLAC / Re: FLAC RFC update
Last post by Porcus -
No ... IETF doesn't write mail server software, though they specify the standards for e-mail.
(Oh my how many mail servers violate those!)
10
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by ASopH -
hi marc,

I've tested:
Code: [Select]
// ==PREPROCESSOR==
// @name "Menu Button"
// @author "marc2003"
// @import "%fb2k_component_path%helpers.txt"
// @import "%fb2k_component_path%samples\js\lodash.min.js"
// @import "%fb2k_component_path%samples\js\common.js"
// @import "%fb2k_component_path%samples\js\panel.js"
// ==/PREPROCESSOR==

var fa_chars = {
up : '\uF077',
down : '\uF078',
left : '\uF060',
right : '\uF061',
close : '\uF00D',
rating_on : '\uF005',
rating_off : '\uF006',
heart_on : '\uF004',
heart_off : '\uF08A',
prev : '\uF049',
next : '\uF050',
play : '\uF04B',
pause : '\uF04C',
stop : '\uF04D',
preferences : '\uF013',
search : '\uF002',
console : '\uF120',
info : '\uF05A',
audioscrobbler : '\uF202',
minus : '\uF068',
music : '\uF001',
menu : '\uF0C9',
hourglass : '\uF254',
lock : '\uF023',
list : '\uF0C9',
volume : '\uF028',
};

var colours = {
buttons : RGB(255, 255, 255),
background : RGB(196, 30, 35)
};

var panel = new _panel();
var buttons = new _buttons();
var bt=40;

buttons.update=function() {
this.buttons.buttons.menu = new _button(0, 0, bt, bt, { char :  fa_chars.menu , colour : colours.buttons }, null, function () { _menu(0, 36); }, 'Menu');
this.buttons.buttons.console= new _button(bt, 0, bt, bt, { char :  fa_chars.console + ' Test', colour : colours.buttons },null, function () { fb.ShowConsole(); }, 'Console Test');
this.change_font("FontAwesome");
}

function on_mouse_lbtn_up(x, y, mask) {
buttons.lbtn_up(x, y, mask);
}

function on_mouse_leave() {
buttons.leave();
}

function on_mouse_move(x, y) {
buttons.move(x, y);
}

function on_mouse_rbtn_up(x, y) {
if (buttons.buttons.menu.containsXY(x, y)) {
_help(0, 36);
return true;
}
return panel.rbtn_up(x, y);
}

function on_paint(gr) {
gr.Clear(colours.background);
buttons.paint(gr);
}

function on_size() {
panel.size();
}

Result: no button - any ideas - or am I wrong