mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
@ -171,6 +171,9 @@ case (APP_MODE_WAYPOINTS): {
|
|||||||
|
|
||||||
_currentIndex = (_currentIndex max 0) min (count _waypoints);
|
_currentIndex = (_currentIndex max 0) min (count _waypoints);
|
||||||
_wpListBox lbSetCurSel _currentIndex;
|
_wpListBox lbSetCurSel _currentIndex;
|
||||||
|
|
||||||
|
//Reset focus to a dummy ctrl (top button), otherwise HOME/POS1 key goes to top of listBox and has keybind blocked
|
||||||
|
ctrlSetFocus (_display displayCtrl IDC_TOPMENUBUTTON);
|
||||||
};
|
};
|
||||||
|
|
||||||
case (APP_MODE_SETUP): {
|
case (APP_MODE_SETUP): {
|
||||||
@ -190,5 +193,8 @@ case (APP_MODE_SETUP): {
|
|||||||
} else {
|
} else {
|
||||||
_settingListBox lbSetTextRight [1, (localize LSTRING(settingOff))];
|
_settingListBox lbSetTextRight [1, (localize LSTRING(settingOff))];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//Reset focus to a dummy ctrl (top button), otherwise HOME/POS1 key goes to top of listBox and has keybind blocked
|
||||||
|
ctrlSetFocus (_display displayCtrl IDC_TOPMENUBUTTON);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -140,7 +140,7 @@ class controlsBackground {
|
|||||||
|
|
||||||
class controls {
|
class controls {
|
||||||
class TopMenuClick: GVAR(RscActiveTextPicture) {
|
class TopMenuClick: GVAR(RscActiveTextPicture) {
|
||||||
idc = -1;
|
idc = IDC_TOPMENUBUTTON;
|
||||||
text = "#(argb,8,8,3)color(0,0,0,0)";
|
text = "#(argb,8,8,3)color(0,0,0,0)";
|
||||||
x = X_PART(0);
|
x = X_PART(0);
|
||||||
y = Y_PART(0);
|
y = Y_PART(0);
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
#define IDC_MODEDISPLAY_TARGETRANGENUM 144023
|
#define IDC_MODEDISPLAY_TARGETRANGENUM 144023
|
||||||
#define IDC_MODEDISPLAY_TARGETELEVATIONNUM 144024
|
#define IDC_MODEDISPLAY_TARGETELEVATIONNUM 144024
|
||||||
#define IDC_MODEDISPLAY_TARGETNAME 144025
|
#define IDC_MODEDISPLAY_TARGETNAME 144025
|
||||||
|
#define IDC_TOPMENUBUTTON 144030
|
||||||
|
|
||||||
#define IDC_MODECOMPASS 144100
|
#define IDC_MODECOMPASS 144100
|
||||||
#define IDC_MODECOMPASS_HEADING 144110
|
#define IDC_MODECOMPASS_HEADING 144110
|
||||||
|
Reference in New Issue
Block a user