Commit Graph

317 Commits

Author SHA1 Message Date
adelikat 6a25679ae3 remove trailing comma in various places in Emuhawk probject 2020-03-21 16:04:08 -05:00
adelikat 9584ff1f53 use switch expressions in some various places in EmuHawk, and some other simplifications 2020-03-04 20:18:43 -06:00
YoshiRulz 10818ba069 Create a new project for custom controls and add some more 2020-03-03 22:51:51 +00:00
adelikat 0414e15a75 InputRoll - remove designer hacks, they don't crash the designer anymore 2020-03-01 16:41:47 -06:00
adelikat 69ad9050d2 proof of concept - add these attributes to custom control values that hard code an base property that would otherwise be settable by the designer 2020-02-28 17:52:04 -06:00
YoshiRulz 5ab68c9784
Add some more custom controls 2020-02-29 08:17:33 +10:00
J.D. Purcell ada40bbdc7 InputRoll: Cleanup horizontal column calculations. 2020-02-18 09:40:01 -05:00
J.D. Purcell e27647e8cb InputRoll: Fix column click events going to wrong column in horizontal orientation. 2020-02-17 23:08:39 -05:00
J.D. Purcell 4386159b90 InputRoll: Fix columns headers not immediately redrawing when a rotatable column (horizontal orientation) changes size due to the row count changing. 2020-02-17 23:02:02 -05:00
J.D. Purcell 0245888419 InputRoll: Fix bottom grid line in horizontal orientation if last column is rotatable. 2020-02-17 22:03:38 -05:00
J.D. Purcell f7174eb398 Make display scaling apply to InputRoll column header widths. 2020-02-17 12:34:37 -05:00
adelikat 626efe8caf put control extension methods into the EmuHawk names space isntead of a custom one. We want these to be found and used, and most dialogs use them 2020-02-03 12:54:32 -06:00
YoshiRulz bfde89b9f3
Enable SA1139 and fix noncompliance
"Use literal suffix notation instead of casting"
2020-01-25 07:55:48 +10:00
YoshiRulz dd4f9aaf64
Use ranges 2020-01-13 06:59:40 +10:00
YoshiRulz 60b7858fbe Simplify Windows prereqs (see desc.)
* Changed default sound/display methods to OpenAL/OpenGL on Windows to match
non-Windows, and replaced DirectInput with OpenTK input (needs regression
testing on Windows).
* (meta) As a result of the above, DirectX is no longer a prerequisite, leaving
only: .NET Framework 4.6.1 (comes with Win10, as does 4.8), MSVC 14 (also comes
with Win10), MSVC 12 for Mupen, and MSVC 10 for BSNES/Mupen.
* Refactored static Program ctor, using ExceptionBox for missing prereqs, and
removed PrereqsAlert.
* Added OS version check for Windows, with a flag in the config to skip it.
* Updated readme for Win7 EOL (and generally cleanup Windows sections).
2020-01-12 20:00:34 +00:00
YoshiRulz 060255471b
Improve exception docs in BizHawk.Client.EmuHawk 2020-01-02 21:51:37 +10:00
adelikat c8c63f29f0 InputRoll - only refresh on mouseLeave if necessary 2019-12-31 12:41:21 -06:00
adelikat 64ea9afee5 cleanups 2019-12-31 10:17:55 -06:00
YoshiRulz 7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup 2019-12-21 18:33:11 +10:00
YoshiRulz 784c800ca2
Disable features using Win32 unless on Windows host
forms: GBAGPUView, GBGPUView, LogWindow, SNESGraphicsDebugger,
SynclessRecordingTools; features: A/V recording, logging to AWE(?)
2019-12-21 18:31:03 +10:00
YoshiRulz 580aa2eaf9
Refactoring and cleanup of dynamic lib loading
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz 7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages 2019-12-21 18:21:51 +10:00
adelikat d780b1c898 move InputWidget to custom controls folder 2019-12-17 11:15:50 -06:00
adelikat b271ef4a89 MenuButton - nitpick cleanup 2019-12-17 11:15:50 -06:00
adelikat 5c12753217 cleanup FolderBrowserDialogEx 2019-12-17 11:15:50 -06:00
adelikat d3cb2a4fb3 cleanup MsgBox 2019-12-17 10:48:20 -06:00
adelikat 03dbcc3607 Tastudio - tweak follow cursor logic in horizontal orientation 2019-12-13 18:29:30 -06:00
adelikat c70d2e5cd8 InputRoll - fix a few places where total width was used instead of clip rectangle 2019-12-10 12:36:20 -06:00
adelikat 599415c848 InputRoll - Resize does need a refresh, use FastDraw to minimize the lagginess 2019-12-10 12:36:20 -06:00
adelikat a6eee3681f InputRoll - do a full refresh if rowcount gets smaller and the last row is visible 2019-12-07 14:35:15 -06:00
adelikat daeeed0d2e InputRoll - remove unnecessary refresh in the OnResize event, fixes laggy resizing 2019-12-07 12:43:49 -06:00
adelikat 70bb840f20 cleanup 2019-12-07 10:31:00 -06:00
adelikat d594737a76 inputroll - only calculate horizontal positions in horizontal mode 2019-12-07 10:31:00 -06:00
adelikat 7a66cddf03 InputRoll - more fixes 2019-12-07 10:31:00 -06:00
adelikat ea6704a2b8 InputRoll - in horizontal orientation, account for the draw area being shorter than the height of the columns 2019-12-07 10:31:00 -06:00
adelikat 0d2770044a cleanup 2019-12-07 10:31:00 -06:00
adelikat d8f0dca586 inputroll - drawing fixes 2019-12-07 10:31:00 -06:00
adelikat 421c460d68 InputRoll - get Horizontal orientation invalidating logic going and fix some bugs in horizontal drawing logic 2019-12-07 10:31:00 -06:00
adelikat 6a775ec346 InputRoll - fixes 2019-12-07 10:31:00 -06:00
adelikat 0e03696b93 InputRoll - do not draw column header if not necessary 2019-12-07 10:30:59 -06:00
adelikat ae239a0b1d InputRoll - only invalidate the necessary rectangle size 2019-12-07 10:30:59 -06:00
adelikat bb5267d042 InputRoll - drawing - use e.ClipRectangle instead of width/height to draw 2019-12-07 10:30:59 -06:00
adelikat 813e5820ae InputRoll - CalculateLagFramesArray - attempt to not calculate calculated properties so much 2019-12-07 10:30:59 -06:00
adelikat bcfdd79f2a IControlRenderer - simplify api 2019-12-06 21:56:34 -06:00
adelikat 70840c1b54 remove some unused code, and a few other misc cleanups 2019-12-06 19:22:54 -06:00
YoshiRulz 7f07949816
Migrate serialised images to separate files, removing duplicates 2019-12-07 05:24:24 +10:00
adelikat 1a6c1e7ebe InputRoll - simplify 2019-12-03 20:05:32 -06:00
adelikat eb63fa5a92 Tastudio - Branches - fix width calculation when expanding to fix user text 2019-12-03 20:03:10 -06:00
adelikat b87f14f962 InputRoll - fix bug in the last gridline calculation in horizontal view 2019-12-03 19:35:19 -06:00
adelikat 77e19a895b InputRoll - cleanup 2019-12-03 19:11:51 -06:00