medfall

A super great game engine
Log | Files | Refs

commit b34f9a1a6b36ecc62aabe9c60e22c12a1e628d57
parent f2bb12ebd112fb954fb57a3b12d097a405f02f00
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Sep  2 19:12:10 +0300

Launcher UI tweaks

Diffstat:
gl.cc | 2+-
launcher/main.cc | 11++---------
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -128,7 +128,7 @@ GLFWwindow * gl_init( WindowType window_type ) { glfwWindowHint( GLFW_RESIZABLE, 0 ); int width = 800; - int height = 285; + int height = 265; GLFWmonitor * monitor = glfwGetPrimaryMonitor(); const GLFWvidmode * mode = glfwGetVideoMode( monitor ); diff --git a/launcher/main.cc b/launcher/main.cc @@ -642,6 +642,7 @@ int main() { { ImGuiStyle & style = ImGui::GetStyle(); + style.WindowPadding = ImVec2( 32, 16 ); style.WindowRounding = 0; style.FramePadding = ImVec2( 8, 8 ); style.Colors[ ImGuiCol_WindowBg ] = ImColor( 0x26, 0x39, 0x78 ); @@ -715,7 +716,7 @@ int main() { ImGui::PushStyleColor( ImGuiCol_ButtonHovered, ImColor( 0x30, 0xa1, 0x78 ) ); ImGui::PushStyleColor( ImGuiCol_ButtonActive, ImColor( 0x38, 0xb9, 0x8a ) ); - bool launch = ImGui::Button( "Run fae crabs with mortalengine", ImVec2( -1, 50 ) ); + bool launch = ImGui::Button( "Play", ImVec2( -1, 50 ) ); ImGui::PopStyleColor( 3 ); if( launch ) { @@ -802,14 +803,6 @@ int main() { ImGui::PopFont(); - bool exit = ImGui::Button( "i'd rather put cat photos on discord" ); - if( ImGui::IsItemHovered() ) { - ImGui::SameLine(); - ImGui::Text( "pussy" ); - } - if( exit ) break; - - // ImGui::BeginChildFrame( 1337, ImVec2(), 0 // | ImGuiWindowFlags_AlwaysVerticalScrollbar // );