tlogelaKhesara
→ noCursor()Hides the cursor while it is over the canvas.
tlogelaKhesara()After tlogelaKhesara() the cursor is no longer visible on the canvas — but pebaX and pebaY keep working. That is what it is for: you draw your own marker at the mouse position, and the ordinary cursor would only get in the way.
To bring it back, call khesara(MOTSWI).
The name follows tlogelaMothalo and tlogelaGoTlatsa — in Bopa, tlogela… is to leave off doing something.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 300);
tlogelaKhesara();
tlhalosa('Sefapaano se se bosetlha se se latelang peba mo bokamoragong jo bontsho.');
}
tiro tshwantsha() {
bokamorago(24, 28, 38);
boketeMothalo(2);
mothaloMmala(250, 220, 150);
thalaMothalo(pebaX - 14, pebaY, pebaX + 14, pebaY);
thalaMothalo(pebaX, pebaY - 14, pebaX, pebaY + 14);
tlogelaGoTlatsa();
thalaSediko(pebaX, pebaY, 40);
}