Commit Graph

36 Commits

Author SHA1 Message Date
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
adelikat 942d9fc75e Simplify OS checks with some helpful methods 2019-11-03 16:04:42 -06:00
J.D. Purcell 1b548ed92d InputRoll horizontal: Improve look of column dragging. 2019-10-28 01:35:16 -04:00
J.D. Purcell 4d2f6e902e InputRoll horizontal! 2019-10-27 22:59:42 -04:00
J.D. Purcell 28c0586c8b InputRoll horizontal - WIP. 2019-10-27 21:00:52 -04:00
J.D. Purcell 90724bb777 Work on InputRoll horizontal mode a bit. 2019-10-27 17:55:53 -04:00
J.D. Purcell 9471f7ca03 Cleanups 2019-10-27 14:00:02 -04:00
J.D. Purcell 12c64dc40d InputRoll: Fix text clipping too early with GDI+ renderer. 2019-10-27 11:46:21 -04:00
adelikat 290cf4c4a4 InputRoll - attempt to cleanup drawing logic a bit 2019-10-27 09:18:14 -05:00
adelikat 5f021ca0e2 InputRoll - attempt to put some attributes on public properties. This is a control, public properties without attributes and/or documentation should be avoided 2019-10-26 18:35:12 -05:00
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