home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 42
/
MINAMI42.ISO
/
Extra
/
winamp3_0-full.exe
/
Wacs
/
xml
/
guiobjects
/
tooltips
/
tooltips.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2002-06-25
|
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 Int11;
Int Int10;
Int Int13;
Int Int9;
Int Int6;
Int Int14;
Int Int7;
Int Int8;
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;
}