File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,16 @@ protected override void OnRenderFrame(FrameEventArgs e)
6262
6363 DrawWindows . Where ( w => ! w . IsOpen ) . ToList ( ) . ForEach ( w => DrawWindows . Remove ( w ) ) ;
6464
65+ ImGui . PushStyleColor ( ImGuiCol . Header , 0xff202020 ) ;
66+ ImGui . PushStyleColor ( ImGuiCol . HeaderHovered , 0xff4d4d4d ) ;
67+ ImGui . PushStyleColor ( ImGuiCol . HeaderActive , 0xff777777 ) ;
6568 ImGui . PushFont ( ImGuiController . Fonts [ ERPLoader . Settings . Instance . ExplorerSettings . FontSize ] ) ;
6669 foreach ( var window in DrawWindows . ToArray ( ) )
6770 {
6871 window . Draw ( ) ;
6972 }
7073 ImGui . PopFont ( ) ;
74+ ImGui . PopStyleColor ( 3 ) ;
7175
7276 _controller . Render ( ) ;
7377
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ public override void Draw()
3232
3333 ImGui . EndMainMenuBar ( ) ;
3434 }
35+ #if DEBUG
36+ ImGui . ShowStyleEditor ( ) ;
37+ #endif
3538
3639 if ( ShowSettingsWindow && ImGui . Begin ( "Settings" , ImGuiWindowFlags . AlwaysAutoResize ) )
3740 {
@@ -106,12 +109,12 @@ You should have received a copy of the GNU General Public License
106109 ImGui . Text ( "The app is created to help simplify modding process for F1 games using Ego Engine Modding." ) ;
107110 if ( ImGui . Button ( "GitHub" ) )
108111 {
109- Process . Start ( "cmd" , "/C start https://github.com/ducng99/EasyERPMod") ;
112+ Process . Start ( new ProcessStartInfo { FileName = " https://github.com/ducng99/EasyERPMod", UseShellExecute = true } ) ;
110113 }
111114 ImGui . SameLine ( ) ;
112115 if ( ImGui . Button ( "RaceDepartment" ) )
113116 {
114- Process . Start ( "cmd" , "/C start https://www.racedepartment.com/downloads/easyerpmod-make-modding-easier.44824/") ;
117+ Process . Start ( new ProcessStartInfo { FileName = " https://www.racedepartment.com/downloads/easyerpmod-make-modding-easier.44824/", UseShellExecute = true } ) ;
115118 }
116119
117120 ImGui . Separator ( ) ;
You can’t perform that action at this time.
0 commit comments