Commit Graph

181 Commits

Author SHA1 Message Date
Suuper 91c12d06b6 TAStudio: -Show button name and frame of painted input in undo log.
-Don't scroll to follow cursor while mouse button is held.
2015-07-25 20:15:35 -05:00
Suuper 6ca7080a85 TAStudio: Fixes to how scrolling while painting input works. 2015-07-25 19:56:13 -05:00
adelikat aeccf2e310 Tastudio Branches - Fix null reference excepting when navigating after branch load 2015-07-25 16:36:36 -04:00
Suuper f20da940fa TAStudio: Right-click shift+ctrl didn't jump to greenzone. 2015-07-25 03:28:21 -05:00
Suuper e499503a60 TAStudio bugfixes: -Invalidated 'green' frames were displaying as white; also removed two unused color variables.
-When painting input upwards, the last frame hovered over wasn't set.
2015-07-24 14:49:00 -05:00
Suuper f9cd2f4075 -TAStudio: Players' 2, 4, etc input columns have darkened bg colors.
-LagLog is now moved over to new savestate-anchored movies
2015-07-23 12:55:22 -05:00
adelikat 140ce0af16 TASTudio - when showing the marker naming pop up, clear out all the states that would have been done by the mouse up event that hasn't happened yet, prevents being able to highlight frames while the pop up is open 2015-07-18 12:33:03 -04:00
Suuper 194d988a5f Put frame clears and macro placements in undo batches
Better undo descriptions for right-click edits
2015-07-16 14:40:00 -05:00
Suuper bc8717c9f9 Fixed right-click input painting in TAStudio. Also removed mouseWheelTimer as it is no longer needed. 2015-07-16 13:57:51 -05:00
Suuper 46e8bdeefa A quick attempt at fixing frame scrolling up with wheel. Not perfect, but better. 2015-07-15 15:11:32 -05:00
Suuper b9865db397 Fix: TAStudio was still seeking after edits with "Auto restore" disabled and while unpaused.
Fix: The bug where editing while seeking changed PauseOnFrame came back again.
2015-07-15 15:01:08 -05:00
Suuper 07a8a4c1d3 Removed SuppressGreenzoning because TAStudio should not allow the user to be on a frame that isn't "greenzoned". It will now jump back to the greenzoned area immediately when an edit invalidates part of the greenzone, and pause there until mouse up.
This fixes a bug which caused TAStudio to generate and keep invalid savestates.
2015-07-15 14:26:56 -05:00
Suuper e3a8c33be5 -Fixed typo in variable name (SupressGeenzonging)
-Removed state capture from TasMovie.RecordFrame
-Fixed: States weren't captured while left mouse button was still down from clicking a frame.
-TAStudio now automatically captures after loading a new movie.
2015-07-13 22:06:21 -05:00
feos 510ebf519a tastudio: moved scrolling catch up and refresh to the end of TasView_PointedCellChanged().
can drag selection offscreen too now.
todo: drag things above the view.
2015-07-14 00:40:05 +03:00
feos a2cb4373a9 tastudio: scroll to frame appended by offscreen dragging.
need to figure out scroll speed, as it is too high unless drawing VERY slowly.
2015-07-13 22:06:24 +03:00
feos feb14ad948 tastudio: don't jump to playback when advancing/rewinding
offscreen marker goto is the only SetVisibleIndex() call that should show playback
tastudio: cursor is not a marker anymore
2015-07-13 20:37:12 +03:00
feos de699656d6 tastudio: introduce fast scroll idea via timer
seek frame is reset only if paused OR 100ms since last scroll haven't elapsed
2015-07-12 21:54:31 +03:00
adelikat 9455aec767 Tastudio/lua - implement tastudio.onqueryitemicon() 2015-07-09 12:47:59 -04:00
adelikat b0ea42f5a7 Tstudio - some reorg 2015-07-09 12:35:48 -04:00
adelikat 19423092cd Tastudio/lua - implement tastudio.ongreenzoneinvalidated 2015-07-02 14:51:42 -04:00
adelikat c53cef6cf9 tastudio/lua - implement tastudio.onqueryitemtext 2015-07-01 19:46:14 -04:00
adelikat f847e905d2 tastudio/lua - add onqueryitembg event to the lua library, this is called during each cell's background color drawing callback, and gives the opportunity for lua to override the color. 2015-07-01 19:01:29 -04:00
adelikat 13044547e4 Tastudio - fix issue #446 - don't greenzone between the mouse down and mouse up events when editing input 2015-06-28 10:43:45 -04:00
SuuperW 7da9efe3c2 Feature: Apply auto-fire patterns to painted input 2015-03-23 22:11:55 +00:00
SuuperW 9328dd2f3a -TAStudio automatically set Read-Only
-TAStudio no longer refreshes every frame if playback cursor isn't visible; slight performance boost
-Editing while in playback won't mess up the LagLog (states still do)
-Fixes to rotated display and HBar scrolling
2015-03-19 19:55:38 +00:00
SuuperW 91dc780103 Fixes/changed to state history saving.
State History Integrity Check now stops at the last state.
2015-03-17 01:02:38 +00:00
SuuperW 6783978f49 Bugfix: Extending movie by painting invalidated last frame
Moved GreenzoneCurrentFrame call to a new method called after frame advance.
Feature: Scroll to marker
Page up/down now scrolls by one page
Scrolling via dragging bar and via wheel now both have the same max value.
2015-03-16 20:42:14 +00:00
SuuperW 84acda3bbc A couple bugfixes for float editing autorestore 2015-03-16 17:04:10 +00:00
SuuperW a3eadc8e5f Various bug fixes, most to TasStateManager. 2015-03-16 16:36:00 +00:00
SuuperW c661591c5c Smarter state management.
Don't focus on TasView if TAStudio doesn't have focus.
Bugfix: Scrolling with wheel didn't update pointed cell
Setting: Scroll to top/bottom/center
Follow cursor hotkey
2015-03-14 16:38:07 +00:00
SuuperW 1a0476892f Bugfix: TasProjects without states loaded without a power on state.
Bugfix: There were several ways to edit movie in TAStudio without rewinding to edited frame.
Smarter state management.
2015-03-12 18:31:28 +00:00
SuuperW 6013b9ed2b Implemented feature: Auto-adjust Input according to Lag;
Added option: Hide WasLag Frames
-Changed implementation of TasLagLog
-Removed single-line Marker functions from TAStudio.
2015-03-10 17:11:29 +00:00
SuuperW 5fd1f6912b TAStudio:
Fixed the Greenzone Integiry Check feature.
Bugfix: Right-click menu didn't show up.
2015-03-10 05:12:13 +00:00
SuuperW e2f79254be Changed TAStudio to not reference the no longer used StickyXORAdapter.
Chagned GetFloatValue to GetFloatState (to match SetFloatState)
2015-03-10 04:16:42 +00:00
SuuperW 7360badb4a Added AutoFire support in TAStudio, fixed/improved patterns.
-A couple minor fixes
2015-03-08 04:42:04 +00:00
SuuperW 189ecfeb2e TAStudio:
-Undo History UI, some history bugfixes
-Painting input past the movie no longer moves markers
2015-03-04 19:03:00 +00:00
SuuperW e4c4910b37 TAStudio:
-Several buggixes
-Feature: Right-click dragging frames to move/copy/clone. (Combine with Shift and/or Ctrl.)
2015-03-03 18:22:54 +00:00
SuuperW 25e54f4390 -More StateHistory names
-Smarter state history management
TAStudio: A few bugfixes and performance boosts
2015-03-03 06:56:45 +00:00
SuuperW bff3d64a4a -Various fixes, mostly to Undo/Redo.
-Changed Program.cs to not use a couple try statements when debugger is attached.
-Implemented the Undo/Redo menu item buttons.
-Ctrl-deselecting frames in TasView now supports dragging.
2015-03-01 19:29:33 +00:00
SuuperW cf081ce1fc TAStudio:
-Moved Toggle/SetStates from TasMovie.cs to TasMovie.Editing.cs
-bugfix: Yet another bug in setting LastVisibleFrame
-Removed unused declaration
-Fixed MarkerControl to not mess up display when a deleted marker is still selected.
-feature: Basic undo/redo history functions seem to work. (Ctrl+Z/Y in TasView)
2015-03-01 05:47:32 +00:00
SuuperW 836659264d TAStudio:
-Bugfix: Dragging to change a float was backwards.
-Fix: Setting LastVisibleRow with lag frames hidden now goes to the correct frame.
-TasView now sets FirstVisibleRow when jumping backwards
-Bugfix: Deleting a marker didn't remove selection; refresh messed up.
-Moved InputRoll.cs, SelectAll/DeselectAll to the Api region.
-Bugfix: Couldn't edit next-frame float values.
2015-02-27 19:06:02 +00:00
SuuperW 81a8d38ca4 TAStudio work:
-Fixed InputRoll.VisibleRows property.
-Removed useless check for NeedsScrollbar.
-Removed TAStudio.ListView.cs property for hiding lag frames; changed InputRoll.cs to do that work more efficiently.
-Feature: User can now edit float values by holding the mouse button and dragging up/down.
-Bugfix: Moving the cursor past first displayed row while painting would not cause first displayed row to be painted. (and similarly with last)
2015-02-25 21:17:50 +00:00
adelikat 6a02656417 Tastudio - track lag log history (1 level deep) and color "invalidated greenzone" using this information (a lighter shade of normal greezone colors) 2015-02-24 21:23:16 +00:00
SuuperW 734101a8fd TAStudio: Fixed arrow keys not being picked up in KeyPress, plus minor edits/bugfixes to arrow key editing of float values. 2015-02-24 20:55:24 +00:00
adelikat a4ce9de091 Tastudio - wire up the Lag Frames to Hide UI, and have it save in the Tasproj file 2015-02-24 20:38:46 +00:00
SuuperW 369c883ac0 TAStudio feature added:
-Hiding lag frames feature implemented. (Still needs a user interface to change the settings.)
2015-02-24 19:00:12 +00:00
SuuperW db09b12925 More updates to TAStudio: (again all my changes marked with SuuperW)
-bugfix: Local variable hid another; float input couldn't be painted.
-bugfix: Bool input couldn't be painted starting from past the last frame.
-feature: Double-clicking a float input allows user to type value in. (arrow keys would also work, but those aren't seen by the InputRoll, no idea why)
-change: Selected cells are now half-highlighted, so user can still see the non-highlighed color.
2015-02-24 06:47:32 +00:00
SuuperW e3b9b7c795 A few edits to TAStudio:
-Double-click markers to jump to that frame.
-Drag painting input was one frame behind cursor.
-Some commented-out code for stuff I was messing with may also be present. (All edits were marked with SuuperW comment line.)
2015-02-24 03:06:57 +00:00
adelikat c03fc0be81 Tastudio - fix issue 356, don't crash when clicking a float column when the movie has no input yet 2015-01-05 00:43:02 +00:00
adelikat 6ce93c0496 TAStudio - move some settings from Config.cs to the dialog using [ConfigPersist] 2015-01-01 18:24:35 +00:00
adelikat 3768e393c7 Convert remaining tools to EmulatorServices 2014-12-14 01:20:19 +00:00
adelikat 5c85a8ca66 Tastudio - improve navigation performance by emulating a frame when possible rather than loading a state 2014-10-23 21:21:43 +00:00
adelikat 5a2e8071d6 Tastudio - break some code into a function in preparation for stuff 2014-10-21 01:31:41 +00:00
adelikat 1610555dbe Tastudio - double click a marker in the marker list will allow user to edit the message 2014-10-20 23:03:39 +00:00
adelikat d0aee55059 Tastudio - a bit of simplifying some code 2014-10-20 19:04:59 +00:00
adelikat 590766d147 Tastudio - speed up selection by reducing unnecessary refresh calls 2014-10-20 00:11:07 +00:00
adelikat 3593588d5f InputRoll - ColunReorder event handler, Tastudio - subscribe to this event handler and flag changes to the movie (since this information is saved into the tasproj file) 2014-10-19 14:46:01 +00:00
adelikat 2401de6ba2 Tastudio - don't open the context menu when user right-clicks a column header 2014-10-19 00:24:33 +00:00
adelikat e0525ebbe4 TAStudio - when input painting and other mouse events, wait to do AutoRestore until mouse up 2014-10-17 20:10:21 +00:00
adelikat 13f86451f4 tastudio - some cleanup 2014-10-17 19:31:42 +00:00
adelikat a08e2f9a79 Tastudio - another round of fix cleanup 2014-10-17 18:14:21 +00:00
adelikat 464102effe tastudio - some code cleanup 2014-10-17 17:40:11 +00:00
adelikat 7fa6e0093d Tastudio - change context menu activation to be on right-mouse up instead of down, only show it if the user did not move the mouse wheel first (fixes the conflict between right-click-mousewheel scrolling vs context menu activation), wire up the clear greenzone context menu item. Instead of only activating right-click if there are selected items, show it anyway, and disable menu items that need selected items (which is a majority of them but not all) 2014-10-15 22:52:23 +00:00
adelikat 4ec375c708 Tastudio - slight color change 2014-10-15 19:06:33 +00:00
adelikat b87177a0b5 Tastudio - implement the "Empty new Marker notes" menu item 2014-10-15 16:09:14 +00:00
adelikat 3726b15d3b TAStudio - when adding input from column click, re-greenzone 2014-10-15 14:36:08 +00:00
adelikat 56cb685d67 InputRoll - make custom column click event args that pass a RollColumn object rather than trying to shoehorn a ListView column click event args object for legacy support 2014-10-14 00:31:59 +00:00
adelikat 06dd71f849 Input Roll - change remaining callback methods to pass the RollColumn object instead of index 2014-10-13 19:30:59 +00:00
adelikat c0dcf99656 Input Roll - change QueryItemText event handler to pass the RollColumn object instead of a column index, still todo: background and icon callbacks 2014-10-13 19:10:11 +00:00
adelikat 0b8c9f3db1 InputRoll - convert SelectedRows from IList to IEnumerable 2014-10-13 18:28:29 +00:00
adelikat 358b1145a0 tastudio - column hide/show, still todo: saving the column settings into the tasproj file. Also, this probably broke a bunch of things. also todo: refactor a bunch of InputRoll event handlers, it is silly not to pass a column object, just to have legacy support with virtuallistview even though it is diverged too much from that notion to even be able to be dropped in as a replacement 2014-10-12 16:37:45 +00:00
adelikat d91256ceb9 Input Roll - Different highlight color when hovering an emphasized column 2014-09-25 18:12:18 +00:00
adelikat 5660fee947 Tastudio - right-click a column to toggle autohold on that button 2014-09-25 17:52:21 +00:00
adelikat e9e9f574da Tastudio - don't navigate to the current frame when editing values 2014-09-25 01:26:39 +00:00
adelikat ea3f86c11e Tastudio - Fix some erroneous StateManager logic 2014-09-22 22:52:34 +00:00
adelikat 5ae547d89f Tastudio - change color drawing a bit, don't color differently for whether or not there's a state for that frame, only key off the lag (which will adequately tell you if it is an "emulated" frame or not. In developer builds, color the marker column differently for easier debugging of TasStateManager logic 2014-09-22 21:47:07 +00:00
adelikat d6859b64a3 Tastudio - refactor some context menu logic 2014-09-19 20:49:51 +00:00
adelikat 5ba9717445 Tastudio - when clicking the frame column header, add a marker 2014-09-19 01:15:14 +00:00
adelikat ff0cbcadc2 Tastudio - fix an exception when painting on the last frame 2014-09-18 21:56:13 +00:00
adelikat 4d08822425 Tastudio - pad frame column based on input log length 2014-09-18 00:51:16 +00:00
adelikat 39b7b1c1fc Tastudio - green marker icon logic 2014-09-16 19:20:19 +00:00
adelikat 5beffa156a Tastudio - lots of icons! 2014-09-04 22:03:22 +00:00
adelikat 33de5d4bd9 InputRoll - support a QueryItemIcon callback, and wire it up to Tastudio's current frame marker, needs to be cleaned up 2014-09-03 03:16:16 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
kylelyk 5b8898e1d8 Fixed bug with selection drawing, added ability to specify max characters in every "column" in Horizontal Orientation, moved toggling of InputRoll orientation to TAStudio. 2014-09-01 15:35:48 +00:00
kylelyk b5af69a7c5 Fixed small bug introduced from last commit, added a different cursor for Horizontal Orientation. 2014-09-01 00:45:58 +00:00
kylelyk 8edbc8bfe1 TAStudio: Fixed double middle/right click creating new marker. Fixed selected row not displaying properly. 2014-08-31 18:06:31 +00:00
adelikat f5059bf53c Tastudio - fix a null reference exception 2014-08-31 17:15:21 +00:00
adelikat 907ab29aaa Tastudio - fix exception when attempting to scroll before frame 0 2014-08-31 16:07:11 +00:00
kylelyk 69e9bc22d2 More graphics fixes for InputRoll and overhauled how scrollbars are maintained and calculated. VScrollbar is still in rows for now. 2014-08-31 15:40:02 +00:00
adelikat 7a720a63b1 Tastudio - fix backwards lag background color logic 2014-08-31 14:58:44 +00:00
kylelyk d2eb036b90 Refactored a lot of InputRoll, started the foundation of changing orientation behavior, horizontal scrollbar now works completely. Have not tested horizontal orientation (not until vscrollbar is in pixels and switching between orientations is tested). 2014-08-30 18:42:14 +00:00
adelikat f456fea9be TAStudio - fix selection via frame column dragging 2014-08-29 18:02:23 +00:00
adelikat 1c89ba9ec5 TAstudio - a better place to put autorestore logic, still a lot of brokenness though 2014-08-29 15:27:51 +00:00
adelikat c033b26ad0 TasMovie - don't create a Bk2MnemonicConstants object everytime a display value is requested, gives a modest speed up to tastudio performance 2014-08-29 01:59:08 +00:00
adelikat 3e80e59f2d TAStudio - rip out uneeded stuff 2014-08-23 16:00:56 +00:00
adelikat ed26abd944 Drop int input roll onto tastudio, this causes countless regressions, and possibly crashes, but yeah 2014-08-23 15:19:48 +00:00
adelikat a381fcf349 Some renaming of stuff in preparation for obsoleting TasView 2014-08-23 13:14:25 +00:00
kylelyk 5ed74d0188 Set Markers and Remove Markers ContextMenuItems are now working. If multiple rows are selected, the new marker dialog will come up for each row. The option to remove markers is disabled if selected rows do not contain at least one marker. 2014-08-23 02:51:52 +00:00
kylelyk 7b03f11091 Added RightClickMenu ContextMenuStrip to TAStudio, enabled all but three options which need to be implemented in code. Fixed a couple of short key combinations not working. 2014-08-23 01:18:05 +00:00