1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00
Commit Graph

54 Commits

Author SHA1 Message Date
68e0dcb01d Merge pull request #5398 from Laserlicht/portrait_mode
[1.6.6] portrait mode for android & grey bar fix
2025-02-09 19:42:03 +02:00
1f61f22122 implement overlay for touch screens 2025-02-09 13:10:27 +01:00
0424f71cb2 portrait mode for android 2025-02-08 20:02:31 +01:00
3870ac6c21 option to fix right mouse on some android devices 2025-01-01 18:39:49 +01:00
00692888df sonar cloud fixes 2024-08-15 23:09:04 +02:00
39aaa6fe32 data to clipboard; simplify types 2024-08-14 21:01:37 +02:00
994a065e29 change naming 2024-07-19 17:58:06 +02:00
ac30f7757b changed naming 2024-07-19 11:41:00 +02:00
26b164b7ca change naming 2024-07-19 03:44:45 +02:00
fb980bdb74 fix 2024-07-19 03:28:33 +02:00
76fc821f82 click also change of modi; haptic only with touch 2024-07-19 03:16:56 +02:00
5dae5ed30e input modi detection 2024-07-19 03:00:19 +02:00
df83fa33a1 Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
adc3441bda Merge pull request #3998 from IvanSavenko/refactor_sdl_media
[1.6] Reorganize SDL sound/music/video handling
2024-05-31 12:02:55 +03:00
949c0cff70 Fixed F4 (fullscreen hotkey) not actually changing window mode 2024-05-23 14:54:13 +00:00
721b15d9de Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-17 08:26:37 +00:00
d27b854cb1 Reorganized music, video and sound players:
- All XXXplayers are now in client/media directory
- Reogranized code on one class per file basis
- Extracted interfaces from handlers. Handlers now implement
corresponding interface.
- CCS now only stores pointer to an interface
2024-05-15 17:05:12 +00:00
7267e02b8d Better handling of Ctrl / Cmd modifier keys on Apple systems:
- Test only for Cmd modifier key when processing mouse clicks
- Test both Ctrl and Cmd modifier key when processing keyboard input
- This logic is now used for all Apple systems - macOS and iOS
2024-05-12 17:09:31 +00:00
30e0a16ee9 Fix some 'new' issues reported by Sonar Cloud 2024-05-06 15:33:30 +00:00
89d6ddd916 Allow input configuration via config file 2024-04-30 20:56:47 +03:00
0d8d75afd4 Spaces -> tabs 2024-04-30 11:38:13 +03:00
876bae0b73 delete useless include and open joystick in InputSourceGameController constructor. 2024-04-15 23:07:44 +08:00
beaebb3a5f a simple implement for game controller 2024-04-13 13:12:25 +08:00
b796ed8626 Fix undefined behavior 2024-02-12 12:33:09 +02:00
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
df2a5f05d8 audio mute on focus lost setting 2023-12-10 14:49:27 +01:00
20ef3a69e7 Fix most of memleaks discovered by valgrind 2023-11-13 16:27:15 +02:00
833051cced Display exit confirmation dialog on Alt-F4 2023-11-12 17:35:43 +02:00
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
996036bdf2 disable audio on lost focus 2023-09-18 21:28:23 +02:00
f8541d0ae4 Merge branch 'vcmi/master' into 'vcmi/develop' 2023-09-15 13:59:02 +03:00
60cbb939ab Fix crash on window resize 2023-09-12 21:15:15 +03:00
a354a7f696 compatible with older sdl 2023-08-26 22:30:02 +02:00
bd0f9bb280 preparation 2023-08-26 19:53:36 +02:00
f827571f9b Fix assertion failure on exit due to mutex lock 2023-07-24 23:01:44 +03:00
ce00069dcd haptic feedback on radial menu action 2023-07-23 15:17:30 +02:00
2a634b2ec0 Fixed UI updates on switching to/from fullscreen 2023-07-07 15:26:42 +03:00
0f8d53e978 Replaced SDL user events list with dispatching of arbitrary functors 2023-06-26 21:51:10 +03:00
dfeeeb1f5f Removed no longer used 2023-06-22 22:12:05 +03:00
4e7412faa6 Split mouseDragged event from mouseMoved 2023-06-22 22:11:48 +03:00
e5df7656a2 Added debug option to test touchscreen input on desktop systems 2023-06-20 19:58:05 +03:00
e6e91c64b6 Implemented minimap panning gesture 2023-06-05 19:20:08 +03:00
70155b48e1 Only show touchscreen options on systems that have one 2023-06-05 19:20:08 +03:00
dc8e9cd048 wheelScrolled event now accepts distance instead of bool 2023-06-05 19:00:57 +03:00
26fd651917 Implemented panning gesture via touch input 2023-06-05 19:00:57 +03:00
48859e186e Added panning gesture, activated by mouse wheel press 2023-06-05 19:00:56 +03:00
1a5c69a424 Implemented left & right click support for touch input 2023-06-05 19:00:56 +03:00
dc16781877 Move keyboard tests to keyboard handler 2023-06-05 19:00:56 +03:00
34123c7f07 Minor refactoring of mouse input handling 2023-06-05 19:00:56 +03:00
c77f8482e3 Replaced event handling break system with key capturing 2023-05-20 01:51:49 +03:00