Commit Graph

48 Commits

Author SHA1 Message Date
alyosha-tas 0c3da629c8 Fix for exception in marker window 2016-12-13 22:37:06 -05:00
adelikat 5258f9385c Tastudio - use the Emulator property not Global.Emulator, fix another CoreExension method 2016-12-04 12:30:51 -06:00
feos 1b8ef3738a tastudio:
- history form: canonical colors, show the current item better, report marker operations
- markers: adding markers updates dialog, don't ever remove marker 0
- tsm: attempt to fix exception in AllLag()
2016-01-27 12:53:26 +03:00
feos 69970c5ae5 tastudio: select the new cell on every rightclick.
only enabled for branches and markers, since in tasview we use rightclick to start advance/rewind.
involved some hackery, like killing context menu while OnMouseDown of the given listview, then going back to InputRoll's OnMouseDown and actually selecting a new cell. can we figure out a hovered cell while context menu is still active? also, it'd make sense to do this for leftclick as well, but without context menu hiding, there doesn't seem to be a way to force updating of listviews from InputRoll.
2015-12-03 21:16:55 +03:00
feos 0f6ef723bf tastudio: fix bug with ScreenshotPopupControl's alpha channel.
it was forgetting to discard alpha, and when creating a bitmap it dropped anything but lua hud, since it does have alpha bits that nothing else has, and with no lua hud involved, it showed all normally, since it didn't have to drop colors with zero alpha. lol.
2015-12-02 22:21:05 +03:00
feos ef563a77e0 tastudio: differentiate between marker with text and regular marker.
both have buttons and context menu items.
if mass adding regular markers, give a warning for 50+.
marker with text can only be added one at a time.

fix #504
2015-12-01 19:36:13 +03:00
feos 796a62f883 tastudio: moved branch and marker popups to their controls.
marker add called from MarkerControl doesn't check TasView selection anymore: current frame has higher priority, and if we don't want a marker on it, we use TasView's doubleclic or menu to mark selection.
sight MarkerControl cleanup.
2015-11-25 23:28:46 +03:00
feos 344cd94aa2 tastudio: MarkerControl buttons (and commands).
also moved marker context menu from TAStudio to MarkerControl.
2015-11-25 00:10:34 +03:00
adelikat 028c505fdc Tastudio - clear marker and branch selections when starting a new project 2015-09-06 14:56:12 -04:00
adelikat 2a1c9e8602 TAStudio - anchor icons on frames with savestates, proof of concept. InputRoll - add offsetx,y values to queryItemIcon and queryItemText, also support ability to draw icons and text in the same cell 2015-08-24 18:30:45 -04:00
Suuper f72eadb76e TAStudio: -Fix: Undo/Redo didn't always jump back to valid frame.
-Performance boosts with multiple selected rows
2015-07-25 22:49:52 -05:00
adelikat 2c7fd7edea Tastudio - add a bookmark widget, doesn't do anything yet 2015-07-18 16:10:56 -04: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 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 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
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
kylelyk 9bb8a0f355 Fixed MarkerControl crashing on startup in TAStudio (temporary fix). 2014-12-22 22:30:22 +00:00
goyuken d1580567dd add a few missed ServiceInjection uses 2014-12-21 18:25:04 +00:00
adelikat 3d30bd082e InputRoll - slight tweak to the SelectedIndexChanged event logic 2014-10-25 14:10:32 +00:00
adelikat 7b4f5c4a1b Tastudio - context menu for the Marker list, fix bug where double clicking the marker list beyond the actual markers resulted in an exception 2014-10-25 13:41:23 +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 6b3c631702 Tastudio - Marker list - fix rather messed up background coloring logic 2014-10-18 16:34:41 +00:00
adelikat a3d58399a2 Tastudio - some ui fixups for the Marker list 2014-10-18 16:22:24 +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 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 f5a3d28f21 Tastudio - fix a problem with stale marker list when restarting a project or loading a new one 2014-09-28 17:16:00 +00:00
adelikat 1bf77201d1 Tastudio - adjust marker view column widths, and a bit of code cleanup there 2014-09-18 00:23:40 +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 a86897e5ba TAStudio - Fix InputRoll background callback logic, fix marker list background drawing logic 2014-08-29 00:04:42 +00:00
kylelyk 4455d5deac Editing Markers now is managed by TasMovie as a change to the movie file. Fixed bugs to do with adding and deleting markers. 2014-08-24 14:41:56 +00:00
kylelyk 72eee2cc05 TasView and MarkerView are now completely set up at runtime and display properly. 2014-08-23 23:40:01 +00:00
adelikat f28f47b941 replace the marker list with an input roll instead of virtuallistview, part of this commit was loosing the item active event, it needs to be replaced with a double click event 2014-08-23 19:01:47 +00:00
adelikat 8db6957e4a tastudio - performance related tweaks 2014-07-27 15:50:48 +00:00
adelikat 6e50c1b3a9 TAstudio - double clicking a marker in the marker list takes you to that marker 2014-07-23 23:04:43 +00:00
adelikat 91a44a8789 TAStudio - color markers in marker list according to lag and greenzone logic 2014-07-21 02:23:47 +00:00
adelikat 2ebba5ab07 Tastudio - implement playback controls 2014-07-17 19:00:28 +00:00
adelikat 1a4168d14d ugh 2014-07-16 02:20:14 +00:00
adelikat d8216ae0fc Tastudio - remove marker button 2014-07-16 02:17:19 +00:00
adelikat 7b8b602f0f TAStudio - double click the frame column to add a marker, make add marker button take the last selected index or current frame if nothing is selected 2014-07-16 01:37:50 +00:00
adelikat 8c064875c2 TAStudio - ability to add markers, very crude implementation for now 2014-07-15 23:43:17 +00:00
adelikat 6b1bfc2d4a TAStudio - stuff 2014-07-13 14:13:20 +00:00
adelikat 786b0238ba Move Markers from TAStudio to TasMovie, and implement saving and loading of markers 2014-07-09 16:35:39 +00:00
adelikat 68f522c5c9 TAStudio - use MarkerControl user control, doesn't do anything yet though 2013-12-16 03:23:28 +00:00
adelikat 01ea214332 TAStudio - make Marker user control 2013-12-15 19:16:52 +00:00