adelikat
a1278df02e
add icon to MacroInput
2020-07-02 08:40:03 -05:00
adelikat
21823196fc
Add some menu "Ex" controls ( #2187 )
...
* add MenuItemEx and StatusLabelEx and use in MainForm
* use ToolStripMenuItemEx
* use ToolStripSeparatorEx
* fix toolbox sizing
2020-07-02 08:35:15 -05:00
YoshiRulz
1360210331
This was flooding stdout in Release builds
2020-07-02 10:08:26 +10:00
YoshiRulz
4f9d9d29ef
Fix NRE on clicking RecordMovie's browse button ( fixes #2185 )
2020-07-02 10:05:55 +10:00
zeromus
ffabb48f07
remove TopMost from commondialogs (OpenFileDialog, etc.). Fixes #2182 but it is unclear what this was intended to fix in the first place. please gather more information
2020-07-01 14:18:09 -04:00
adelikat
edc31793cf
StatusStripEx, ToolStripEx - lock down size and text properties
2020-07-01 13:13:24 -05:00
adelikat
bf03f3861a
ToolStripEx - don't have a size option (toolstrips flow), or location (they are always 0,0)
2020-07-01 13:04:08 -05:00
adelikat
52f2596492
Move ToolStripEx to WinForms.Controls, break into separate files, add namespaces, make ClickThrough built in instead of an option (if the functionality isn't desired just use the original class)
2020-07-01 12:55:21 -05:00
YoshiRulz
07c6063da1
Slightly change execution order in MainForm ctor ( fixes #2184 )
2020-07-01 19:10:34 +10:00
adelikat
498ba66e8c
Revert "cleanup some icon images by removing some unnecessary resolutions (large images and low bit images)"
...
This reverts commit b40812798b
.
2020-06-30 18:08:09 -05:00
adelikat
5ef46b9969
log window icon
2020-06-30 18:08:09 -05:00
nattthebear
6e938718f5
bizinvoker - fix a bug that caused the CLR to reject any [BizInvoke, Compatibility = false] method with a string parameter in any position except the first
...
According to the rules (which are hard to find), there must be nothing on the evaluation stack when localloc is called (except its own size parameter). The generated string interop code didn't respect that. This didn't cause any problems in existing code.
2020-06-30 17:56:11 -04:00
adelikat
ef311576ee
Use LastInputColor config value instead of hardcoded color
2020-06-30 16:40:00 -05:00
adelikat
e5bbec1800
Message Config - Simplify code and some cleanup ( #2183 )
...
* move messageConfig to its own folder
* start MessageEdit user control
* more setup
* wire stuff up
* progress
* progress
* fixes and cleanup
* start mesage row component
* move method from MessageConfig to extension method
* MessageRow - progress
* progress
* Message row - progress
* progress
* fix initial load
* fix Restore btn
* use RadioButtonEx
* start ColorRow user control
* progress
* progress
* progress
* rename
* make color picker work
* cleanup
* cleanup
* Message config - don't immediate set config values on restore defaults, allow user to press ok or cancel to decide to actually save
* cleanup
* cleanup
2020-06-30 16:16:54 -05:00
alyosha-tas
7aa1a497f7
GBHawk: only latch new window y value if greater then current line (fixes pokemon crystal artifact)
2020-06-30 17:15:00 -04:00
YoshiRulz
318c6a7994
Add an easy way to #define symbols when building
...
-p:MachineExtraCompilationFlag=SYMBOL_NAME
2020-06-30 14:44:39 +10:00
YoshiRulz
c5f10187fc
Mute CA1030, CA1056, and CA2234
...
"Use events where appropriate" and some string->Uri nags
2020-06-30 14:37:40 +10:00
YoshiRulz
dddeab8e12
Refactor UndoHistory
2020-06-30 14:25:02 +10:00
YoshiRulz
05eaf2cfb7
Fix wrapping of 2 labels in DisplayConfig
...
fixes 64d14a7f9
2020-06-30 13:20:39 +10:00
YoshiRulz
cba0eada69
More nullability
2020-06-30 12:57:57 +10:00
YoshiRulz
52203314ca
Misc. style fixes
2020-06-30 11:32:52 +10:00
YoshiRulz
62537118ac
Add GetPanelNativeSize() to DisplayManager
...
not really that helpful, but removes the annoying dependency on
PresentationPanel from IEmuHawkMainForm (ready for move to Client.Common)
2020-06-30 11:02:17 +10:00
YoshiRulz
962ac0d9d4
Extract interface from MainForm
2020-06-30 11:02:17 +10:00
YoshiRulz
e3c54b2268
Change some MainForm event handlers to delegate typed properties
...
makes encapsulation easier
2020-06-30 11:02:17 +10:00
nattthebear
499b59a0bd
zwinder refactoring
...
Looks like a big diff, but isn't. It separates the zwinder buffer part (which does most of the work) with the rewinder impl on top of it. This is part of the effort for a zwinderstatemanager for tastudio, which isn't done yet, but these changes can come in just fine
2020-06-29 15:55:53 -04:00
adelikat
ed49e58489
remove some references to multitrack in some comments
2020-06-29 10:37:05 -05:00
adelikat
452611477b
delete multitrack message position config values, and message config ui, also reposition thingsin message config and fix some positioining, hence designer barf
2020-06-29 10:32:04 -05:00
scrimpeh
1c82340cac
ram search - fix loading of wch files
2020-06-29 09:01:33 -05:00
adelikat
64d14a7f92
mass replace System.Forms.Label with LocLabelEx
2020-06-29 09:00:05 -05:00
adelikat
80599ddbe8
BatchRun - use LabelLocEx
2020-06-29 09:00:05 -05:00
YoshiRulz
141541bc1f
Pass delegates instead of MainForm to RewindConfig
2020-06-29 14:47:53 +10:00
YoshiRulz
e4df38602b
Pass delegates instead of MainForm to BatchRunner
2020-06-29 14:47:51 +10:00
YoshiRulz
c0aefd438a
Pass delegates instead of MainForm to OpenAdvancedChooser
2020-06-29 14:47:44 +10:00
YoshiRulz
4f4a875382
Pass delegates instead of MainForm to EmuHawkOptions
2020-06-29 14:47:42 +10:00
adelikat
b40812798b
cleanup some icon images by removing some unnecessary resolutions (large images and low bit images)
2020-06-28 15:11:02 -05:00
adelikat
3c9a7ff7a5
Multidisk bundler - use LocLabelEx
2020-06-28 13:29:38 -05:00
scrimpeh
286b56de5a
ram search - pr fixes. also remove out of range searches in ramsearch
...
- adds a static IsValid method to IMiniWatch implementations
- reverts .csproj changes
- 'remove out of range' button on ram search didn't seem to actually do anything. this was fixed
2020-06-28 12:29:49 -05:00
scrimpeh
c8ca09724c
ram watch - fix two minor bugs
...
fixes two minor bugs relating to ram watch display type
1.binary display was broken on 32 bit watches
2.changing a watch's size to one with an incompatible display type resulted in an exception (e.g. 32 bit float -> 8 bit unsigned)
2020-06-28 12:29:49 -05:00
scrimpeh
f9e174fd2d
ram search - incorporate domain checking
2020-06-28 12:29:49 -05:00
scrimpeh
1721e4f9ea
ram watch - add IsValid method
2020-06-28 12:29:49 -05:00
nattthebear
c1caa3e346
More crusty progress
2020-06-28 10:21:36 -04:00
adelikat
cacf04f8ca
N64pluginConfig - replace Label wtih LocLabelEx
2020-06-28 09:04:16 -05:00
adelikat
4d53efcf85
N64 plugin config - use property grid in video plugin tabs
2020-06-28 09:04:16 -05:00
adelikat
ff4eda68c8
N64 plugin config - remove use of GameInfo that was nonsense. It was setting per game hacks to GameInfo settings if enabled, but these values are already overridden on RomLoad, so this code was doing nothing
2020-06-28 09:04:16 -05:00
YoshiRulz
314dc391ae
Fix typo
...
these are backwards; fixes 73a905214
2020-06-28 19:45:39 +10:00
YoshiRulz
73a905214e
Fix possible bug when symlinking EmuHawkMono.sh
2020-06-28 19:42:49 +10:00
zeromus
bc0849ad9d
add a path entry for libretro ROM, even though it doesn't make sense, because it just isn't worth making sure every consumer of the ROM path is prepared for the possibility that ROM may be missing. This fixes #2176 , but there's any number of other settings we could choose.
2020-06-27 22:32:51 -04:00
YoshiRulz
4f7c1a0b76
Enable nullability in AxisSpec and related types
2020-06-26 15:03:28 +10:00
YoshiRulz
d0f96339ce
Fix reboot.png; no clue what was wrong but the warning is gone
...
for reference, I converted it to .bmp and back w/ ImageMagick
the warning was to stderr and it read `libpng warning: sRGB: cHRM chunk does not
match sRGB`
2020-06-26 14:45:33 +10:00
YoshiRulz
69146b04b2
Add and use DEBUG-conditional WriteLine methods
2020-06-26 14:37:36 +10:00