summaryrefslogtreecommitdiff
path: root/internal_rewrite/ui.h
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-09-02 16:55:27 +0200
committernavewindre <boneyaard@gmail.com>2018-09-02 16:55:27 +0200
commita988afb947e653b96f2b188d455865cd6fc80ea0 (patch)
tree29d1cdd2da78632f3944d426cea566b0efe7fd68 /internal_rewrite/ui.h
parentce327351a910dbc7f899aabac2e08cad0a2102e9 (diff)
yea
Diffstat (limited to 'internal_rewrite/ui.h')
-rw-r--r--internal_rewrite/ui.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal_rewrite/ui.h b/internal_rewrite/ui.h
index 3dfb551..122232e 100644
--- a/internal_rewrite/ui.h
+++ b/internal_rewrite/ui.h
@@ -232,7 +232,7 @@ namespace ui
auto general_form = std::make_shared< ui::c_form >( 0, 0, 215, 306, xors( "weapon specific" ), 306 ); {
general_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "category" ), &current_category, &dropdowns::weapon_configs ) );
- general_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "auto stop" ), &g_settings.rage.general.m_auto_stop ) );
+ general_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "auto stop" ), &g_settings.rage.general.m_auto_stop, &dropdowns::auto_stop ) );
general_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "spread limit" ), &g_settings.rage.general.m_spread_limit )
)->set_cond( [ ]( ) { return !g_settings.rage.compensate_spread; } );
@@ -261,7 +261,7 @@ namespace ui
auto pistols_form = std::make_shared< ui::c_form >( 0, 0, 215, 306, xors( "weapon specific" ), 306 ); {
pistols_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "category" ), &current_category, &dropdowns::weapon_configs ) );
- pistols_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "auto stop" ), &g_settings.rage.heavy_pistols.m_auto_stop ) );
+ pistols_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "auto stop" ), &g_settings.rage.heavy_pistols.m_auto_stop, &dropdowns::auto_stop ) );
pistols_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "spread limit" ), &g_settings.rage.heavy_pistols.m_spread_limit )
)->set_cond( [ ]( ) { return !g_settings.rage.compensate_spread; } );
@@ -289,7 +289,7 @@ namespace ui
auto snipers_form = std::make_shared< ui::c_form >( 0, 0, 215, 306, xors( "weapon specific" ), 306 ); {
snipers_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "category" ), &current_category, &dropdowns::weapon_configs ) );
- snipers_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "auto stop" ), &g_settings.rage.snipers.m_auto_stop ) );
+ snipers_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "auto stop" ), &g_settings.rage.snipers.m_auto_stop, &dropdowns::auto_stop ) );
snipers_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "spread limit" ), &g_settings.rage.snipers.m_spread_limit )
)->set_cond( [ ]( ) { return !g_settings.rage.compensate_spread; } );
@@ -317,7 +317,7 @@ namespace ui
auto auto_form = std::make_shared< ui::c_form >( 0, 0, 215, 306, xors( "weapon specific" ), 306 ); {
auto_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "category" ), &current_category, &dropdowns::weapon_configs ) );
- auto_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "auto stop" ), &g_settings.rage.auto_snipers.m_auto_stop ) );
+ auto_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "auto stop" ), &g_settings.rage.auto_snipers.m_auto_stop, &dropdowns::auto_stop ) );
auto_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "spread limit" ), &g_settings.rage.auto_snipers.m_spread_limit )
)->set_cond( [ ]( ) { return !g_settings.rage.compensate_spread; } );