Commit Graph

1797 Commits

Author SHA1 Message Date
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
ts-korhonen
6278f69cc1 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-05 03:03:52 +02: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
ts-korhonen
2ae53720b9 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-03 17:23:31 +02: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
ts-korhonen
62440f2f15 Fix RtMidi linking errors 2021-12-03 16:01:32 +02: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
ts-korhonen
98072fc53f Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-03 15:59:10 +02: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
Joakim L. Gilje
4c98de9bcd don't need the reqUpdate_() slot, update is already a slot. lock the image data with a mutex 2021-12-03 12:57:56 +01:00
Cacodemon345
9a6c67f367 Fix linker errors on macOS 2021-12-03 16:42:31 +06:00
Joakim L. Gilje
363f582a81 code dump - mostly done implementing media menus 2021-12-03 11:38:00 +01:00
ts-korhonen
788abbfeb8 Merge branch 'qt' of https://github.com/jgilje/86Box into qt 2021-12-02 22:44:13 +02:00
Cacodemon345
e021b3460a Make external MIDI options actually appear in Settings 2021-12-03 02:12:35 +06:00
Cacodemon345
f7aec4cfcf Implement MIDI I/O support using RtMidi 2021-12-03 01:25:09 +06:00
Cacodemon345
f347c69dd0 Frameskip when needed
Fixes lockups.
2021-12-02 23:53:25 +06:00
ts-korhonen
b0a4f70fa9 Tweaks to support QT on Windows 2021-12-02 19:35:08 +02:00
Cacodemon345
fc9d73b541 Wayland mouse support
Fix moving items with mouse when captured on macOS
2021-12-02 16:26:33 +06:00
Cacodemon345
23dbb85fa8 Significantly improve renderer performance 2021-12-02 00:47:02 +06:00
Cacodemon345
88452f7957 Implement title bar statistics 2021-12-01 15:55:41 +06:00
Cacodemon345
ac52b32adb Keep emulator paused while settings is open
Reduces crashes
2021-12-01 14:50:49 +06:00
Cacodemon345
2297c33751 Fix macOS builds 2021-12-01 11:17:44 +06:00
Joakim L. Gilje
cee1c93d49 refactored machinestatus to update the qstatusbar 2021-11-30 22:06:41 +01:00
Joakim L. Gilje
a6f8e6b68e plugged in keyboard_isfsexit and keyboard_ismsexit to ungrab mouse and leave fullscreen 2021-11-30 21:29:58 +01:00
Joakim L. Gilje
358feb19cc fixed up fullscreen 2021-11-30 21:26:51 +01:00
Joakim L. Gilje
6c2d7bef4a promote the gleswidget to centralwidget via the .ui file 2021-11-30 21:18:25 +01:00
Joakim L. Gilje
7e38ff7d4d removed sdl from gleswidget, use slots to update mouse movement 2021-11-30 21:04:55 +01:00
Joakim L. Gilje
9cdb4f90ca only need to signal update when we've been blitted 2021-11-30 20:52:14 +01:00
Joakim L. Gilje
82f6f6f5e8 fixed up dynld_module, actually loads and sets pointers correct now (tested against libpcap) 2021-11-30 20:34:07 +01:00
Joakim L. Gilje
4cd5cb76d9 return null when dynld_module fails to load library 2021-11-30 20:20:53 +01:00
Joakim L. Gilje
6fb22514fa simplified macos_event_filter.mm inclusion, link to X11 if UNIX-and-not-Apple 2021-11-30 20:18:13 +01:00
Cacodemon345
de88caf4b1 Accidentally left mouse capture half-baked 2021-12-01 01:11:06 +06:00
Cacodemon345
0108c93e2d Render emulator output on main window
Introduce hardware renderer
2021-11-30 16:26:49 +06:00
Joakim L. Gilje
668887a30a missed showMessage_ declaration 2021-11-29 19:03:00 +01:00
Joakim L. Gilje
8385051f6a fixup showMessage from both qt thread and external thread, while blocking 2021-11-29 17:25:31 +01:00
Joakim L. Gilje
238fb7ef62 handle messageboxes inside qt's thread 2021-11-29 12:25:27 +01:00
Joakim L. Gilje
ccb851343e replaced blitter function with a copy from win_sdl 2021-11-28 21:00:41 +01:00
Joakim L. Gilje
6aef88c957 set project cpp-files to c++17 when qt is included, search and link to a threading library 2021-11-28 20:54:32 +01:00
Joakim L. Gilje
6c81074f0a added status icons 2021-11-28 20:49:05 +01:00
Joakim L. Gilje
c587a02b1a Initial Qt Commit 2021-11-25 10:20:56 +01:00