From 0af5d1c1f7f7d033655623cad6a0ac113566c809 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 10 Jul 2022 14:24:53 +0800 Subject: + fix green colors on map thingf buggy --- features/fpsImproveGui/index.js | 58 ++++++++++++++++++++++++++++++++++++ features/fpsImproveGui/metadata.json | 8 +++++ 2 files changed, 66 insertions(+) create mode 100644 features/fpsImproveGui/index.js create mode 100644 features/fpsImproveGui/metadata.json (limited to 'features/fpsImproveGui') diff --git a/features/fpsImproveGui/index.js b/features/fpsImproveGui/index.js new file mode 100644 index 0000000..96b550c --- /dev/null +++ b/features/fpsImproveGui/index.js @@ -0,0 +1,58 @@ +/// +/// +import SoopyTextElement from "../../../guimanager/GuiElement/SoopyTextElement"; +import Feature from "../../featureClass/class"; +import GuiPage from "../soopyGui/GuiPage"; +import SoopyBoxElement from "../../../guimanager/GuiElement/SoopyBoxElement"; +import SoopyMarkdownElement from "../../../guimanager/GuiElement/SoopyMarkdownElement"; +import SoopyImageElement from "../../../guimanager/GuiElement/SoopyImageElement"; +import SoopyGuiElement from "../../../guimanager/GuiElement/SoopyGuiElement"; +import SoopyMouseClickEvent from "../../../guimanager/EventListener/SoopyMouseClickEvent"; +import ButtonWithArrow from "../../../guimanager/GuiElement/ButtonWithArrow"; +import BoxWithText from "../../../guimanager/GuiElement/BoxWithText"; +import { fetch } from "../../utils/networkUtils"; + +class FpsImproveGui extends Feature { + constructor() { + super() + } + + onEnable() { + this.initVariables() + + this.GuiPage = new FpsPage() + + } + + initVariables() { + this.GuiPage = undefined + } + + onDisable() { + this.initVariables() + } +} + + +class FpsPage extends GuiPage { + constructor() { + super(7) + + this.name = "Fps Improve Tips" + + this.pages = [this.newPage()] + + // this.pages[0].addChild(this.streamsBox) + + this.finaliseLoading() + } + + onOpen() { + this.updateStreams() + } +} + + +module.exports = { + class: new StreamsGui() +} \ No newline at end of file diff --git a/features/fpsImproveGui/metadata.json b/features/fpsImproveGui/metadata.json new file mode 100644 index 0000000..a292c1d --- /dev/null +++ b/features/fpsImproveGui/metadata.json @@ -0,0 +1,8 @@ +{ + "name": "Fps improvement tips", + "description": "May help", + "isHidden": true, + "isTogglable": false, + "defaultEnabled": true, + "sortA": 0 +} \ No newline at end of file -- cgit