1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
Commit Graph

73 Commits

Author SHA1 Message Date
Alexander Wilms
0495c52cf4 Don't call ScreenHandler::onScreenResize() when the window has been (un)maximized to avoid creating a huge texture and crashing 2024-02-05 18:59:55 +01:00
Ivan Savenko
ea439ad175 Dispatch text input SDL calls in main thread on all platforms 2024-01-22 22:19:52 +02:00
Laserlicht
df2a5f05d8
audio mute on focus lost setting 2023-12-10 14:49:27 +01:00
Ivan Savenko
20ef3a69e7 Fix most of memleaks discovered by valgrind 2023-11-13 16:27:15 +02:00
Ivan Savenko
833051cced Display exit confirmation dialog on Alt-F4 2023-11-12 17:35:43 +02:00
Ivan Savenko
d6b9fa8fbd Replaced CPlayerInterface::pim with CGuiHandler::interfaceLock
- Removed CPlayerInterface::pim since this lock does not actually
protects LOCPLINT but rather entire game UI state
- added more logical CGuiHandler::interfaceLock
- interface lock is now non-recursive and is locked only once by initial
caller that want to access GUI
2023-09-27 18:33:52 +03:00
Nordsoft91
5a8c3b5ae2
Merge pull request #2869 from Laserlicht/audio
disable audio on lost focus
2023-09-20 13:20:47 +02:00
Laserlicht
996036bdf2
disable audio on lost focus 2023-09-18 21:28:23 +02:00
Laserlicht
2d2c7ee8e0
added tolerance 2023-09-18 20:35:23 +02:00
Laserlicht
71659f1423
fix 2023-09-18 16:43:16 +02:00
Laserlicht
7321bb1d25
support double tap 2023-09-18 16:05:39 +02:00
Ivan Savenko
f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +03:00
Ivan Savenko
60cbb939ab Fix crash on window resize 2023-09-12 21:15:15 +03:00
Ivan Savenko
e8453916cf Merge remote-tracking branch 'vcmi/beta' into develop 2023-09-08 18:49:06 +03:00
Ivan Savenko
89c31d0d52
Fix typo 2023-09-08 16:54:51 +03:00
Ivan Savenko
8112b8082e Add new option to settings 2023-09-08 13:23:18 +03:00
Ivan Savenko
3973624278 Implemented tolerance for touch events 2023-09-06 01:06:01 +03:00
Michael
a354a7f696
compatible with older sdl 2023-08-26 22:30:02 +02:00
Michael
bd0f9bb280
preparation 2023-08-26 19:53:36 +02:00
Ivan Savenko
0613756abc Remove unused code 2023-08-23 16:32:29 +03:00
Ivan Savenko
f827571f9b Fix assertion failure on exit due to mutex lock 2023-07-24 23:01:44 +03:00
Ivan Savenko
a280cc8845
Merge pull request #2384 from IvanSavenko/bugfixing_beta
Bugfixing iteration
2023-07-24 00:49:34 +03:00
Ivan Savenko
558855b772
Merge pull request #2387 from Laserlicht/patch-3
allow clipboard paste
2023-07-24 00:49:19 +03:00
Michael
ce00069dcd
haptic feedback on radial menu action 2023-07-23 15:17:30 +02:00
Ivan Savenko
112a40a254 Fix pinch gesture on mobile? 2023-07-23 11:46:11 +03:00
Michael
e8771e40a5
Update client/eventsSDL/InputSourceKeyboard.cpp
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2023-07-22 14:36:13 +02:00
Michael
746f8c5e62
added missing check for ctrl 2023-07-22 14:26:37 +02:00
Michael
59f3740aea
allow clipboard paste 2023-07-22 13:17:16 +02:00
Ivan Savenko
a912770e29 Fix activation of radial menu on touchscreen 2023-07-22 12:33:05 +03:00
Ivan Savenko
e3f5ab57f2 Fixed input event ordering. Fixes radial menu show/hide logic 2023-07-21 15:47:42 +03:00
Michael
bea6effcb7
haptic feedback only if menu opens
fix
2023-07-14 22:49:44 +02:00
Michael
c6e860720e
haptic feedback only if menu opens 2023-07-14 22:47:13 +02:00
Ivan Savenko
b30db5fc1f
Merge pull request #2301 from Laserlicht/haptic_feedback
Haptic feedback
2023-07-13 12:56:54 +03:00
Michael
d911756827
changes from code review 2023-07-08 21:02:03 +02:00
Michael
70b7f992de
fix 2023-07-08 20:34:11 +02:00
Michael
06541211d5
Rename var 2023-07-08 19:11:26 +02:00
Michael
050a22c257
only pop up for now 2023-07-08 18:50:59 +02:00
Michael
ff51b8f46b
Setting for haptic feedback 2023-07-08 18:47:38 +02:00
Michael
da8bcdd2dd
ios Support 2023-07-08 18:15:36 +02:00
Michael
a5fe6cc80b
hapticFeedback 2023-07-08 17:02:44 +02:00
Ivan Savenko
2a634b2ec0 Fixed UI updates on switching to/from fullscreen 2023-07-07 15:26:42 +03:00
Ivan Savenko
5143ca266d Moved SDL renderer access to ScreenHandler class 2023-07-07 14:29:03 +03:00
Ivan Savenko
07d9674828 Mouse click that activates a window will also trigger mouse event 2023-07-04 20:28:02 +03:00
Ivan Savenko
900b1c1763 Simplified text input handling, fixes hotkeys on windows with text input 2023-07-04 18:42:52 +03:00
Ivan Savenko
0f8d53e978 Replaced SDL user events list with dispatching of arbitrary functors 2023-06-26 21:51:10 +03:00
Ivan Savenko
a08fe09517 Added encapsulation for CampaignState class 2023-06-26 17:15:59 +03:00
Ivan Savenko
8420a90aa4 Reorganization of campaigns code 2023-06-26 17:15:59 +03:00
Ivan Savenko
d1e5a347ff Refactoring of campaign handler: rename types and use strong typing 2023-06-26 17:15:59 +03:00
Ivan Savenko
dfeeeb1f5f Removed no longer used 2023-06-22 22:12:05 +03:00
Ivan Savenko
4e7412faa6 Split mouseDragged event from mouseMoved 2023-06-22 22:11:48 +03:00