Commit Graph

79 Commits

Author SHA1 Message Date
Cacodemon345
b7ea70b0cc Merge branch 'qt' of https://github.com/jgilje/86box into qt 2021-12-10 01:22:28 +06:00
Cacodemon345
7934d90039 libevdev mouse support 2021-12-10 01:22:13 +06:00
Joakim L. Gilje
d72d92ca64 print the 86box version in about box, add githash if available 2021-12-09 20:10:23 +01:00
Joakim L. Gilje
05943477a6 hide statusbar and menubar when fullscreen. prevent exit-fullscreen from triggering 'enter fullscreen' 2021-12-09 19:48:56 +01:00
Joakim L. Gilje
ae10d052d8 Merge branch 'qt' into qt 2021-12-09 19:36:35 +01:00
Joakim L. Gilje
13b18c9d8d added handler for force 4:3, monochrome contrast and overscan 2021-12-09 11:55:28 +01:00
Cacodemon345
55be576cb9 Implement Help menu items 2021-12-09 16:29:21 +06:00
Cacodemon345
03096ca9f4 Fix mouse support on EGLFS 2021-12-09 00:03:09 +06:00
Joakim L. Gilje
5f5828a58d action checkboxes for greyscale conversion type 2021-12-08 15:17:33 +01:00
Joakim L. Gilje
ededff3ae1 action checkboxes for greyscale conversion 2021-12-08 15:12:21 +01:00
Joakim L. Gilje
5bc00b220f handle early ui_msgbox_header() calls before main_window has been created 2021-12-08 14:47:09 +01:00
Joakim L. Gilje
018453164e Merge pull request #19 from Cacodemon345/patch-30
Avoid transparency/whiteness effects on Wayland and macOS
2021-12-08 14:12:07 +01:00
Cacodemon345
fe67c40e33 Take into account max cursor position 2021-12-08 17:09:55 +06:00
Cacodemon345
a6bddd0327 Use globalPos for fullscreen 2021-12-08 17:04:30 +06:00
Cacodemon345
a078900546 Fix for fullscreen 2021-12-08 17:02:28 +06:00
Cacodemon345
fa83778c04 Avoid transparency/whiteness effects on Wayland and macOS 2021-12-08 16:36:55 +06:00
Cacodemon345
b7fee7745b Mouse event improvements
* Only center the cursor when it leaves the emulator screen
* Ignore the very first mouse event that appears after it is captured for the first time after starting
2021-12-08 16:27:58 +06:00
Joakim L. Gilje
d69e21a3e9 startblit() and endblit(): watch for mutex contention. the mutex is unfair on linux, so sleep if there's contention 2021-12-08 11:05:52 +01:00
Joakim L. Gilje
61a2cf986b implemented fullscreen stretch modes 2021-12-07 13:47:42 +01:00
Joakim L. Gilje
2d9020070f filter actions 2021-12-06 22:02:18 +01:00
Joakim L. Gilje
78de384cc4 scaling actions 2021-12-06 21:58:41 +01:00
Joakim L. Gilje
71dd799936 inverted monitor 2021-12-06 21:45:40 +01:00
Joakim L. Gilje
431f75ce4c connected vid_api and menubar actions 2021-12-06 21:39:39 +01:00
Joakim L. Gilje
db0c90a835 replaced sdl_timer with a qtimer, resulting in a binary which does not link sdl 2021-12-06 21:33:25 +01:00
Joakim L. Gilje
b16702bc81 Merge branch 'qt' of github.com:jgilje/86Box into qt 2021-12-06 21:27:39 +01:00
Joakim L. Gilje
b03e6b1aee typed in the view menu, most stuff in here is unimplemented as of now! 2021-12-06 21:26:44 +01:00
Joakim L. Gilje
230c257922 implemented action resizable window 2021-12-06 21:26:17 +01:00
Joakim L. Gilje
021dbf7efa run init before mainwindow is constructed, so 86box internals are loaded and ready 2021-12-06 21:24:53 +01:00
Joakim L. Gilje
ae477a7c2a implement plat_vidapi_name and plat_vidapi so 86box knows about the qt renderers 2021-12-06 21:24:22 +01:00
Joakim L. Gilje
57cbff9ca1 Merge pull request #16 from Cacodemon345/qt
Remove redundant RtMidi checking
2021-12-06 20:14:35 +01:00
Cacodemon345
c376cca71e Fix mouse wheel scrolling 2021-12-06 16:33:25 +06:00
Cacodemon345
350246606e Remove redundant RtMidi checking 2021-12-06 15:52:19 +06:00
Joakim L. Gilje
28d1a43af7 fixed up qdatastream usage. use writeRawData() when creating hdd images. specify littleendian when creating floppy images 2021-12-06 10:50:58 +01:00
Joakim L. Gilje
37e29de342 include unordered_map 2021-12-06 10:41:14 +01:00
Joakim L. Gilje
07c9da30de configuration fixes
* moved CONFIG_MIDI and CONFIG_MIDI_IN to own blocks when constructing
  comboboxes in deviceconfig
* use Models::AddEntry in deviceconfig
* sub-handling of CONFIG_HEX16 and CONFIG_HEX20 in CONFIG_SELECTION
  block when constructing, and use corresponding config_setter
* make sure SCSI controller- and ISAMEM-deviceconfig calls up
  deviceconfig with an instance number
* midi input and midi output was mixed when constructing soundsettings
  when loading prev. settings
2021-12-06 10:29:53 +01:00
Joakim L. Gilje
c5b6ccb948 continued PR#12 into software renderer as well 2021-12-05 21:23:09 +01:00
Joakim L. Gilje
637f81998b fixed disabled/enabled for cassette, cartridge and floppy submenus 2021-12-05 21:22:32 +01:00
Joakim L. Gilje
af512c98cc PR #12 merged manually (Take video_filter_method into account when rendering, by @Cacodemon345) 2021-12-05 20:56:07 +01:00
Joakim L. Gilje
b9714a0914 PR #13 merged manually (EGLFS support by @Cacodemon345) 2021-12-05 20:51:59 +01:00
Joakim L. Gilje
4dd837cccf Merge pull request #15 from Cacodemon345/esckeyfix
Make Escape key work
2021-12-05 20:47:26 +01:00
Cacodemon345
3a52d62283 Make Escape key work 2021-12-05 16:01:04 +06:00
Cacodemon345
f2e6d79de4 Fix building with Wayland 2021-12-05 12:02:57 +06:00
Joakim L. Gilje
a74afc3f1e added software renderer. split common functions prev.
in gleswidget to renderstack (a QStackWidget), which in
turn calls an actual renderer. added ability to target GLES
directly, but this is maybe uneeded.
2021-12-04 21:33:04 +01:00
Cacodemon345
5c2682ff8c Fix transparency/whiteness glitches on Wayland/macOS 2021-12-04 02:14:06 +06:00
Joakim L. Gilje
b34737a7e7 removed atomic_bool for events => use standard mutex around the event state 2021-12-03 15:50:41 +01:00
Joakim L. Gilje
d4e9686cd9 couple of simplifications
* in paint: we can draw the m_image directly, no need to convert it
* in blit: static auto imagebits = m_image.bits(); should not be static
* in blit: we can bulk copy the entire image, no need to iterate horizontal lines
2021-12-03 15:12:23 +01:00
Joakim L. Gilje
df5d4e6cb6 Merge pull request #10 from Cacodemon345/patch-24
Fix linker errors on macOS
2021-12-03 15:00:33 +01:00
Cacodemon345
0a10cd10d6 Fix linking for real 2021-12-03 19:43:10 +06:00
Cacodemon345
22be61c09a Avoid setting RtMidi flags 2021-12-03 18:28:05 +06:00
Joakim L. Gilje
e31a0349c5 reenable mouse tracking, no mouse movement in x11 without 2021-12-03 12:58:30 +01:00