Commit Graph

65 Commits

Author SHA1 Message Date
adelikat c8c63f29f0 InputRoll - only refresh on mouseLeave if necessary 2019-12-31 12:41:21 -06:00
adelikat 03dbcc3607 Tastudio - tweak follow cursor logic in horizontal orientation 2019-12-13 18:29:30 -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 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 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 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
adelikat 76a52062d6 Tastudio - fix wrong column width when loading a tasproj that was saved with HorizontalOrientation 2019-12-03 19:10:18 -06:00
adelikat c2b942d9a4 InputRoll - remove some vestigial code 2019-12-03 18:57:50 -06:00
adelikat 16c525258f InputRoll - simplify 2019-12-03 18:34:13 -06:00
adelikat 120988eac4 InputRoll - simplify 2019-12-03 13:54:25 -06:00
adelikat bf1d64e5d5 InputRoll - simplify more by making column Left and Right values not-nullable (they always have a value, or 0 is assumed anyway). This is a breaking config change 2019-12-03 12:29:18 -06:00
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 3010cf3a3d InputRoll - don't allow resizing columns to a negative width 2019-12-02 19:58:32 -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 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