Commit Graph

271 Commits

Author SHA1 Message Date
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
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 3a4351c4ea InputRoll - cleanup 2019-12-03 14:22:21 -06:00
adelikat 6a33085ddc InputRoll - simplify 2019-12-03 13:57:19 -06:00
adelikat 120988eac4 InputRoll - simplify 2019-12-03 13:54:25 -06:00
adelikat 90f6d8a2f5 InputRoll - simplify 2019-12-03 13:46:59 -06:00
adelikat e7e68a630c InputRoll - simplify 2019-12-03 13:34:21 -06:00
adelikat cb8fe33d6f InputRoll - fix some off by one pixel calculations in column header drawing 2019-12-03 13:15:11 -06:00
adelikat e9a0668644 InputRoll - simplify 2019-12-03 13:07:26 -06:00
adelikat f0c745d0f7 InputRoll - simplify 2019-12-03 13:01:52 -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 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