👍[Update] ファビコンを新しいものに変更
This commit is contained in:
BIN
img/vrct_logo_mark_black.ico
Normal file
BIN
img/vrct_logo_mark_black.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 242 KiB |
BIN
img/vrct_logo_mark_black_icon.png
Normal file
BIN
img/vrct_logo_mark_black_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
img/xsoverlay2.png
Normal file
BIN
img/xsoverlay2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
@@ -18,6 +18,7 @@
|
||||
import socket
|
||||
import json
|
||||
import base64
|
||||
from os import path as os_path
|
||||
|
||||
def XSOverlay(
|
||||
endpoint:tuple=("127.0.0.1", 42069), messageType:int=1, index:int=0, timeout:float=2,
|
||||
@@ -63,7 +64,7 @@ def xsoverlayForVRCT(content:str="") -> int:
|
||||
title="VRCT",
|
||||
content=content,
|
||||
useBase64Icon=True,
|
||||
icon="./img/xsoverlay.png",
|
||||
icon=os_path.join(os_path.dirname(__file__), "img", "xsoverlay2.png"),
|
||||
sourceApp="VRCT"
|
||||
)
|
||||
return response
|
||||
|
||||
@@ -3,6 +3,8 @@ from .widgets import createConfigWindowTitle, createSideMenuAndSettingsBoxContai
|
||||
|
||||
from customtkinter import CTkToplevel
|
||||
|
||||
from ..ui_utils import getImagePath
|
||||
|
||||
class ConfigWindow(CTkToplevel):
|
||||
def __init__(self, vrct_gui, settings, view_variable):
|
||||
super().__init__()
|
||||
@@ -10,6 +12,7 @@ class ConfigWindow(CTkToplevel):
|
||||
|
||||
|
||||
# configure window
|
||||
self.after(200, lambda: self.iconbitmap(getImagePath("vrct_logo_mark_black.ico")))
|
||||
self.title("test config_window.py")
|
||||
self.geometry(f"{1080}x{680}")
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ def createMainWindowWidgets(vrct_gui, settings, view_variable):
|
||||
vrct_gui.protocol("WM_DELETE_WINDOW", vrct_gui.quitVRCT)
|
||||
|
||||
|
||||
vrct_gui.iconbitmap(getImagePath("app.ico"))
|
||||
vrct_gui.iconbitmap(getImagePath("vrct_logo_mark_black.ico"))
|
||||
vrct_gui.title("VRCT")
|
||||
vrct_gui.geometry(f"{880}x{640}")
|
||||
vrct_gui.minsize(400, 175)
|
||||
|
||||
Reference in New Issue
Block a user