YoshiRulz
b521897fab
Refactor AutofireConfig
...
much the same as the DisplayConfigLite and SoundConfig refactorings
2019-10-31 05:07:22 +10:00
YoshiRulz
223866b995
Refactor DisplayConfigLite
...
Functionally:
Fixed TabIndex (mostly by removing it), made the documentation link actually
visible, reordered the tabs, and changed some text.
In the code:
Did away with the designer's code style, moving declarations as close to their
init as possible.
To that end, most controls now use the object initialiser syntax, including
nested ControlCollections where possible (basically everything that isn't
assigned to a field).
The four TabPages and the more complex GroupBoxes are each constructed in a
helper method to make maintainance easier.
All event handlers are inlined as lambdas, the OK button's handler calls a
helper method to write out the config so it's easier to maintain.
Added some custom controls, and a float equality ext. method which I'm
definitely going to forget exists.
2019-10-31 03:50:48 +10: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
adelikat
14ffd143d4
InputRoll - fix placement of rotated text
2019-10-26 16:25:42 -05:00
adelikat
5a17d20cf0
InputRoll - some more cleanup
2019-10-26 16:20:27 -05:00
adelikat
af59d2fe6b
InputRoll - misc cleanups
2019-10-26 16:04:27 -05:00
adelikat
d592526c3c
InputRoll - stop passing around unused paint event args
2019-10-26 15:47:43 -05:00
adelikat
f7b2982dad
Merge branch 'inputroll-rotatefix'
2019-10-26 15:37:47 -05:00
J.D. Purcell
d2cf95e18f
GdiPlusRenderer: Implement string rotation.
2019-10-26 16:31:21 -04:00
adelikat
772bd5b65e
Remove blend option in IControlRenderer, true was always being passed for GDI, so just always do alpha blend in GDI
2019-10-26 15:22:47 -05:00
adelikat
064a78d7f3
inputroll - fix crash when resized to 0
2019-10-26 14:37:42 -05:00
adelikat
e21e861e99
temp hack to force tastudio to draw the frame column rotated in horizontal orientation
2019-10-26 14:22:19 -05:00
adelikat
f6b0fa1550
GdiRenderer - cleanup font caching logic and fix rotated text
2019-10-26 12:59:30 -05:00
adelikat
e11f3e68e7
Merge pull request #1704 from TASVideos/GdipRenderer1
...
GdiPlusRenderer: Remove caches, implement Dispose
2019-10-26 12:45:16 -05:00
J.D. Purcell
4e2818222d
GdiPlusRenderer: Remove caches, implement Dispose.
2019-10-26 13:40:20 -04:00
YoshiRulz
5e5f69f07e
Move _vBar/_hVar init out of ctor, init CellHeight to non-zero
...
CellHeight/_vBar/_hBar were being read *while the ctor was running* due to
unexplained Mono magic (and hence their values were 0/null/null, respectively)
2019-10-27 03:38:30 +10:00
adelikat
9bbfb995b8
GDIPlusRenderer - put off rotate text, for now
2019-10-26 11:26:12 -05:00
adelikat
8977137e84
GDIPlusRenderer - cleanup
2019-10-26 11:11:38 -05:00
adelikat
2e489763b9
use OSTailoredCode class to decide GDI vs GDIPlus renderering
2019-10-25 18:20:13 -05:00
adelikat
28dcae6c8b
GDIPlus renderer - use brush cache for text drawing
2019-10-24 16:35:07 -05:00
Asnivor
2e8d7346c3
InputRoll: Implement proper double buffering (improves gdi+ inputroll performance by a factor of 8 or 9 on my machine)
2019-10-24 15:49:51 -05:00
adelikat
7b7e9a269a
Rough in of a GDI+ Renderer implementation
2019-10-24 15:49:51 -05:00
adelikat
b7f8f830e0
move some font shenanigans into GDI Renderer instead of input roll
2019-10-24 15:49:51 -05:00
adelikat
b4a38597a6
remove unnecessary hack
2019-10-24 15:49:51 -05:00
adelikat
f86b218111
Renderer doc fix
2019-10-24 15:49:51 -05:00
adelikat
9dc91e508e
simplify renderer api
2019-10-24 15:49:51 -05:00
adelikat
ca2767c536
HexView - cleanup and comment out GDIREnderer for now
2019-10-24 15:49:51 -05:00
adelikat
92d6769b06
inputroll - rename renderer variable
2019-10-24 15:49:50 -05:00
adelikat
0a7db2ad4d
cleanup GDI Renderer
2019-10-24 15:49:50 -05:00
adelikat
74450ee0a6
create an interface for GDIRenderer
2019-10-24 15:49:50 -05:00
adelikat
bc4498b9dd
VirtualListView begone!
2019-10-19 20:06:59 -05:00
adelikat
9100526a0c
Convert debugger to use InputRoll instead of VirtualListView
2019-10-19 19:16:45 -05:00
adelikat
bd0c81d791
InputRoll - don't blow up if QueryItemBkColor isn't defined
2019-10-19 14:59:57 -05:00
adelikat
de01596617
delete unused TasListView, not sure what this was trying to be
2019-10-19 13:07:36 -05:00
adelikat
b5d05e0f0c
InputRoll - properly calculate if a vertical scrollbar is needed
2019-10-19 13:01:53 -05:00
adelikat
f96e778c35
remove unused method
2019-10-19 11:46:56 -05:00
adelikat
7428a5d244
InputRoll - if column resize is enabled, double clicking a column edge resizes it to fit the text
2019-10-19 11:45:18 -05:00
adelikat
fb2048075c
InputRoll - cutoff text if it overflows the cell
2019-10-19 11:21:34 -05:00
adelikat
427f51f407
fix inputroll vertical scrollbar logic
2019-10-18 20:02:58 -05:00