mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 19:47:54 +01:00
14 lines
334 B
Objective-C
14 lines
334 B
Objective-C
#include <lib/std.mi>
|
|
|
|
System.onScriptLoaded() {
|
|
group sg = getScriptGroup();
|
|
string params = getParam();
|
|
int offset = 0;
|
|
|
|
for (int a = 0; getToken(params,",",a) != ""; a++ )
|
|
{
|
|
guiobject tmp = sg.getObject(getToken(params,",",a));
|
|
tmp.setXMLparam("x",integertostring(offset));
|
|
offset += tmp.getAutoWidth();
|
|
}
|
|
} |