Add modifier key window for toggling shift/ctrl key states using mouse

This commit is contained in:
Jonathan G Rennison
2019-09-05 23:21:41 +01:00
parent f681e98f0f
commit b3431512ee
14 changed files with 147 additions and 13 deletions

View File

@@ -2743,6 +2743,17 @@ void HandleCtrlChanged()
}
}
/**
* State of SHIFT key has changed
*/
void HandleShiftChanged()
{
Window *w;
FOR_ALL_WINDOWS_FROM_FRONT(w) {
w->OnShiftStateChange();
}
}
/**
* Insert a text string at the cursor position into the edit box widget.
* @param wid Edit box widget.