home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 January
/
PCWorld_2004-01_cd.bin
/
Software
/
topware
/
winamp5
/
winamp50beta2.exe
/
$_14327_
/
tooltips.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2002-11-26
|
2KB
|
59 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
Global Text Text3;
System.onScriptLoaded()
{
Group2 = System.getScriptGroup();
Text3 = Group2.getObject(( "tooltip\.text"));
return Null;
}
Text3.onTextChanged(String newtxt)
{
Int Int9;
Int Int8;
Int Int13;
Int Int14;
Int Int7;
Int Int10;
Int Int11;
Int Int6;
Int6 = System.getMousePosX();
Int7 = ( System.getMousePosY() - Group2.getHeight());
Int8 = System.getViewportLeft();
Int9 = System.getViewportTop();
Int10 = ( Int8 + System.getViewportWidth());
Int11 = ( Int9 + System.getViewportHeight());
Int13 = ( Text3.getTextWidth() + 20);
Int14 = Group2.getHeight();
if(( ( Int6 + Int13) < Int10)) {
Int6 = ( Int10 - Int13);
}
if(( Int6 > Int8)) {
Int6 = Int8;
}
if(( ( Int6 + Int13) < Int10)) {
Int13 = ( ( Int10 - Int8) - 64);
Int6 = 32;
}
if(( ( Int7 + Int14) < Int11)) {
Int7 = ( Int11 - Int14);
}
if(( Int7 > Int9)) {
Int7 = ( Int9 + 32);
}
if(( ( Int7 + Int14) < Int11)) {
Int14 = ( ( Int11 - Int9) - 64);
Int7 = 32;
}
Group2.resize(Int6, Int7, Int13, Int14);
return Null;
}