diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-14 21:46:28 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-14 21:46:28 +0200 |
| commit | 559a0f5669f537e21f3d39780e6e3d77591ff8c1 (patch) | |
| tree | 8a94df7f4fd12333e9a9bdb0d7086e7a70ef9e97 /internal_rewrite/ui.h | |
| parent | b4748901d34d26bee517dea9655d2c0362c627f0 (diff) | |
a
Diffstat (limited to 'internal_rewrite/ui.h')
| -rw-r--r-- | internal_rewrite/ui.h | 6 |
1 files changed, 4 insertions, 2 deletions
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( ); } );
|
