From 559a0f5669f537e21f3d39780e6e3d77591ff8c1 Mon Sep 17 00:00:00 2001 From: navewindre Date: Fri, 14 Sep 2018 21:46:28 +0200 Subject: a --- internal_rewrite/ui.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'internal_rewrite/ui.h') diff --git a/internal_rewrite/ui.h b/internal_rewrite/ui.h index 5a8855c..247a0d5 100644 --- a/internal_rewrite/ui.h +++ b/internal_rewrite/ui.h @@ -369,13 +369,15 @@ namespace ui auto left_column = std::make_shared< ui::base_item >( 0, 0, 0, 0 ); auto right_column = std::make_shared< ui::base_item >( 220, -5, 0, 0 ); - auto main_form = std::make_shared< ui::c_form >( 0, 0, 215, 110, xors( "main" ), 110 ); { + auto main_form = std::make_shared< ui::c_form >( 0, 0, 215, 131, xors( "main" ), 131 ); { main_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "enabled" ), &g_settings.rage.anti_aim ) ); main_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "at players" ), &g_settings.rage.at_players ) ); main_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "dormant check" ), &g_settings.rage.dormant_check ) ); main_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "angle step" ), &g_settings.rage.angle_step ) ); main_form->add_item( std::make_shared< ui::c_slider< int > >( 0, 0, 140, 0, 45, &g_settings.rage.angle_step_degrees ) )->set_cond( [ ]( ) { return g_settings.rage.angle_step( ); } ); + + main_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "fix leg movement" ), &g_settings.rage.fix_legs ) ); } auto pitch_form = std::make_shared< ui::c_form >( 0, 0, 215, 60, xors( "pitch" ) ); { @@ -384,7 +386,7 @@ namespace ui [ ]( ) { return g_settings.rage.pitch == 1 || g_settings.rage.pitch == 4 || g_settings.rage.pitch == 5; } ); } - auto yaw_form = std::make_shared< ui::c_form >( 0, 0, 215, 211, xors( "yaw" ), 211 ); { + auto yaw_form = std::make_shared< ui::c_form >( 0, 0, 215, 190, xors( "yaw" ), 190 ); { yaw_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 140, xors( "real yaw" ), &g_settings.rage.real_yaw, &dropdowns::antiaim_yaw ) ); yaw_form->add_item( std::make_shared< ui::c_slider< int > >( 0, 0, 140, -180, 180, &g_settings.rage.real_yaw_add( ) ) )->set_cond( [ ]( ) { return !!g_settings.rage.real_yaw( ); } ); -- cgit v1.2.3