Merge branch 'master' into feature/global-config
@@ -85,11 +85,11 @@ add_library(ui STATIC
|
||||
qt_renderercommon.hpp
|
||||
qt_softwarerenderer.cpp
|
||||
qt_softwarerenderer.hpp
|
||||
qt_hardwarerenderer.cpp
|
||||
qt_hardwarerenderer.hpp
|
||||
qt_openglrenderer.cpp
|
||||
qt_openglrenderer.hpp
|
||||
qt_glsl_parser.cpp
|
||||
qt_about.cpp
|
||||
qt_about.hpp
|
||||
|
||||
qt_settings.cpp
|
||||
qt_settings.hpp
|
||||
@@ -189,6 +189,41 @@ add_library(ui STATIC
|
||||
qt_mediahistorymanager.cpp
|
||||
qt_mediahistorymanager.hpp
|
||||
|
||||
qt_downloader.cpp
|
||||
qt_downloader.hpp
|
||||
|
||||
qt_vmmanager_clientsocket.cpp
|
||||
qt_vmmanager_clientsocket.hpp
|
||||
qt_vmmanager_serversocket.cpp
|
||||
qt_vmmanager_serversocket.hpp
|
||||
qt_vmmanager_protocol.cpp
|
||||
qt_vmmanager_protocol.hpp
|
||||
qt_vmmanager_details.hpp
|
||||
qt_vmmanager_details.cpp
|
||||
qt_vmmanager_details.ui
|
||||
qt_vmmanager_addmachine.cpp
|
||||
qt_vmmanager_addmachine.hpp
|
||||
qt_vmmanager_detailsection.cpp
|
||||
qt_vmmanager_detailsection.hpp
|
||||
qt_vmmanager_detailsection.ui
|
||||
qt_vmmanager_listviewdelegate.hpp
|
||||
qt_vmmanager_listviewdelegate.cpp
|
||||
qt_vmmanager_preferences.cpp
|
||||
qt_vmmanager_preferences.hpp
|
||||
qt_vmmanager_preferences.ui
|
||||
qt_vmmanager_main.hpp
|
||||
qt_vmmanager_main.cpp
|
||||
qt_vmmanager_main.ui
|
||||
qt_vmmanager_model.cpp
|
||||
qt_vmmanager_model.hpp
|
||||
qt_vmmanager_system.cpp
|
||||
qt_vmmanager_system.hpp
|
||||
qt_vmmanager_config.cpp
|
||||
qt_vmmanager_config.hpp
|
||||
qt_vmmanager_mainwindow.cpp
|
||||
qt_vmmanager_mainwindow.hpp
|
||||
qt_vmmanager_mainwindow.ui
|
||||
|
||||
../qt_resources.qrc
|
||||
./qdarkstyle/dark/darkstyle.qrc
|
||||
|
||||
@@ -204,6 +239,23 @@ add_library(ui STATIC
|
||||
qt_iconindicators.cpp
|
||||
)
|
||||
|
||||
if(EMU_BUILD_NUM)
|
||||
target_sources(ui PRIVATE
|
||||
qt_updatecheck.cpp
|
||||
qt_updatecheck.hpp
|
||||
qt_updatecheckdialog.cpp
|
||||
qt_updatecheckdialog.hpp
|
||||
qt_updatecheckdialog.ui
|
||||
qt_updatedetails.cpp
|
||||
qt_updatedetails.hpp
|
||||
qt_updatedetails.ui
|
||||
)
|
||||
endif()
|
||||
|
||||
if(NETSWITCH)
|
||||
target_compile_definitions(ui PRIVATE USE_NETSWITCH)
|
||||
endif()
|
||||
|
||||
if(RTMIDI)
|
||||
target_compile_definitions(ui PRIVATE USE_RTMIDI)
|
||||
endif()
|
||||
@@ -243,6 +295,15 @@ if(WIN32 AND NOT SDL_JOYSTICK)
|
||||
target_sources(plat PRIVATE win_joystick_rawinput.c)
|
||||
target_link_libraries(86Box hid)
|
||||
else()
|
||||
find_package(SDL2 REQUIRED)
|
||||
include_directories(${SDL2_INCLUDE_DIRS})
|
||||
if(STATIC_BUILD AND TARGET SDL2::SDL2-static)
|
||||
target_link_libraries(86Box SDL2::SDL2-static)
|
||||
elseif(TARGET SDL2::SDL2)
|
||||
target_link_libraries(86Box SDL2::SDL2)
|
||||
else()
|
||||
target_link_libraries(86Box ${SDL2_LIBRARIES})
|
||||
endif()
|
||||
target_sources(plat PRIVATE sdl_joystick.c)
|
||||
endif()
|
||||
|
||||
@@ -414,6 +475,7 @@ endif()
|
||||
|
||||
if (UNIX AND NOT APPLE AND NOT HAIKU)
|
||||
target_sources(ui PRIVATE x11_util.c)
|
||||
target_link_libraries(plat PRIVATE ${CMAKE_DL_LIBS})
|
||||
|
||||
find_package(X11 REQUIRED)
|
||||
target_link_libraries(ui PRIVATE X11::X11 X11::Xi)
|
||||
@@ -453,6 +515,7 @@ if (UNIX AND NOT APPLE AND NOT HAIKU)
|
||||
set(WL_SOURCE_VAR)
|
||||
ecm_add_wayland_client_protocol(WL_SOURCE_VAR PROTOCOL ${CMAKE_SOURCE_DIR}/wl_protocols/relative-pointer-unstable-v1.xml BASENAME relative-pointer-unstable-v1)
|
||||
ecm_add_wayland_client_protocol(WL_SOURCE_VAR PROTOCOL ${CMAKE_SOURCE_DIR}/wl_protocols/pointer-constraints-unstable-v1.xml BASENAME pointer-constraints-unstable-v1)
|
||||
ecm_add_wayland_client_protocol(WL_SOURCE_VAR PROTOCOL ${CMAKE_SOURCE_DIR}/wl_protocols/keyboard-shortcuts-inhibit-unstable-v1.xml BASENAME keyboard-shortcuts-inhibit-unstable-v1)
|
||||
target_include_directories(ui PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${Qt${QT_MAJOR}Gui_PRIVATE_INCLUDE_DIRS})
|
||||
target_sources(ui PRIVATE ${WL_SOURCE_VAR} wl_mouse.cpp)
|
||||
if (XKBCOMMON_FOUND)
|
||||
|
||||
BIN
src/qt/assets/86box-wizard.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
src/qt/assets/systemicons/cpq_deskpro.png
Normal file
|
After Width: | Height: | Size: 239 KiB |
BIN
src/qt/assets/systemicons/cpq_port_386.png
Normal file
|
After Width: | Height: | Size: 245 KiB |
BIN
src/qt/assets/systemicons/cpq_port_II.png
Normal file
|
After Width: | Height: | Size: 158 KiB |
BIN
src/qt/assets/systemicons/cpq_port_III.png
Normal file
|
After Width: | Height: | Size: 198 KiB |
BIN
src/qt/assets/systemicons/cpq_portable.png
Normal file
|
After Width: | Height: | Size: 137 KiB |
BIN
src/qt/assets/systemicons/cpq_pres_2240.png
Normal file
|
After Width: | Height: | Size: 162 KiB |
BIN
src/qt/assets/systemicons/cpq_pres_4500.png
Normal file
|
After Width: | Height: | Size: 129 KiB |
BIN
src/qt/assets/systemicons/ibm330.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
src/qt/assets/systemicons/ibm_at.png
Normal file
|
After Width: | Height: | Size: 276 KiB |
BIN
src/qt/assets/systemicons/ibm_pc_81.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
src/qt/assets/systemicons/ibm_pc_82.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
src/qt/assets/systemicons/ibm_pcjr.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
src/qt/assets/systemicons/ibm_ps2_m70.png
Normal file
|
After Width: | Height: | Size: 214 KiB |
BIN
src/qt/assets/systemicons/ibm_ps2_m80.png
Normal file
|
After Width: | Height: | Size: 259 KiB |
BIN
src/qt/assets/systemicons/ibm_psvp_486.png
Normal file
|
After Width: | Height: | Size: 212 KiB |
BIN
src/qt/assets/systemicons/ibm_psvp_p60.png
Normal file
|
After Width: | Height: | Size: 212 KiB |
BIN
src/qt/assets/systemicons/ibm_xt_82.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
src/qt/assets/systemicons/ibm_xt_86.png
Normal file
|
After Width: | Height: | Size: 289 KiB |
BIN
src/qt/assets/systemicons/olivetti_m19.png
Normal file
|
After Width: | Height: | Size: 257 KiB |
BIN
src/qt/assets/systemicons/olivetti_m21.png
Normal file
|
After Width: | Height: | Size: 317 KiB |
BIN
src/qt/assets/systemicons/olivetti_m24.png
Normal file
|
After Width: | Height: | Size: 204 KiB |
BIN
src/qt/assets/systemicons/olivetti_m24sp.png
Normal file
|
After Width: | Height: | Size: 204 KiB |
BIN
src/qt/assets/systemicons/os_archlinux_x2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
src/qt/assets/systemicons/os_cloud_x2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/qt/assets/systemicons/os_debian_x2.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
src/qt/assets/systemicons/os_dos_x2.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
src/qt/assets/systemicons/os_fedora_x2.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
src/qt/assets/systemicons/os_freebsd_x2.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
src/qt/assets/systemicons/os_gentoo_x2.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
src/qt/assets/systemicons/os_jrockitve_x2.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
src/qt/assets/systemicons/os_l4_x2.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
src/qt/assets/systemicons/os_linux22_x2.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
src/qt/assets/systemicons/os_linux24_x2.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
src/qt/assets/systemicons/os_linux26_x2.png
Normal file
|
After Width: | Height: | Size: 5.2 KiB |
BIN
src/qt/assets/systemicons/os_linux_x2.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
src/qt/assets/systemicons/os_macosx_x2.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
src/qt/assets/systemicons/os_mandriva_x2.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
src/qt/assets/systemicons/os_netbsd_x2.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
src/qt/assets/systemicons/os_netware_x2.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
src/qt/assets/systemicons/os_openbsd_x2.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
src/qt/assets/systemicons/os_opensuse_x2.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
src/qt/assets/systemicons/os_oracle_x2.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
src/qt/assets/systemicons/os_oraclesolaris_x2.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
src/qt/assets/systemicons/os_os2_other_x2.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
src/qt/assets/systemicons/os_os2ecs_x2.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
src/qt/assets/systemicons/os_os2warp3_x2.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
src/qt/assets/systemicons/os_os2warp45_x2.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
src/qt/assets/systemicons/os_os2warp4_x2.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
src/qt/assets/systemicons/os_other_x2.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
src/qt/assets/systemicons/os_qnx_x2.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
src/qt/assets/systemicons/os_redhat_x2.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
src/qt/assets/systemicons/os_solaris_x2.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
src/qt/assets/systemicons/os_turbolinux_x2.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
src/qt/assets/systemicons/os_ubuntu_x2.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
src/qt/assets/systemicons/os_win10_x2.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
src/qt/assets/systemicons/os_win2k3_x2.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
src/qt/assets/systemicons/os_win2k8_x2.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/qt/assets/systemicons/os_win2k_x2.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
src/qt/assets/systemicons/os_win31_x2.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
src/qt/assets/systemicons/os_win7_x2.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
BIN
src/qt/assets/systemicons/os_win81_x2.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
src/qt/assets/systemicons/os_win8_x2.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
src/qt/assets/systemicons/os_win95_x2.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
BIN
src/qt/assets/systemicons/os_win98_x2.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
src/qt/assets/systemicons/os_win_other_x2.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
src/qt/assets/systemicons/os_winme_x2.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
src/qt/assets/systemicons/os_winnt4_x2.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
src/qt/assets/systemicons/os_winvista_x2.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
src/qt/assets/systemicons/os_winxp_x2.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
src/qt/assets/systemicons/os_xandros_x2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
src/qt/assets/systemicons/pb_bora_pro.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
src/qt/assets/systemicons/pb_pb410.png
Normal file
|
After Width: | Height: | Size: 205 KiB |
BIN
src/qt/assets/systemicons/pb_pb640.png
Normal file
|
After Width: | Height: | Size: 173 KiB |
BIN
src/qt/assets/systemicons/pb_pb680.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
BIN
src/qt/assets/systemicons/tandy_1000.png
Normal file
|
After Width: | Height: | Size: 156 KiB |
BIN
src/qt/assets/systemicons/tandy_1000_hx.png
Normal file
|
After Width: | Height: | Size: 175 KiB |
BIN
src/qt/assets/systemicons/tandy_1000_sl2.png
Normal file
|
After Width: | Height: | Size: 209 KiB |
BIN
src/qt/assets/systemicons/toshiba_t1000.png
Normal file
|
After Width: | Height: | Size: 153 KiB |
BIN
src/qt/assets/systemicons/toshiba_t1200.png
Normal file
|
After Width: | Height: | Size: 285 KiB |
BIN
src/qt/assets/systemicons/toshiba_t1200_hdd.png
Normal file
|
After Width: | Height: | Size: 285 KiB |
@@ -162,6 +162,7 @@ ioctl_is_empty(const void *local)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if 0
|
||||
static int
|
||||
ioctl_ext_medium_changed(UNUSED(void *local))
|
||||
{
|
||||
@@ -174,6 +175,7 @@ ioctl_ext_medium_changed(UNUSED(void *local))
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
ioctl_close(void *local)
|
||||
|
||||
BIN
src/qt/icons/browse.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/caps_lock_off.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/caps_lock_on.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/cartridge_image.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/cassette_image.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/cdrom_nomedia.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/eject.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/export.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/fast_forward.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/floppy_35_image.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/floppy_525_image.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/green-square-16.png
Normal file
|
After Width: | Height: | Size: 115 B |
BIN
src/qt/icons/kana_lock_off.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/kana_lock_on.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/mo_image.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/new.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
src/qt/icons/num_lock_off.ico
Normal file
|
After Width: | Height: | Size: 9.4 KiB |