So i do this:
-I read the explanation
-I Copy this code in the interface designer
Code: Select all
<quad posn="0 0" sizen="10 10" halign="center" valign="center" bgcolor="fff" scriptevents="1" class="LibManialink_TooltipShow" id="Tooltip_Default" />
<frame hidden="1" class="LibManialink_Tooltip" id="Tooltip_Default">
<label posn="0 0 1" sizen="48 4" halign="center" valign="center2" textsize="1.5" textcolor="aaa" id="Tooltip_Message" />
<quad sizen="50 6" halign="center" valign="center" bgcolor="000d" id="Tooltip_BoundingBox" />
</frame>
<script><!--
// Paste the tooltip module here
// ...
main() {
LibManialink_SetTooltipMessage("Tooltip_Default", "This is the default tooltip.");
while (True) {
yield;
LibManialink_TooltipLoop();
}
}
--></script>
Code: Select all
#Include "MathLib" as ML
#Include "TextLib" as TL
Code: Select all
<quad posn="0 0" sizen="10 10" halign="center" valign="center" bgcolor="fff" scriptevents="1" class="LibManialink_TooltipShow" id="Tooltip_Default" />
<frame hidden="1" class="LibManialink_Tooltip" id="Tooltip_Default">
<label posn="0 0 1" sizen="48 4" halign="center" valign="center2" textsize="1.5" textcolor="aaa" id="Tooltip_Message" />
<quad sizen="50 6" halign="center" valign="center" bgcolor="000d" id="Tooltip_BoundingBox" />
</frame>
<script><!--
// Paste the tooltip module here
// ...
#Include "MathLib" as ML
#Include "TextLib" as TL
main() {
LibManialink_SetTooltipMessage("Tooltip_Default", "This is the default tooltip.");
while (True) {
yield;
LibManialink_TooltipLoop();
}
}
--></script>
Would someone be so kind as to explain explaining what I do wrong?