home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 49
/
MINAMI49.ISO
/
Extra
/
winamp503_full.exe
/
Plugins
/
tooltips.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2003-10-31
|
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 Int7;
Int Int11;
Int Int13;
Int Int14;
Int Int6;
Int Int10;
Int6 = System.getMousePosX();
Int7 = ( System.getMousePosY() - Group2.getHeight());
Int8 = System.getViewportLeftFromPoint(Int6, Int7);
Int9 = System.getViewportTopFromPoint(Int6, Int7);
Int10 = ( Int8 + System.getViewportWidthFromPoint(Int6, Int7));
Int11 = ( Int9 + System.getViewportHeightFromPoint(Int6, Int7));
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;
}