Wokia-Dev / EzFractal

Function contains unused argument PYL-W0613
Anti-pattern
Major
a year agoa year old
 50            text.create_text()
 51
 52    def complex_button_content(
 53            self, name: str, x: int, y: int, width: int, height: int 54    ) -> None:
 55        # Draw the content of the complex button
 56        if name == "btnSettings":
 50            y: int,
 51            width: int,
 52            height: int,
 53            text: str, 54            text_center: bool,
 55            text_margin: list[int],
 56            background_color: str,
20        self.screen_array = np.full((width, height, 3), [255, 255, 255], dtype=np.uint8)
21        self.popular_app_ui = PopularUI(self, self.application)
22
23    def run(self, from_return: bool = False):24        EZ.create_window(self.resolution[0], self.resolution[1], caption,
25                         self.application.working_directory + "/Resources/Images/icon.png")
26        EZ.change_cursor(pygame.SYSTEM_CURSOR_ARROW)
20        self.screen_array = np.full((width, height, 3), [255, 255, 255], dtype=np.uint8)
21        self.export_app_ui = ExportUI(self.application)
22
23    def run(self, from_return: bool = False):24        EZ.create_window(self.resolution[0], self.resolution[1], caption,
25                         self.application.working_directory + "/Resources/Images/icon.png")
26        EZ.change_cursor(pygame.SYSTEM_CURSOR_ARROW)
20        self.screen_array = np.full((width, height, 3), [255, 255, 255], dtype=np.uint8)
21        self.saved_app_ui = SavedUI(self, self.application)
22
23    def run(self, from_return: bool = False):24        EZ.create_window(self.resolution[0], self.resolution[1], caption,
25                         self.application.working_directory + "/Resources/Images/icon.png")
26        EZ.change_cursor(pygame.SYSTEM_CURSOR_ARROW)