Commit Graph

112 Commits

Author SHA1 Message Date
feos f5746a7b8f tastudio: stop updating splicer after every new cell is appended.
quick fix to #597.
fix crash when pasting input beyond movie length. todo: make input log append like PasteInsert does.
2016-04-17 13:52:58 +03:00
feos a18648dc45 GDIRenderer: add a method to create NormalFont using the LOGFONT features.
InputRoll: make the font match what fceux uses. padding still works oddly though.
2016-04-17 11:47:18 +03:00
zeromus 5a6ffe022a fix tastudio font bugs, some mine, some not mine 2016-04-17 03:07:07 -05:00
zeromus 1bde0c5a72 GDIRenderer - fix bugs in using any font but the old default gdi font (i.e. System) while rendering to offscreen bitmaps (e.g. tastudio) 2016-04-16 17:13:49 -05:00
feos 2fafd85064 InputRoll: stop switching to RotatedFont when we're in vertical orientation.
Still doesn't care about the font we set, since it's never created in gdirenderer.
2016-04-16 21:46:47 +03:00
zeromus 6b013d6d94 fix VirtualListView (incl. movie open dialog) on x64 2016-04-07 15:25:14 -05:00
zeromus 4e13f205d4 update and clarify prereqsalert urls and guidance 2016-03-21 21:08:09 -05:00
zeromus e0d74c7718 better error handling in shader compiling. kind of sloppy, but gets the job done. entire system could use a little rethinking, if i ever revisit filters 2016-02-03 02:28:03 -06:00
feos d39aa6433e tastudio: implement SeekingCutoffInterval 2016-01-27 16:18:20 +03:00
zeromus 192458a190 try catching some missing prereqs in emuhawk startup and print a report about it 2016-01-14 01:50:41 -06:00
adelikat ac1c7d0992 HexView - setting up some API 2015-12-24 15:46:57 -05:00
adelikat 60692450e8 New Hex Editor - add the plumbing for the HexView widget, that will use the GDIRenderer as the basis for the drawing. 2015-12-24 11:15:29 -05:00
zeromus 22143f99fb work on stability of avi writing. Unfortunately, I did a half dozen things here, overlapping in complicated ways, and at least 2 of which were required to fix it: changed pinvoke wrapper of AVISaveOptions, removed ownership of pointers from codec token (simplified analysis and in principle [but not practice] determinism due to less GC involvement), changed life cycle management of codec token (irrelevant due to prior), changed functions used to allocate memory from AllocHGlobal to pinvoke HeapAlloc, made different assumptions of ownership/lifecycle of pointers accessed by AVISaveOptions. notably the pinvoke wrapper for AVISaveOptions was the last thing I fixed that sealed the deal, but I don't think it was that simple. 2015-12-19 05:13:31 -06:00
feos 4bc74ce36e tastudio: arrow keys start making sense.
up/down - scroll tasview.
ctrl-up/down - move selection.
shift-up/down - append selection.
removed ctrl-shift-R, duplicate of ctrl-shift-F.
2015-12-03 23:06:28 +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
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
feos a4b3a57af2 tastudio: update RowCount before scrolling to frame.
fixes loading a branch whose movie length is longer than current.
2015-10-25 20:24:33 +03:00
zeromus 3dd0ab2008 HexTextBox - try to preserve the current value when changing the hex size. This kind of thing is super annoying, revert it immediately if there's a problem. Fixes #525 2015-10-20 01:57:47 -05:00
adelikat 6ff3215a5f Move Exception box from Client.Common to Client.EmuHawk, it is inappropriate to be in Client.Common 2015-10-17 19:18:37 -04:00
adelikat ba87d19d5c Input roll - some small cleanups 2015-09-05 16:37:52 -04:00
adelikat a85c60e716 Input Roll - more avoiding calculated fields in loops 2015-09-05 15:44:08 -04:00
adelikat ed4ccdbfc6 InputRoll - don't call LastVisibleIndex, a calculated field, in a for loop, seems to be a nice speedup 2015-09-05 15:27:59 -04:00
adelikat e9d7c7c88c InputRoll - more shenanigans 2015-09-05 15:09:55 -04:00
adelikat 747c0fddda InputRoll - remove a todo 2015-09-05 14:33:34 -04:00
adelikat b45f34dc3e InputRoll - code cleanup - make NormalFont readonly and remove redundant use of this.NormalFont 2015-09-05 14:21:58 -04:00
adelikat 76db52966e InputRoll - on paint method, calculate visible columns once and pass into draw functions rather than making a new list in every method on every draw 2015-09-05 14:00:08 -04:00
adelikat dec25850c5 InputRoll - a small cleanup 2015-09-02 19:39:57 -04:00
adelikat fceb4487c9 InputRoll - tiny optimization - don't calculate lastvisiblecolumnindex during a for loop 2015-09-02 19:38:33 -04:00
adelikat ed26eb002d InputRoll - break off drawing methods into a separate file 2015-09-02 18:46:23 -04:00
adelikat 951129048d Move InputRoll to the CustomControls folder 2015-09-02 18:27:34 -04:00
zeromus c9dab721fb fix bug in GDIRenderer font cache that made fonts go wacky and get measured wrong and then TAStudio to layout differently each time 2015-07-07 14:05:44 -05: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
adelikat 8af99c9066 Tastudio - make < and > buttons repeatable buttons 2015-02-24 21:44:26 +00:00
mathew1800 abbee1672e Specify the parameter for argument-based exceptions. Correct the parameter names of others.
Common mistake.
2015-02-10 04:19:34 +00:00
adelikat f647f16592 Ram Watch - add/edit watch - support 32 bit domains 2015-01-18 19:50:31 +00:00
jdpurcell ac4e197e22 Fix trackbars in Display config having different background color than their container (workaround applied only at runtime to avoid breaking designer). 2015-01-18 19:44:51 +00:00
adelikat f6b757e7fd Add Breakpoint dialog - fix a slight logic error 2015-01-18 19:08:25 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +00:00
adelikat 7fb92d28fc Debugger - fix disassembler scrollbar logic, including the "infinite scroll" effect that when you click the up or down scrollbar arrows it will got to the next instruction (upon the next update it will "snap" back to PC) 2014-12-23 02:34:08 +00:00
adelikat 9997c4fa8d do last commit more correctly 2014-12-13 17:33:02 +00:00
zeromus a2722ae10f do some work which _should_ have supported rotated text. not sure why it isn't working though... 2014-10-22 07:59:06 +00:00
adelikat f7939125e7 GDIRenderer - fix run away gdi objects when drawing bitmaps 2014-10-11 18:56:54 +00:00
zeromus 2a9f8d9309 refine hotkey/controller dialogs a tiny bit 2014-10-05 02:02:04 +00:00
zeromus a32b5faf95 add AlphaBlend to GDIRenderer 2014-09-18 00:31:32 +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 eebe877d28 InputRoll - remove testing code 2014-09-03 02:57:39 +00:00
zeromus 8011de9c39 draw gdi bitmaps 2014-09-03 02:52:46 +00:00
adelikat 21404611ab GDI Renderer - very bad attempt to start bitmap support 2014-09-03 02:24:13 +00:00
adelikat 11691cd690 GDIRenderer - remove some todos that were done 2014-08-31 18:19:26 +00:00
adelikat a381fcf349 Some renaming of stuff in preparation for obsoleting TasView 2014-08-23 13:14:25 +00:00