46
Scripting / Re: [ListSize]
« on: September 18, 2019, 03:08:56 AM »
Wenzon, the line in which we were jedione and i, after some checks i have done, will not help you. Better try what qqplayer tells you...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
just a guess but,
is-int this,,,
in_cycle yes
in_menu no
in the am, config....?
¿layouts?
And if it is a Retropie? That's why i asked...
No idea. I do not use retropie. I don't like retropie. This is one of the reasons.
// Lista
local flxl = flx*0.0155;
local flyl = fly*0.1908;
local flwl = flw*0.2832;
local flhl = flh*0.0001;
local fhl = flh*0.0305;
local lineas = 20;
local lista = [];
for(local i=0; i<lineas; i++)
{
lista.push(fe.add_text("[Title]", flxl, flyl, flwl, flhl));
flyl = flyl + fhl;
}
class ShuffleList extends Shuffle
{
function _refreshSelected(slot)
{
slot.align = Align.Left;
slot.charsize = fuente_peque;
}
function _refreshDeselected(slot)
{
slot.align = Align.Left;
slot.charsize = fuente_peque;
}
}
local lista = ShuffleList({hide=true, loop=false, slots=lista, reset=false });
// Marcador
local flxp = flx*0.0078;
local flyp = fly*0.1735;
local flwp = flw*0.0125;
local flhp = flh*0.042;
local marcador = [];
for(local i=0; i<lineas; i++)
{
marcador.push(fe.add_image("objs/flecha.png", flxp, flyp, flwp, flhp));
flyp = flyp + fhl;
}
class ShuffleMarcador extends Shuffle
{
function _refreshSelected(slot)
{
slot.visible = true;
}
function _refreshDeselected(slot)
{
slot.visible = false;
}
}
local marcador = ShuffleMarcador({hide=true, loop=false, slots=marcador, reset=false});