adelikat
0762b181ce
inputroll - simplify by making column width not nullable, columns always have a width
2019-12-03 11:26:21 -06:00
adelikat
6640146c0a
InputRoll - add a flag for whether the control can be toggled into HorizontalOrientation, and only enable it on tastudio
2019-12-02 20:29:29 -06:00
adelikat
92bf482609
input roll - cleanup
2019-12-02 20:08:03 -06:00
adelikat
9b69a4a1fc
inputroll - simplify
2019-12-02 20:04:37 -06:00
adelikat
3010cf3a3d
InputRoll - don't allow resizing columns to a negative width
2019-12-02 19:58:32 -06:00
adelikat
f1d688f7bb
IControlRenderer - simplify api
2019-12-02 19:53:09 -06:00
adelikat
230cc676c3
IControlRenderer - Simplify API
2019-12-02 19:48:57 -06:00
adelikat
cb9b28514c
GDIPlusRenderer - use the Rect overload of drawstring to control overflow instead of attemtping ot calculate it. Fixes the cutoff being way off on larger columns, and also gives a rather noticeable speed boost to tastudio
2019-12-02 19:43:41 -06:00
adelikat
c6c92c51c7
Change IControlRenderer.MeasureString to return a SizeF instead of Size, for more accurate reporting, it was Size because that's what the GDI renderer did, but if we ever needed that again, we can easily convert to SizeF
2019-12-02 18:38:24 -06:00
adelikat
f66e427ccb
InputRoll - fix bug where scrollbars are incorrectly calculated before the rowcount changes instead of after
2019-12-01 18:08:22 -06:00
adelikat
2a12cac9e5
InputRoll - implement shift+Up/Down logic to highlight rows
2019-11-29 16:12:23 -06:00
adelikat
1b264ad068
InputRoll - tweak right-click selection - only clear and select if not already selected
2019-11-29 15:21:20 -06:00
adelikat
c7c09c92a7
InputRoll - the designer doesn't seem to like auto-generating the GridLines property, so just set it true by default
2019-11-29 13:44:47 -06:00
adelikat
92b0505c41
Tastudio - fix stackoverflow exception when drag scrolling (this didn't happen in earlier versions and they didn't have this kind of hack, there might be a better way to do this, but this seemed to work)
2019-11-27 20:35:05 -06:00
adelikat
0def3828b9
Simplify ToolStripEx
2019-11-27 20:26:03 -06:00
adelikat
ed395ca656
a few cleanups
2019-11-26 16:57:01 -06:00
adelikat
3ddf96563a
InputRoll - a bit more precise background drawing, might help peformance a bit
2019-11-26 16:14:32 -06:00
adelikat
e1b91d13ab
InputRoll - cleanups and simplifications
2019-11-26 15:55:07 -06:00
adelikat
e1f2147e65
InputRoll - turn some public properties into private variables
2019-11-26 15:37:17 -06:00
adelikat
24a0bdbbed
Tastudio/InputRoll - improve performance in UpdateValues some
2019-11-26 14:37:49 -06:00
adelikat
d2a9f51510
Remove a few more hardcoded values in InputRoll constructor
2019-11-26 12:53:10 -06:00
adelikat
22fdbd08d0
InputRoll - don't hardcode padding variables in the constructor
2019-11-26 12:51:36 -06:00
adelikat
bab5877d1a
InputRoll - don't hardcode GrideLines to true
2019-11-26 12:44:31 -06:00
adelikat
56b33498d9
InputRoll - rip out the UseCustomBackGround flag, and only key off the existence of the override. Seems to be a speed hack, but the only attempt to make it faster (in ram watch) was actually making things slower
2019-11-26 12:33:39 -06:00
adelikat
a45b33b8c6
move arrow key hack from tastudio to inputroll so it applies to all inputrolls
2019-11-26 12:07:00 -06:00
adelikat
a17584a319
InputRoll - fix behavior of up/down arrow keys
2019-11-26 11:27:55 -06:00
adelikat
44a2565f5c
InputRoll - refactor MouseDown hack that checks if emulator is paused, better is to recalculate the pointed cell, anytime it may have changed
2019-11-26 11:19:34 -06:00
adelikat
e73e61c5cc
InputRoll - fix page up/page down logic
2019-11-26 10:28:32 -06:00
adelikat
9b93c557b8
InputRoll - don't hardcode disabling of Home and End, make it a flag instead (true by default, false for tastudio's inputroll), also fix home/end to be expected listview behavior and delete ctrl+home, ctrl+end those aren't expected behaviors
2019-11-26 10:09:24 -06:00
adelikat
fe89df140c
InputRoll - when AllowRightClickSelect is true, existing selected rows should be cleared in addition to selecting the right-clicked one
2019-11-26 09:50:19 -06:00
adelikat
6d9dfa8956
InputRoll - misc cleanups
2019-11-26 09:48:26 -06:00
adelikat
557c68862e
InputRoll - make AllowRightClickSelect true by default
2019-11-26 09:42:14 -06:00
adelikat
9c62ded4f5
InputRoll - Recalculate cell size on font change
2019-11-24 15:09:25 -06:00
adelikat
2aaae85c36
InputRoll - use the built in Font property rather than a private variable. Make the default the natural control default, and set the main Tastudio InputRoll window to be arial 8
2019-11-24 14:38:05 -06:00
feos
4a0ec76c84
tastudio: disable [Ctrl+]Home/End
...
those are very obscure accelerators that you hit if you miss Ins/Del while editing, and that screws up the editing flow in various ways. if this functionality is needed, it will be enabled with potential miss-hitting in mind. I can't imagine a situation where you'd need them tho.
close #1600
2019-11-20 20:37:24 +03:00
adelikat
901e9f2ceb
InputRoll - when RowCount changes, deselect rows that may no longer exist, fixes crash on Lua Console when removing lua scripts (and lots of other bugs most likely)
2019-11-17 09:26:18 -06:00
adelikat
358ad68357
use some C#7isms in InputRoll.cs
2019-11-16 11:41:34 -06:00
adelikat
f47854e1d4
GdiRenderer begone! GdiPlusRenderer has significantly more performance and is not OS specific
2019-11-16 11:29:29 -06:00
adelikat
9e30d64954
InputRoll - always redraw when RowCount is set, fixes #1729
2019-11-15 18:10:10 -06:00
YoshiRulz
8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup
2019-11-04 14:30:05 +10:00
J.D. Purcell
fec63fb66a
Spaces -> tabs, fix mixed newlines.
2019-11-03 20:58:36 -05:00
J.D. Purcell
6eb44acd4f
Fix noise from last merge.
2019-11-03 18:04:31 -05:00
adelikat
e4e10646bf
Merge branch 'master' into MoreUnixMonoCompatWork
...
# Conflicts:
# BizHawk.Client.EmuHawk/Program.cs
# BizHawk.Common/BizInvoke/MemoryBlock.cs
2019-11-03 16:09:22 -06:00
adelikat
942d9fc75e
Simplify OS checks with some helpful methods
2019-11-03 16:04:42 -06:00
adelikat
b9ade1a555
Merge branch 'master' into MoreUnixMonoCompatWork
2019-11-03 12:55:53 -06:00
adelikat
39586a5bf0
Remove NewHexEditor (can be developed on a branch instead)
2019-11-03 10:20:07 -06:00
adelikat
7936797a9d
Custom controls house cleaning - remove a bunch of unused controls, do some cleanups
2019-11-02 10:08:06 -05:00
James Groom
cdf42777dc
Merge branch 'master' into MoreUnixMonoCompatWork
2019-11-02 18:15:46 +11:00
J.D. Purcell
39b54f7202
Fix missing UI usings.
2019-11-02 00:38:50 -04:00
J.D. Purcell
17701dc57d
Fix wrong return type in P/Invokes.
2019-11-02 00:38:50 -04:00