Commit Graph

5714 Commits

Author SHA1 Message Date
mjbudd77 de7300c06d Qt branch view vertical grid scaling fixes. 2022-01-10 20:58:38 -05:00
mjbudd77 e976ffac5b Changed playback pauseFrame variable and accessor functions to be static in PLAYBACK class so that they are thread safe for Qt GUI. 2022-01-10 19:49:04 -05:00
mjbudd77 a673ee4a26 Added logic to protect against TAS seek overruns in Qt/SDL emulation thread. 2022-01-10 07:16:52 -05:00
mjbudd77 d380fc7f50 Ensure that Qt TAS piano roll recalculates line width for horizontal scroll bar when reset is called. This fixes incorrect horizontal scroll bar behavior when loading new projects that have a different controller count. 2022-01-10 06:31:20 -05:00
mjbudd77 c890f6c1bb Another fix to ensure that Qt TAS piano roll frame number width is at least 9 chars wide. 2022-01-09 16:31:31 -05:00
mjbudd77 020e1e208a Minor vertical text placement changes for Qt bookmarks view. 2022-01-09 16:23:58 -05:00
mjbudd77 686f9d27bb Ensure piano roll font is always forced to bold before calculating font pixel sizes. 2022-01-09 15:59:21 -05:00
mjbudd77 01e16837ef Minor syntax cleanup. 2022-01-09 15:48:36 -05:00
mjbudd77 a77cb754bf More minor vertical adjustments to Qt piano roll text placement. 2022-01-09 15:39:35 -05:00
mjbudd77 0d84862d93 More text placement adjustments to Qt TAS piano roll. 2022-01-09 15:36:59 -05:00
mjbudd77 93ee0efe3b Minor vertical adjustments to Qt piano roll text placement. 2022-01-09 14:56:03 -05:00
mjbudd77 80a7afd7f5 Account for font bearing in centering of text number in Qt branch cards. 2022-01-09 14:42:42 -05:00
mjbudd77 1e5a1eddd0 Slight adjustments to text placement in Qt branch view cards. 2022-01-09 14:22:35 -05:00
mjbudd77 2b88e96814 Added playback progress bar to Qt TAS editor. 2022-01-08 15:05:52 -05:00
mjbudd77 72af0270a3 Added a progress dialog for saving Qt TAS projects to disk. 2022-01-08 14:40:12 -05:00
mjbudd77 a28bbb3ce3 Fixed Qt advanced hotkey gamepad bindings also be able to handle escape characters. 2022-01-08 06:56:03 -05:00
mjbudd77 97e509b8ef Added code to escape keyboard gamepad bindings if the key name interferes with the config file syntax. Fixes save/load of comma key gamepad bindings. For issue #443 2022-01-08 06:37:55 -05:00
mjbudd77 94eab8f8ef Replaced all calls to clock() in Qt TAS editor. Clock was giving inconsistent time stamps since it actually returns CPU use time, not actual time. Instead use SDL_GetTicks() to get actual time in milliseconds. 2022-01-08 05:31:15 -05:00
mjbudd77 ed29139b87 Draw fix for italic text not being turned off when it should in drawing of Qt TAS piano roll. 2022-01-08 04:41:22 -05:00
mjbudd77 3db26d3fb0 Logic fix for Qt TAS piano roll ensure line is visible. 2022-01-08 04:30:15 -05:00
mjbudd77 f135fd2888 Added Qt TAS turbo seek functionality. 2022-01-08 04:17:16 -05:00
mjbudd77 2dfa98ac9f Coming back full circle on Qt TAS branch view text placement. Original implementation works best across all platforms. 2022-01-07 09:07:06 -05:00
mjbudd77 9cafd99e16 More Qt TAS branch view text placement adjustments. 2022-01-07 07:15:32 -05:00
mjbudd77 cf31b874ed Adjusted Qt TAS branch view text placement to better center text into card. 2022-01-07 06:11:46 -05:00
mjbudd77 71c5ebc133 Changed Qt TAS piano roll grid draw logic to always make header grid lines darker. 2022-01-07 06:00:11 -05:00
mjbudd77 c6293af030 Qt TAS project save compact bug fixes. 2022-01-06 06:48:44 -05:00
mjbudd77 d1fa388846 Bug fix for cut & paste errors in Qt TAS saving options dialogs. 2022-01-06 05:44:27 -05:00
mjbudd77 0badec6124 Added a custom window splitter for Qt Tas editor to better control sizing of right panel. 2022-01-05 20:17:17 -05:00
mjbudd77 ede8c5fc7e Commented out unused block of code in Qt branches view paint. 2022-01-04 21:19:21 -05:00
mjbudd77 66971b7e6b Calcation fix for is line visible in Qt TAS piano roll. 2022-01-04 21:11:49 -05:00
mjbudd77 975632856f Added Save As TAS project file overwrite warning dialog for Qt GUI. 2022-01-04 20:55:03 -05:00
mjbudd77 734ec96269 Added logic to ensure playback cursor is visible when follow cursor option toggles from false to true. 2022-01-03 21:48:04 -05:00
mjbudd77 b04ddd3fbb Uninverted Qt TAS piano roll vertical scroll appearance. Code was getting unnecessarily complicated with that implementation. 2022-01-03 21:43:36 -05:00
mjbudd77 ec663196c1 Increased fade in/out rate for Qt bookmark preview popup window. Change instantly if already up. 2022-01-03 20:51:53 -05:00
mjbudd77 b4734ac45f Disabled Qt/SDL mutex lock debug code. 2021-12-31 07:01:57 -05:00
mjbudd77 31a859b6df Upgraded Qt/SDL win64 auto-build to use SDL 2.0.18. 2021-12-31 06:40:27 -05:00
mjbudd77 4291c104d7 Bump dev version number to 2.6.0. The Qt TAS editor is far enough along that it is time to differentiate from previous 2.5.0 version. 2021-12-31 06:25:48 -05:00
mjbudd77 c198739c30 Implemented missing warning dialogs in Qt TAS project loader. 2021-12-31 05:59:51 -05:00
mjbudd77 31e6578877 Set minimum branch view height to be smaller so that scroll bar is less likely to be required and in view. 2021-12-31 05:27:36 -05:00
mjbudd77 bb6f149e4d Minor updates to Qt branches view. 2021-12-31 05:22:04 -05:00
mjbudd77 90a7dd9a0d Qt branch view grid spacing logic updates. 2021-12-31 05:03:30 -05:00
mjbudd77 5fc47dce6a Added logic to force orderly close of Qt TAS editor any time a ROM is closed or the application is quit. 2021-12-30 21:38:23 -05:00
mjbudd77 8ee625c473 Added project reset call after SaveAs function completes to ensure that project shows no changes before removing * from window caption. 2021-12-30 21:17:24 -05:00
mjbudd77 dbcc485e24 Cleaned up a few annoying compiler warnings. 2021-12-30 20:36:45 -05:00
mjbudd77 309f417c6d Custom vertical scroll wheel event modifications for robustness. 2021-12-30 20:16:25 -05:00
mjbudd77 71977ef15d Set Qt TAS piano roll grid width back to 1 pixel. Value is now stored in a variable which can be later be a configuration parameter if desired. 2021-12-30 19:52:00 -05:00
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