@@ -99,56 +99,56 @@ def display(self):
9999 """
100100
101101 file = File (self .sdk )
102- self .btn_file_explorer = tk .Button (self .sdk .root , text = "Files" , command = file .display_files_tree ,image = self .iconExplorer ,compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
102+ self .btn_file_explorer = tk .Button (self .sdk .root , text = "Files" , command = file .display_files_tree ,image = self .iconExplorer ,compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
103103 self .btn_file_explorer .pack (side = "left" )
104104
105105 if os .path .isfile (self .sdk .bin_folder + "/hammer.exe" ):
106- self .btn_hammer = tk .Button (self .sdk .root , text = "hammer" , command = self .open_hammer ,image = self .iconHammer ,compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
106+ self .btn_hammer = tk .Button (self .sdk .root , text = "hammer" , command = self .open_hammer ,image = self .iconHammer ,compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
107107 self .btn_hammer .pack (side = "left" )
108108
109109 if os .path .isfile (self .sdk .bin_folder + "/hammerplusplus.exe" ):
110- self .btn_hammer_plus_plus = tk .Button (self .sdk .root , text = "hammer++" , command = self .open_hammer_plus_plus , image = self .iconHpp , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
110+ self .btn_hammer_plus_plus = tk .Button (self .sdk .root , text = "hammer++" , command = self .open_hammer_plus_plus , image = self .iconHpp , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
111111 self .btn_hammer_plus_plus .pack (side = "left" )
112112
113113 if os .path .isfile (self .sdk .bin_folder + "/hlmv.exe" ):
114- self .btn_hlmv = tk .Button (self .sdk .root , text = "hlmv" , command = self .model .open_hlmv , image = self .iconHLMV , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
114+ self .btn_hlmv = tk .Button (self .sdk .root , text = "hlmv" , command = self .model .open_hlmv , image = self .iconHLMV , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
115115 self .btn_hlmv .pack (side = "left" )
116116
117117 if os .path .isfile (self .sdk .bin_folder + "/qc_eyes.exe" ):
118- self .btn_qc_eyes = tk .Button (self .sdk .root , text = "qc_eyes" , command = self .open_qc_eyes , image = self .iconQc_eyes , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
118+ self .btn_qc_eyes = tk .Button (self .sdk .root , text = "qc_eyes" , command = self .open_qc_eyes , image = self .iconQc_eyes , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
119119 self .btn_qc_eyes .pack (side = "left" )
120120
121121 if os .path .isfile (self .sdk .bin_folder + "/hlfaceposer.exe" ):
122- self .btn_hlfaceposer = tk .Button (self .sdk .root , text = "hlfaceposer" , command = self .open_hlfaceposer , image = self .iconHlposer , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
122+ self .btn_hlfaceposer = tk .Button (self .sdk .root , text = "hlfaceposer" , command = self .open_hlfaceposer , image = self .iconHlposer , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
123123 self .btn_hlfaceposer .pack (side = "left" )
124124
125125 if os .path .isfile (os .getcwd () + "/VTfEdit/x64/VTFEdit.exe" ) or os .path .exists (r"C:\Program Files\Nem's Tools\VTFEdit\VTFEdit.exe" ):
126- self .btn_vtf_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .texture .open_VTF , image = self .iconVTFEdit , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
126+ self .btn_vtf_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .texture .open_VTF , image = self .iconVTFEdit , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
127127 self .btn_vtf_edit .pack (side = "left" )
128128 else :
129129 Download .download_VTF_Edit ()
130- self .btn_vtf_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .texture .open_VTF , image = self .iconVTFEdit , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
130+ self .btn_vtf_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .texture .open_VTF , image = self .iconVTFEdit , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
131131 self .btn_vtf_edit .pack (side = "left" )
132132
133133 if os .path .isfile (os .getcwd () + "/VPKEdit-Windows-Standalone-GUI-msvc-Release/vpkedit.exe" ):
134- self .btn_vpk_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .LaunchVPKEdit , image = self .iconVPKEdit , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
134+ self .btn_vpk_edit = tk .Button (self .sdk .root , text = "vtfEdit" , command = self .LaunchVPKEdit , image = self .iconVPKEdit , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
135135 self .btn_vpk_edit .pack (side = "left" )
136136
137137 if os .path .exists (self .sdk .selected_folder + "/src/games.sln" ):
138- self .btn_games = tk .Button (self .sdk .root , text = "games" , command = self .open .open_games , image = self .iconVisualStudio , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
138+ self .btn_games = tk .Button (self .sdk .root , text = "games" , command = self .open .open_games , image = self .iconVisualStudio , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
139139 self .btn_games .pack (side = "left" )
140140
141141 if os .path .exists (self .sdk .selected_folder + "/src/everything.sln" ):
142- self .btn_everything = tk .Button (self .sdk .root , text = "everything" , command = self .open .open_everything , image = self .iconVisualStudio , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
142+ self .btn_everything = tk .Button (self .sdk .root , text = "everything" , command = self .open .open_everything , image = self .iconVisualStudio , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
143143 self .btn_everything .pack (side = "left" )
144144
145- self .btn_particle = tk .Button (self .sdk .root , text = "Particle" , command = self .particle , image = self .iconSource , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
145+ self .btn_particle = tk .Button (self .sdk .root , text = "Particle" , command = self .particle , image = self .iconSource , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
146146 self .btn_particle .pack (side = "left" )
147147
148- self .btn_Launch_dev = tk .Button (self .sdk .root , text = "Launch Dev" , command = self .Launch_dev , image = self .iconSource , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
148+ self .btn_Launch_dev = tk .Button (self .sdk .root , text = "Launch Dev" , command = self .Launch_dev , image = self .iconSource , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
149149 self .btn_Launch_dev .pack (side = "left" )
150150
151- self .btn_Launch = tk .Button (self .sdk .root , text = "Launch" , command = self .Launch , image = self .iconSource , compound = tk .LEFT , background = "#4c5844" ,fg = "white" )
151+ self .btn_Launch = tk .Button (self .sdk .root , text = "Launch" , command = self .Launch , image = self .iconSource , compound = tk .LEFT , background = self . sdk . background_color ,fg = self . sdk . foreground_color )
152152 self .btn_Launch .pack (side = "left" )
153153
154154 def open_hammer (self ):
0 commit comments