[Chore] remove the print code that is under vrct_gui directory.

This commit is contained in:
Sakamoto Shiina
2023-09-17 12:45:05 +09:00
parent d90bd7fcfa
commit bc6547cf5c
5 changed files with 0 additions and 10 deletions

View File

@@ -3,7 +3,6 @@ from customtkinter import CTkFont, CTkFrame, CTkLabel, CTkSwitch
def _createSettingBoxCompactModeButton(parent_widget, config_window, settings, view_variable):
def switchConfigWindowCompactMode():
print(config_window.setting_box_compact_mode_switch_box.get())
if config_window.setting_box_compact_mode_switch_box.get() is True:
if callable(view_variable.CALLBACK_ENABLE_CONFIG_WINDOW_COMPACT_MODE) is True:
view_variable.CALLBACK_ENABLE_CONFIG_WINDOW_COMPACT_MODE()

View File

@@ -32,19 +32,16 @@ def createSidebarLanguagesSettings(settings, main_window, view_variable):
def switchToPreset1(e):
print("1")
callFunctionIfCallable(view_variable.CALLBACK_SELECTED_LANGUAGE_PRESET_TAB, "1")
target_active_widget = getattr(main_window, "sls__presets_button_1")
switchPresetTabFunction(target_active_widget)
def switchToPreset2(e):
print("2")
callFunctionIfCallable(view_variable.CALLBACK_SELECTED_LANGUAGE_PRESET_TAB, "2")
target_active_widget = getattr(main_window, "sls__presets_button_2")
switchPresetTabFunction(target_active_widget)
def switchToPreset3(e):
print("3")
callFunctionIfCallable(view_variable.CALLBACK_SELECTED_LANGUAGE_PRESET_TAB, "3")
target_active_widget = getattr(main_window, "sls__presets_button_3")
switchPresetTabFunction(target_active_widget)

View File

@@ -11,25 +11,21 @@ def createTextbox(settings, main_window, view_variable):
main_window.current_active_textbox.grid()
def switchToTextboxAll(e):
print("switchToTextboxAll")
target_active_widget = getattr(main_window, "textbox_tab_all")
switchTextboxTabFunction(target_active_widget)
switchTextbox("textbox_all")
def switchToTextboxSent(e):
print("switchToTextboxSent")
target_active_widget = getattr(main_window, "textbox_tab_sent")
switchTextboxTabFunction(target_active_widget)
switchTextbox("textbox_sent")
def switchToTextboxReceived(e):
print("switchToTextboxReceived")
target_active_widget = getattr(main_window, "textbox_tab_received")
switchTextboxTabFunction(target_active_widget)
switchTextbox("textbox_received")
def switchToTextboxSystem(e):
print("switchToTextboxSystem")
target_active_widget = getattr(main_window, "textbox_tab_system")
switchTextboxTabFunction(target_active_widget)
switchTextbox("textbox_system")

View File

@@ -2,7 +2,6 @@ from types import SimpleNamespace
class ColorThemeManager():
def __init__(self, theme):
print(theme)
self.main = SimpleNamespace()
self.config_window = SimpleNamespace()
self.selectable_language_window = SimpleNamespace()

View File

@@ -3,7 +3,6 @@ from types import SimpleNamespace
class UiScalingManager():
def __init__(self, scaling_percentage):
scaling_float = int(scaling_percentage.replace("%", "")) / 100
print(scaling_float)
self.SCALING_FLOAT = max(scaling_float, 0.4)
self.main = SimpleNamespace()
self.config_window = SimpleNamespace()