tlogelaSetshwantshoMmala
→ noTint()Turns `setshwantshoMmala` off, so pictures go back to their own colours.
tlogelaSetshwantshoMmala()setshwantshoMmala keeps working until you turn it off. tlogelaSetshwantshoMmala is what turns it off: every picture drawn after it is drawn in its own colours.
It is the same family as tlogelaMothalo and tlogelaGoTlatsa: the word tlogela, then the thing you are leaving alone.
Think of it whenever you draw more than one picture. Setting
setshwantshoMmalafor one picture and forgetting that the next ones inherit it is the common mistake.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 160);
bokamorago(245);
diri mokolwane = letela tlisaSetshwantsho('mokolwane.png');
setshwantshoMmala(120, 200, 255);
thalaSetshwantsho(mokolwane, 30, 10, 130, 130);
tlogelaSetshwantshoMmala();
thalaSetshwantsho(mokolwane, 220, 10, 130, 130);
tlhalosa('Mekolwane e mebedi: wa kwa molemeng o o talatala, wa kwa mojeng ka mmala wa ona.');
}