harry
c324a82526
More cleanup of sprintf usage in favor of snprintf. This is to resolve deprecation warnings on Mac OSX
2024-02-24 07:27:20 -05:00
Andy Vandijck
2e18434959
Fix Linux build
...
Fix Linux build
2024-02-18 15:52:24 +01:00
Andy Vandijck
897849111c
Fix Linux build
...
Fix Linux build
2024-02-18 15:51:11 +01:00
Andy Vandijck
b8fce760dd
Fix Linux
...
Fix Linux build
2024-02-18 15:49:36 +01:00
Andy Vandijck
1227e9ebc0
Fix Linux build
...
Fix Linux build
2024-02-18 15:45:48 +01:00
Andy Vandijck
2d632dfeeb
Change toUtf8() to toLocal8Bit()
...
Change strings
2024-02-18 14:52:19 +01:00
Andy Vandijck
cde83851ba
Fix build for newer targets
...
Fix build
2024-02-17 19:21:47 +01:00
Fritz Mahnke
46ad7bbd38
Remove redundant setFocus call, which actually removes focus.
...
Under i3wm 4.21.1/Qt 6.4.1, the existing code actually removes keyboard focus
from the newly-activated window. Removing the call to setFocus in these cases
fixes the problem. The call to activateWindow is enough to put keyboard focus on
it.
The documentation for activateWindow implies the same.
2023-04-17 08:13:09 -07:00
harry
7910da7805
More int comparison sign mismatch compiler warning fixes.
2023-01-28 16:03:05 -05:00
harry
a4a799feef
Changed Qt GUI TAS editor recent menu to show file name separated by some space and then full path to file. This is so that the file name can still be read when the full path is ridiculusly long.
2023-01-22 10:00:00 -05:00
mjbudd77
9b6ab85424
Minor compiler warning cleanup
2022-03-11 06:58:16 -05:00
mjbudd77
3062cadb84
Build fixes for Qt6 use. Specifically Qt version 6.2.2
2022-01-29 19:00:32 -05:00
mjbudd77
1f1ca26d83
Cleaned up a few compiler warnings.
2022-01-15 22:11:17 -05:00
mjbudd77
1ca8b8e9d0
Hot fix for reversed scroll direction when dragging input above or below Qt piano roll view.
2022-01-12 19:46:37 -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
2b88e96814
Added playback progress bar to Qt TAS editor.
2022-01-08 15:05:52 -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
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
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
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
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
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
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
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