|
|
|
|
@ -623,6 +623,15 @@ void PressKey(SDL_Keycode vkey, uint16_t modState)
|
|
|
|
|
|
|
|
|
|
void HandleMouseButtonDown(Uint8 button, uint16_t modState) |
|
|
|
|
{ |
|
|
|
|
if (stextflag != STORE_NONE && (button == SDL_BUTTON_X1 |
|
|
|
|
#if !SDL_VERSION_ATLEAST(2, 0, 0) |
|
|
|
|
|| button == 8 |
|
|
|
|
#endif |
|
|
|
|
)) { |
|
|
|
|
StoreESC(); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (sgbMouseDown == CLICK_NONE) { |
|
|
|
|
switch (button) { |
|
|
|
|
case SDL_BUTTON_LEFT: |
|
|
|
|
|