mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-24 10:37:16 +00:00
40 lines
695 B
TypeScript
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;
|