diff --git a/img/about_vrct/poster_images_authors.png b/img/about_vrct/poster_images_authors.png deleted file mode 100644 index 83c4086a..00000000 Binary files a/img/about_vrct/poster_images_authors.png and /dev/null differ diff --git a/img/about_vrct/poster_images_authors_en.png b/img/about_vrct/poster_images_authors_en.png new file mode 100644 index 00000000..8032bd90 Binary files /dev/null and b/img/about_vrct/poster_images_authors_en.png differ diff --git a/img/about_vrct/poster_images_authors_ja.png b/img/about_vrct/poster_images_authors_ja.png new file mode 100644 index 00000000..15bf40ef Binary files /dev/null and b/img/about_vrct/poster_images_authors_ja.png differ diff --git a/img/about_vrct/poster_images_authors_m_en.png b/img/about_vrct/poster_images_authors_m_en.png new file mode 100644 index 00000000..a7d6fd46 Binary files /dev/null and b/img/about_vrct/poster_images_authors_m_en.png differ diff --git a/img/about_vrct/poster_images_authors_m_ja.png b/img/about_vrct/poster_images_authors_m_ja.png new file mode 100644 index 00000000..34ac83e7 Binary files /dev/null and b/img/about_vrct/poster_images_authors_m_ja.png differ diff --git a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/setting_box_about_vrct/createSettingBox_AboutVrct.py b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/setting_box_about_vrct/createSettingBox_AboutVrct.py index 8b588cf2..3cbe3b3a 100644 --- a/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/setting_box_about_vrct/createSettingBox_AboutVrct.py +++ b/vrct_gui/config_window/widgets/createSideMenuAndSettingsBoxContainers/setting_box_containers/setting_box_about_vrct/createSettingBox_AboutVrct.py @@ -533,6 +533,13 @@ def createSettingBox_AboutVrct(setting_box_wrapper, config_window, settings, vie + poster_images_authors_wrapper = CTkFrame(poster_container, fg_color=ABOUT_VRCT_BG, corner_radius=0, width=0, height=0) + poster_images_authors_wrapper.grid(column=0, row=1, padx=0, pady=0, sticky="nsew") + + config_window.poster_images_authors = settings.about_vrct.embedImageCTkLabel(poster_images_authors_wrapper, settings.about_vrct.image_file.POSTER_IMAGES_AUTHOR) + config_window.poster_images_authors_m = settings.about_vrct.embedImageCTkLabel(poster_images_authors_wrapper, settings.about_vrct.image_file.POSTER_IMAGES_AUTHOR_M) + + def toPrevPagePosterImage(): current_function_index = view_variable.CALLBACK_ABOUT_VRCT_POSTER_IMAGE_CURRENT_PAGE_NUM @@ -543,6 +550,13 @@ def createSettingBox_AboutVrct(setting_box_wrapper, config_window, settings, vie poster_frame_list[current_function_index].grid(column=1, row=0, padx=0, pady=0, sticky="nsew") view_variable.CALLBACK_ABOUT_VRCT_POSTER_IMAGE_CURRENT_PAGE_NUM = current_function_index + if poster_image_frame_settings_list[current_function_index]["poster_type"] == "poster": + config_window.poster_images_authors_m.grid_remove() + config_window.poster_images_authors.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") + elif poster_image_frame_settings_list[current_function_index]["poster_type"] == "manga": + config_window.poster_images_authors.grid_remove() + config_window.poster_images_authors_m.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") + view_variable.CALLBACK_ABOUT_VRCT_POSTER_PREV_BUTTON=toPrevPagePosterImage view_variable.CALLBACK_ABOUT_VRCT_POSTER_NEXT_BUTTON=toNextPagePosterImage @@ -558,6 +572,14 @@ def createSettingBox_AboutVrct(setting_box_wrapper, config_window, settings, vie poster_frame_list[current_function_index].grid(column=1, row=0, padx=0, pady=0, sticky="nsew") view_variable.CALLBACK_ABOUT_VRCT_POSTER_IMAGE_CURRENT_PAGE_NUM = current_function_index + if poster_image_frame_settings_list[current_function_index]["poster_type"] == "poster": + config_window.poster_images_authors_m.grid_remove() + config_window.poster_images_authors.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") + elif poster_image_frame_settings_list[current_function_index]["poster_type"] == "manga": + config_window.poster_images_authors.grid_remove() + config_window.poster_images_authors_m.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") + + view_variable.CALLBACK_ABOUT_VRCT_POSTER_PREV_BUTTON=toPrevPagePosterImage view_variable.CALLBACK_ABOUT_VRCT_POSTER_NEXT_BUTTON=toNextPagePosterImage @@ -567,6 +589,7 @@ def createSettingBox_AboutVrct(setting_box_wrapper, config_window, settings, vie view_variable.CALLBACK_ABOUT_VRCT_POSTER_PREV_BUTTON=toPrevPagePosterImage view_variable.CALLBACK_ABOUT_VRCT_POSTER_NEXT_BUTTON=toNextPagePosterImage + config_window.poster_images_authors.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") poster_frame_list[0].grid(column=1, row=0, padx=0, pady=0, sticky="nsew") @@ -587,11 +610,10 @@ def createSettingBox_AboutVrct(setting_box_wrapper, config_window, settings, vie ) - poster_images_authors_wrapper = CTkFrame(poster_container, fg_color=ABOUT_VRCT_BG, corner_radius=0, width=0, height=0) - poster_images_authors_wrapper.grid(column=0, row=1, padx=0, pady=0, sticky="nsew") - poster_images_authors = settings.about_vrct.embedImageCTkLabel(poster_images_authors_wrapper, "poster_images_authors.png") - poster_images_authors.grid(column=0, row=0, padx=0, pady=0, sticky="nsew") + + + poster_tell_us_message = createTellUsButton( diff --git a/vrct_gui/ui_managers/AboutVrctManager.py b/vrct_gui/ui_managers/AboutVrctManager.py index 1856487d..d6fa8d47 100644 --- a/vrct_gui/ui_managers/AboutVrctManager.py +++ b/vrct_gui/ui_managers/AboutVrctManager.py @@ -72,12 +72,19 @@ class AboutVrctManager(): if ui_language == "ja": self.image_file.SPECIAL_THANKS_MESSAGE = "special_thanks_message_ja.png" self.image_file.SPECIAL_THANKS_TELL_US_MESSAGE = "special_thanks_tell_us_message_ja.png" + + self.image_file.POSTER_IMAGES_AUTHOR = "poster_images_authors_ja.png" + self.image_file.POSTER_IMAGES_AUTHOR_M = "poster_images_authors_m_ja.png" self.image_file.POSTER_TELL_US_MESSAGE = "poster_tell_us_message_ja.png" else: self.image_file.SPECIAL_THANKS_MESSAGE = "special_thanks_message_en.png" self.image_file.SPECIAL_THANKS_TELL_US_MESSAGE = "special_thanks_tell_us_message_en.png" + + self.image_file.POSTER_IMAGES_AUTHOR = "poster_images_authors_en.png" + self.image_file.POSTER_IMAGES_AUTHOR_M = "poster_images_authors_m_en.png" self.image_file.POSTER_TELL_US_MESSAGE = "poster_tell_us_message_en.png" + poster_showcase_pagination_button_image = getImageFileFromUiUtils_AboutVrct("poster_showcase_pagination_button.png") self.image_file.POSTER_SHOWCASE_WORLD_PAGINATION_BUTTON = SimpleNamespace( img = poster_showcase_pagination_button_image,