Commit Graph

4115 Commits

Author SHA1 Message Date
adelikat 9d87550c2a Cell - implement == and != overrides, this might fix some subtle problems in input roll 2019-10-26 17:22:49 -05:00
adelikat 6604e5dc17 InputRoll - cleanup and fix some typos 2019-10-26 17:16:15 -05:00
adelikat 0ce5046061 cleanup input roll column and cell classes 2019-10-26 17:06:42 -05:00
adelikat b54be19e9e InputRoll - reorg - put in its own folder, break out column and cell classes into separate files 2019-10-26 16:49:52 -05:00
adelikat 14ffd143d4 InputRoll - fix placement of rotated text 2019-10-26 16:25:42 -05:00
adelikat 5a17d20cf0 InputRoll - some more cleanup 2019-10-26 16:20:27 -05:00
adelikat af59d2fe6b InputRoll - misc cleanups 2019-10-26 16:04:27 -05:00
adelikat 179e71efee remove some now unused control extension methods 2019-10-26 16:01:21 -05:00
adelikat d592526c3c InputRoll - stop passing around unused paint event args 2019-10-26 15:47:43 -05:00
adelikat f7b2982dad Merge branch 'inputroll-rotatefix' 2019-10-26 15:37:47 -05:00
J.D. Purcell d2cf95e18f GdiPlusRenderer: Implement string rotation. 2019-10-26 16:31:21 -04:00
adelikat 772bd5b65e Remove blend option in IControlRenderer, true was always being passed for GDI, so just always do alpha blend in GDI 2019-10-26 15:22:47 -05:00
adelikat 4d576ea9da Hex Editor - improve performance a bit when there are highlighted or frozen addresses by not newing up brushes and pens on every draw 2019-10-26 15:08:54 -05:00
adelikat 064a78d7f3 inputroll - fix crash when resized to 0 2019-10-26 14:37:42 -05:00
adelikat e21e861e99 temp hack to force tastudio to draw the frame column rotated in horizontal orientation 2019-10-26 14:22:19 -05:00
adelikat f6b0fa1550 GdiRenderer - cleanup font caching logic and fix rotated text 2019-10-26 12:59:30 -05:00
adelikat e11f3e68e7
Merge pull request #1704 from TASVideos/GdipRenderer1
GdiPlusRenderer: Remove caches, implement Dispose
2019-10-26 12:45:16 -05:00
J.D. Purcell 4e2818222d GdiPlusRenderer: Remove caches, implement Dispose. 2019-10-26 13:40:20 -04:00
YoshiRulz 5e5f69f07e
Move _vBar/_hVar init out of ctor, init CellHeight to non-zero
CellHeight/_vBar/_hBar were being read *while the ctor was running* due to
unexplained Mono magic (and hence their values were 0/null/null, respectively)
2019-10-27 03:38:30 +10:00
adelikat 437c2f067a TAStudio - Consolidate the two restore defaults menu items. Restore splitter positions when restoring defaults 2019-10-26 11:40:04 -05:00
adelikat 9bbfb995b8 GDIPlusRenderer - put off rotate text, for now 2019-10-26 11:26:12 -05:00
adelikat 8977137e84 GDIPlusRenderer - cleanup 2019-10-26 11:11:38 -05:00
adelikat 2e489763b9 use OSTailoredCode class to decide GDI vs GDIPlus renderering 2019-10-25 18:20:13 -05:00
J.D. Purcell 6395089a9c TAStudio.ListView.cs: Fix missing alpha values. 2019-10-25 18:02:31 -04:00
adelikat 28dcae6c8b GDIPlus renderer - use brush cache for text drawing 2019-10-24 16:35:07 -05:00
Asnivor 2e8d7346c3 InputRoll: Implement proper double buffering (improves gdi+ inputroll performance by a factor of 8 or 9 on my machine) 2019-10-24 15:49:51 -05:00
adelikat 7b7e9a269a Rough in of a GDI+ Renderer implementation 2019-10-24 15:49:51 -05:00
adelikat b7f8f830e0 move some font shenanigans into GDI Renderer instead of input roll 2019-10-24 15:49:51 -05:00
adelikat b4a38597a6 remove unnecessary hack 2019-10-24 15:49:51 -05:00
adelikat f86b218111 Renderer doc fix 2019-10-24 15:49:51 -05:00
adelikat 9dc91e508e simplify renderer api 2019-10-24 15:49:51 -05:00
adelikat ca2767c536 HexView - cleanup and comment out GDIREnderer for now 2019-10-24 15:49:51 -05:00
adelikat 92d6769b06 inputroll - rename renderer variable 2019-10-24 15:49:50 -05:00
adelikat 0a7db2ad4d cleanup GDI Renderer 2019-10-24 15:49:50 -05:00
adelikat 74450ee0a6 create an interface for GDIRenderer 2019-10-24 15:49:50 -05:00
adelikat c0e2529b20 tastudio - don't nag about inaccurate cores if autoloading a file 2019-10-24 15:49:23 -05:00
J.D. Purcell 2054a6b905 RomFilter cleanup. 2019-10-22 11:54:42 -04:00
J.D. Purcell 219d0d2e8d Remove old commented code (it got moved to FileLoader 3+ years ago). 2019-10-22 09:44:22 -04:00
J.D. Purcell 1df41efc0d Consolidate core accuracy warning dialog. 2019-10-21 23:54:16 -04:00
J.D. Purcell 1aadff8ca1 Cleanup speed increase/decrease. 2019-10-21 22:13:48 -04:00
J.D. Purcell 09dc1df9ae Fix NullReferenceException when loading SNES MSU-1 XML file (MSU-1 still doesn't work for me though). 2019-10-21 20:09:55 -04:00
alyosha-tas bc76a4a040 Cheats: typo fix 2019-10-21 14:30:34 -04:00
alyosha-tas 3f216fb4a4 Disable cheats hotkey 2019-10-21 14:18:25 -04:00
J.D. Purcell 952609eeaa Factor out some common stuff in rom load/close. 2019-10-20 23:36:11 -04:00
J.D. Purcell 99f63f9a9f Don't even need this variable. 2019-10-20 21:27:53 -04:00
J.D. Purcell 69bb2322a1 Try to clean up ROM loading a bit. It's not much but it's a start. 2019-10-20 20:41:25 -04:00
J.D. Purcell b0c7bab94e Fix small binding regression (tabbing into the first input widget could trigger a tab bind). 2019-10-20 14:42:14 -04:00
J.D. Purcell 23433b856f Hotkey/controller config: Fix issue where input events get queued and processed by the main form after the dialog is closed. For example if you opened the hotkey config, typed "-" in the search box, and closed the dialog, it would trigger Decrease Speed in the main form. Also redo an old hack fix the right way. 2019-10-20 13:47:22 -04:00
J.D. Purcell 09314bdeda Add readonly keyword. 2019-10-20 11:06:39 -04:00
J.D. Purcell 4445a425a2 ToolManager cleanup. 2019-10-20 10:47:23 -04:00
J.D. Purcell 7e38bf61c9 ToolManager.IsAvailable fix. 2019-10-20 10:17:13 -04:00
alyosha-tas ff35dfab57 fix #1697 2019-10-20 09:42:54 -04:00
J.D. Purcell 1fadcb97f2 Misplaced this in last commit. 2019-10-20 01:43:08 -04:00
J.D. Purcell a2215fb5df Fix AppVeyor build. 2019-10-20 01:24:28 -04:00
J.D. Purcell b01f52c01b Ability to handle alternate keyboard layouts (e.g. Dvorak). Optional and off by default for now due to its experimental nature. Closes #1584 2019-10-20 01:16:27 -04:00
alyosha-tas db1dc74591 Mostly Fix #1696 2019-10-19 21:28:06 -04:00
J.D. Purcell 33d9b08e39 Cleanup 2019-10-19 21:17:47 -04:00
adelikat bc4498b9dd VirtualListView begone! 2019-10-19 20:06:59 -05:00
adelikat ccdf616d46 convert Tastudio UndoHistory from VirtualListView to InputRoll 2019-10-19 20:03:05 -05:00
adelikat 7fc4e82ef9 Debugger Breakpoints - use ListView in virtual mode instead of VirtualListView 2019-10-19 20:03:05 -05:00
J.D. Purcell 4eea88a988 Hotkey Config: Fix when binding key combination if the modifier is released first (e.g. Ctrl+C with Ctrl released first). 2019-10-19 20:51:04 -04:00
adelikat 9100526a0c Convert debugger to use InputRoll instead of VirtualListView 2019-10-19 19:16:45 -05:00
adelikat 701533f4fe convert CDL tool to use InputRoll 2019-10-19 18:17:21 -05:00
adelikat 279726d52c convert TraceLogger to use InputRoll 2019-10-19 18:17:21 -05:00
J.D. Purcell 4ed50200c8 Some cleanups in Input.cs 2019-10-19 17:50:24 -04:00
adelikat bd0c81d791 InputRoll - don't blow up if QueryItemBkColor isn't defined 2019-10-19 14:59:57 -05:00
adelikat b84413b947 LuaFunctions dialog - use listview in virtualmode instead of virtuallistview 2019-10-19 14:26:45 -05:00
adelikat 2a6225940b PlayMovie - use listview in virtual mode instead of VirtualListView 2019-10-19 14:18:43 -05:00
adelikat 975c9f9f0d LogWindow - use ListView in virtual mode instead of VirtualListView 2019-10-19 13:55:26 -05:00
adelikat de01596617 delete unused TasListView, not sure what this was trying to be 2019-10-19 13:07:36 -05:00
adelikat b5d05e0f0c InputRoll - properly calculate if a vertical scrollbar is needed 2019-10-19 13:01:53 -05:00
adelikat f96e778c35 remove unused method 2019-10-19 11:46:56 -05:00
adelikat 7428a5d244 InputRoll - if column resize is enabled, double clicking a column edge resizes it to fit the text 2019-10-19 11:45:18 -05:00
adelikat fb2048075c InputRoll - cutoff text if it overflows the cell 2019-10-19 11:21:34 -05:00
adelikat 9a4de3b70d remove some now unused methods 2019-10-19 10:55:37 -05:00
adelikat 6c22e1c4c6 Lua console - implement saving/loading of column info 2019-10-19 10:45:42 -05:00
adelikat f802f48754 Lua console - implement double click toggle 2019-10-19 10:11:04 -05:00
adelikat 571c172bd4 remove image stuff from lua console .resx 2019-10-19 09:54:38 -05:00
adelikat d6972d1252 Lua Console - use InputRolle, fix all kinds of bugs with using Separators 2019-10-19 09:50:21 -05:00
adelikat 83032a363b Ram Watch - hack for backwards config compatibility 2019-10-19 09:16:45 -05:00
adelikat 5826d584cc convert cheats dialog to use InputRoll 2019-10-18 21:43:34 -05:00
adelikat 5b5a238590 Ram Search - allow column resize 2019-10-18 21:41:50 -05:00
adelikat 6977ac20a1 Ram Search - remove some code that i don't think is necessary with inputroll 2019-10-18 21:21:44 -05:00
adelikat 109b0fd8fe Ram Search - allow multi-select 2019-10-18 21:20:50 -05:00
adelikat d76531064e Ram Search - show Prev column by default 2019-10-18 20:07:16 -05:00
adelikat 3d33c3fa21 Ram Search - fix GoTo Address 2019-10-18 20:04:15 -05:00
adelikat 427f51f407 fix inputroll vertical scrollbar logic 2019-10-18 20:02:58 -05:00
adelikat a51bca38f0 convert RamSearch to use InputRoll 2019-10-18 18:56:21 -05:00
adelikat b60ed03543 inputroll - column resizing (not implemented for HorizontalOrientation yet) 2019-10-18 10:05:26 -05:00
adelikat d898c321f2 make ram watch wider by default as input roll takes a bit more width for the text, fix changes default column width 2019-10-18 10:05:26 -05:00
adelikat b3e6d1b49f Ram Watch - wire up column sorting 2019-10-18 10:05:26 -05:00
adelikat 488b8457b0 Ram watch - this hack is no longer needed, inputroll doesn't have this issue 2019-10-18 10:05:26 -05:00
adelikat f875bf656d Ram Watch - more configuration settings 2019-10-18 10:05:26 -05:00
adelikat 3e1f783c27 Ram watch - fix multi-select 2019-10-18 10:05:26 -05:00
adelikat 9c574c2124 Ram Watch - cleanup 2019-10-18 10:05:26 -05:00
adelikat cfab768846 Ram Watch - saving/loading column settings 2019-10-18 10:05:25 -05:00
adelikat 5b83b9e019 Ram Watch - Wire up column hiding/showing 2019-10-18 10:05:25 -05:00
adelikat d3353f6acf Convert Ramwatch to use InputRoll instead of VirtualListView, rough in, still lots of todos 2019-10-18 10:05:25 -05:00
J.D. Purcell 854315d96d TabIndex fixes. 2019-10-14 11:39:49 -04:00
J.D. Purcell c42bf37e86 Sound: Improve audio throttle behavior with N64. GetSamplesSync sometimes returns > 100ms of audio from N64. 2019-10-13 22:56:14 -04:00