Commit Graph

5568 Commits

Author SHA1 Message Date
mjbudd77 952c3918b9 Implemented a custom vertical scroll bar widget for the Qt TAS piano roll to allow for overriding of default mouse wheel scroll behavior. 2021-12-30 18:51:15 -05:00
mjbudd77 f3897c69d3 Changed text draw functions in Qt TAS piano roll to use a defined rectangle and center justification. Instead of manually computing center, let QPainter determine center. 2021-12-30 12:53:33 -05:00
mjbudd77 4d3716c741 Minor changes to Qt TAS piano roll grid and selection grid coloring logic. 2021-12-30 12:29:15 -05:00
mjbudd77 0ad291df75 Added logic to reuse existing preview popup window when switching quickly between bookmarks (for Qt GUI). 2021-12-30 10:47:36 -05:00
mjbudd77 04b8d8a789 Bug fix for stack overflow error that can occur when calling QCoreApplication::processEvents() and not guarding against recursion on calling parent function. 2021-12-29 22:23:00 -05:00
mjbudd77 199a3d8d72 Efficiency fix for Qt TAS history view. Only redraw if it is visible in tabbed widget. 2021-12-29 21:48:53 -05:00
mjbudd77 52792378c0 Qt TAS branch view background fill bug fix. Only draw in the visible area. 2021-12-29 21:34:12 -05:00
mjbudd77 a891b080c5 Added message guard to not spam terminal with mutex warnings when GUI thread is blocking emulation thread from executing. 2021-12-29 21:11:02 -05:00
mjbudd77 9fd2bf559c Simplified CLOCKS_PER_SEC calculations for Qt GUI. 2021-12-29 21:02:00 -05:00
mjbudd77 be81d1870c Swapped out time int types for proper clock_t type. 2021-12-29 20:33:13 -05:00
mjbudd77 96c1f588e4 Bug fix for bookmark preview popup window placement. Now is always placed left of scrollable area viewport. 2021-12-29 19:52:54 -05:00
mjbudd77 d55d2c3f8a Fixed branch view bookmark text placement inside scrollable region. 2021-12-29 19:42:25 -05:00
mjbudd77 d3a167ee04 Added separate linux core dump debug target to vscode config. 2021-12-29 16:32:34 -05:00
mjbudd77 ec6cfb1e40 Commented out debug abort call. 2021-12-29 16:11:39 -05:00
mjbudd77 68693ca29d Added FCEU_WRAPPER_LOCK macros to allow for tracking of critical section mutex locking. 2021-12-29 15:56:47 -05:00
mjbudd77 425e3104de Slight speed increase to fade in/out effect for TAS bookmark preview popup for Qt GUI. 2021-12-28 22:11:30 -05:00
mjbudd77 57ed6d8ecc Reimplemented Qt bookmark preview popup window to allow for alpha fade effect. 2021-12-28 21:52:10 -05:00
mjbudd77 fd1f33f27e Added lower marker note focus on quick double click for Qt TAS editor. 2021-12-27 23:23:33 -05:00
mjbudd77 df7bedd349 Implemented different marker drag and drop scheme to support fade away effect and fix windows instability using QDrag. 2021-12-27 23:09:36 -05:00
mjbudd77 f1bf200d5d Default TAS piano roll grid color to mid-level gray. 2021-12-27 21:04:27 -05:00
mjbudd77 e4c8dee040 Ensure that cloud position is initialized properly in Qt TAS branch view. 2021-12-27 21:01:57 -05:00
mjbudd77 7f97f2fd4b Implemented piano roll drag vertical scroll line shifting logic for Qt GUI. 2021-12-27 20:11:48 -05:00
mjbudd77 58b093e549 Added call to close all windows on application close. 2021-12-25 20:39:41 -05:00
mjbudd77 4006bb500f Added screen snapshot capture message to Qt GUI. 2021-12-24 07:06:08 -05:00
mjbudd77 79d989a798 Added newline character to end of region log message. 2021-12-24 06:55:26 -05:00
mjbudd77 b05e210982 Minor order of execution changes to Qt GUI application quit to prevent crash on MacOS. 2021-12-23 23:27:46 -05:00
mjbudd77 d757f972bf Added windows vscode debug target. 2021-12-23 21:16:31 -05:00
mjbudd77 571caf3234 cppcheck and valgrind code hardening for Qt Tas editor. 2021-12-23 21:02:16 -05:00
mjbudd77 ceaa04b0f4 Minor draw fix for branches text. 2021-12-23 14:32:29 -05:00
mjbudd77 0c1c338ce7 Changed Qt piano roll single wheel detent to move by 6 lines. 2021-12-23 14:14:55 -05:00
mjbudd77 f4181e799b Added logic to allow for customization of Qt TAS piano roll grid coloring. 2021-12-23 14:04:25 -05:00
mjbudd77 bdd0bda016 Force Qt TAS bookmarks/branches font to bold. 2021-12-23 13:44:42 -05:00
mjbudd77 86e7f7a889 Added TAS config parameter load/save logic for Qt GUI. 2021-12-23 13:29:48 -05:00
mjbudd77 4c7b8bf64c Minor marker drag code changes for robustness. 2021-12-23 12:57:13 -05:00
mjbudd77 b4735a1aea Added missing follow playback cursor if needed function in Qt TAS GUI. 2021-12-22 23:54:14 -05:00
mjbudd77 a442354ef6 Added a short delay to TAS marker drag n drop setup in the event that the mouse button is quickly released. 2021-12-22 23:41:07 -05:00
mjbudd77 1e0b2f37ce Added piano roll marker drag n drop logic for Qt GUI. 2021-12-22 23:29:16 -05:00
mjbudd77 c51b545fbf Added middle button double click logic for Qt TAS piano roll. 2021-12-22 21:35:27 -05:00
mjbudd77 c0495bd62b Added Qt TAS piano roll double click handling logic. 2021-12-22 21:30:53 -05:00
mjbudd77 772901cfa7 Bug fix for Qt TAS editor allowing cross columns during drag with alt held. 2021-12-22 20:47:13 -05:00
mjbudd77 f3fd0a8016 Bug fix for inverted vertical scroll bar on Qt TAS piano roll view. 2021-12-22 20:31:34 -05:00
mjbudd77 a4d25deaf5 Changed Qt TAS playback buttons to trigger on press instead of release. 2021-12-20 21:59:41 -05:00
mjbudd77 d0bdab8c63 Added press and hold logic to Qt TAS editor playback push buttons. 2021-12-20 21:55:45 -05:00
mjbudd77 f1eb0a94fe Reduced number of characters in Qt piano roll frame cell. 2021-12-20 21:33:52 -05:00
mjbudd77 6d81529b4c Bug fix for close event on Qt TAS editor. Ignore event if save project dialog returns false. 2021-12-20 21:14:51 -05:00
mjbudd77 e79de93c18 Directional fix for Qt TAS piano roll vertical scroll bar page step 2021-12-20 20:57:13 -05:00
mjbudd77 ef8e076bba Added logic to Qt TAS editor to allow for delayed history widget updates to be scheduled so that update can occur in GUI thread 2021-12-20 20:42:47 -05:00
mjbudd77 1fa028b6e6 Increase Qt video transfer buffer size to further reduce possibility of buffer overrun when transfering frames from emulation to GUI threads. Added input device update code to emulation frame finished callback to ensure that input devices are always updated before screen is redrawn. 2021-12-17 06:30:29 -05:00
mjbudd77 c35b18751d Added a triple buffer for video frame data to ensure clean transfer of that data between emulation and Qt GUI threads. 2021-12-13 21:16:53 -05:00
mjbudd77 74a48e92d6 Added a vertical sync test pattern to Qt GUI. 2021-12-13 20:48:30 -05:00