@@ -565,7 +565,7 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
565
565
m_screensize.Y - (3 * button_size)),
566
566
L" z" , false );
567
567
568
- // init special1 button
568
+ // init special1/aux button
569
569
if (!m_joystick_triggers_special1)
570
570
initButton (special1_id,
571
571
rect<s32>(m_screensize.X - (1.25 * button_size),
@@ -575,13 +575,13 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
575
575
L" spc1" , false );
576
576
577
577
m_settingsbar.init (m_texturesource, " gear_icon.png" , settings_starter_id,
578
- v2s32 (m_screensize.X - (button_size / 2 ),
579
- m_screensize.Y - ((SETTINGS_BAR_Y_OFFSET + 1 ) * button_size)
580
- + (button_size * 0.5 )),
581
- v2s32 (m_screensize.X ,
582
- m_screensize.Y - (SETTINGS_BAR_Y_OFFSET * button_size)
583
- + (button_size * 0.5 )), AHBB_Dir_Right_Left ,
584
- 3.0 );
578
+ v2s32 (m_screensize.X - (1.25 * button_size ),
579
+ m_screensize.Y - ((SETTINGS_BAR_Y_OFFSET + 1.0 ) * button_size)
580
+ + (0.5 * button_size )),
581
+ v2s32 (m_screensize.X - ( 0.25 * button_size) ,
582
+ m_screensize.Y - (SETTINGS_BAR_Y_OFFSET * button_size)
583
+ + (0.5 * button_size)) ,
584
+ AHBB_Dir_Right_Left, 3.0 );
585
585
586
586
m_settingsbar.addButton (fly_id, L" fly" , " fly_btn.png" );
587
587
m_settingsbar.addButton (noclip_id, L" noclip" , " noclip_btn.png" );
@@ -596,15 +596,14 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc)
596
596
" chat_hide_btn.png" , " chat_show_btn.png" );
597
597
598
598
m_rarecontrolsbar.init (m_texturesource, " rare_controls.png" ,
599
- rare_controls_starter_id,
600
- v2s32 (0 ,
601
- m_screensize.Y
602
- - ((RARE_CONTROLS_BAR_Y_OFFSET + 1 ) * button_size)
603
- + (button_size * 0.5 )),
604
- v2s32 (button_size / 2 ,
605
- m_screensize.Y - (RARE_CONTROLS_BAR_Y_OFFSET * button_size)
606
- + (button_size * 0.5 )), AHBB_Dir_Left_Right,
607
- 2 );
599
+ rare_controls_starter_id,
600
+ v2s32 (0.25 * button_size,
601
+ m_screensize.Y - ((RARE_CONTROLS_BAR_Y_OFFSET + 1.0 ) * button_size)
602
+ + (0.5 * button_size)),
603
+ v2s32 (0.75 * button_size,
604
+ m_screensize.Y - (RARE_CONTROLS_BAR_Y_OFFSET * button_size)
605
+ + (0.5 * button_size)),
606
+ AHBB_Dir_Left_Right, 2.0 );
608
607
609
608
m_rarecontrolsbar.addButton (chat_id, L" Chat" , " chat_btn.png" );
610
609
m_rarecontrolsbar.addButton (inventory_id, L" inv" , " inventory_btn.png" );
0 commit comments