webamp/modern/src/runtime/Text.ts
Jordan Eldredge e29223bb8c Automatically add some types to Maki method arguments
These were added using `yarn lint --fix`.
2019-11-30 13:42:53 -08:00

40 lines
695 B
TypeScript

import GuiObject from "./GuiObject";
import { unimplementedWarning } from "../utils";
class Text extends GuiObject {
/**
* getclassname()
*
* Returns the class name for the object.
* @ret The class name.
*/
getclassname() {
return "Text";
}
setalternatetext(txt: string) {
unimplementedWarning("setalternatetext");
}
settext(txt: string) {
unimplementedWarning("settext");
return;
}
gettext() {
unimplementedWarning("gettext");
return;
}
gettextwidth() {
unimplementedWarning("gettextwidth");
return;
}
ontextchanged(newtxt: string) {
unimplementedWarning("ontextchanged");
return;
}
}
export default Text;