Commit Graph

14787 Commits

Author SHA1 Message Date
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 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 c956b5993b Small FFT change I had stashed. 2019-10-21 00:10:28 -04:00
J.D. Purcell 952609eeaa Factor out some common stuff in rom load/close. 2019-10-20 23:36:11 -04:00
Loren b1554be720 Use WebUtility.HtmlDecode() to decode game names (#1698)
Change '&' to '&' in gamedb_goodnes.txt. Fixes #1667.
2019-10-20 22:35:31 -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 bd6658aa41 Bump MinimumVisualStudioVersion in solution to require VS2019 2019-10-20 18:16:55 -04:00
J.D. Purcell efebef42c0 Test 2019-10-20 18:03:37 -04:00
J.D. Purcell 7532086235 Add appveyor.yml 2019-10-20 18:00:54 -04:00
J.D. Purcell 2f4a38d841 MSBuild 16 2019-10-20 17:44:50 -04:00
J.D. Purcell bb2c21b545 How about MSBuild 15 2019-10-20 17:30:54 -04:00
J.D. Purcell bda6206cb2 See if AppVeyor can use MSBuild 16 2019-10-20 17:29:30 -04:00
J.D. Purcell b9a4706133 Some C# style rules in editorconfig 2019-10-20 16:08:08 -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