1
Scripting / Display variables?
« on: May 17, 2015, 07:12:43 AM »
If i set a UserConfig variable in a layout and set the same layout on multiple "displays", if i change the value of this variable on a display, it changes on all displays.
But this makes no sense, to make the variables are global? You will usually want to set something on a "display", not in the layout.
For example if I want to have a variable with a color or a logo in a layout, and I want every display has a color / different to identify the list / system that is logo, can not, I'm tied because of the variables are global.
This is my case, I have a variable to put a logo for each display system / emulator. But I can not for this restriction, I am forced to make a different layout changing only one line of code in each.
But this makes no sense, to make the variables are global? You will usually want to set something on a "display", not in the layout.
For example if I want to have a variable with a color or a logo in a layout, and I want every display has a color / different to identify the list / system that is logo, can not, I'm tied because of the variables are global.
This is my case, I have a variable to put a logo for each display system / emulator. But I can not for this restriction, I am forced to make a different layout changing only one line of code in each.