Commit Graph
128 Commits
Author SHA1 Message Date
Lukasz Baldyga b888088f0b Text_Editor now describes the code 2020-10-23 11:25:36 +01:00
Lukasz Baldyga 2a3857d942 Added keyboard shortcuts to Text_Editor 2020-10-23 11:04:58 +01:00
Lukasz Baldyga b9324f8619 TextEditor now saves properly 2020-10-23 09:05:49 +01:00
Lukasz Baldyga 69a6562482 Fixed bug where closing text editor would make it crash 2020-10-23 02:42:45 +01:00
Lukasz Baldyga 3521d42512 Added load functionality to text editor 2020-10-23 02:42:18 +01:00
Lukasz Baldyga cd7dee8cc9 Corrected some tests 2020-10-23 01:56:15 +01:00
Lukasz Baldyga 794ab33c48 Written test for current and future commands 2020-10-23 01:47:51 +01:00
Lukasz Baldyga 364cf63c17 Renamed the shape command to regularpolygon to avoid confussion 2020-10-23 01:47:35 +01:00
Lukasz Baldyga 63794a39d7 Written more tests and corrected more bugs 2020-10-23 00:46:33 +01:00
Lukasz Baldyga 54de63eeb3 Changed unit test settings 2020-10-22 22:52:18 +01:00
Lukasz Baldyga 8a17d77510 added CommandAndParameterParser testing and fixed bugs within it 2020-10-22 20:53:57 +01:00
Lukasz Baldyga f198b609f2 Added more unit tests 2020-10-21 20:31:49 +01:00
Lukasz Baldyga 353558420e fixed bug in Strip where input was only spaces 2020-10-21 17:28:10 +01:00
Lukasz Baldyga 90dc05f9f9 Wrote simple Strip test 2020-10-21 17:27:04 +01:00
Lukasz Baldyga 7e3aff9781 Created basic unit testing project 2020-10-21 16:42:27 +01:00
Lukasz Baldyga 2636ca2027 Removed pointless Console.WriteLine() calls 2020-10-21 16:42:03 +01:00
Lukasz Baldyga c5fbc13f06 Properly rounding numbers in RegularPolygon 2020-10-21 16:31:51 +01:00
Lukasz Baldyga 48690f463f Added deg mode to RegularPolygon 2020-10-21 16:31:00 +01:00
Lukasz Baldyga ef65a52196 Added command unlock feature
The feature is where the text editor hands off command to the display window
2020-10-21 16:26:27 +01:00
Lukasz Baldyga 2a6ae05a0c The window now correctly repaints 2020-10-21 16:22:53 +01:00
Lukasz Baldyga 614e72434e Fixed bug where the window disposed itself but was still referenced by the text editor 2020-10-21 16:14:00 +01:00
Lukasz Baldyga f91c90e878 Removed images 2020-10-21 13:41:01 +01:00
Lukasz Baldyga 5ea0f49bb1 Implemented RegularPolygons 2020-10-21 13:40:15 +01:00
Lukasz Baldyga ae701dfb05 Changed design of the preview to be more responsive 2020-10-21 13:39:21 +01:00
Lukasz Baldyga 4124f6d7d6 Fixed error where the function would produce wrong commands 2020-10-21 13:39:00 +01:00
Lukasz Baldyga 508ed53f09 Deleted unneeded files 2020-10-21 13:08:19 +01:00
Lukasz Baldyga 45c93ce079 Fixed bug in helper function where the function wouldn't work with single commands 2020-10-20 10:05:38 +01:00
Lukasz Baldyga add272ff70 Added images to errors 2020-10-20 09:49:47 +01:00
Lukasz Baldyga 3ba8d7b944 Reformatted Commander 2020-10-19 18:35:17 +01:00
Lukasz Baldyga aeea08f021 Added some code for the Error Windows 2020-10-19 01:32:46 +01:00
Lukasz Baldyga ef9b2ec9c5 Added a new error detail window constructor 2020-10-16 17:42:41 +01:00
Lukasz Baldyga b7143172f3 Designed error detail window 2020-10-15 21:14:04 +01:00
Lukasz Baldyga 31d63026cb Designed ErrorWindow 2020-10-14 22:05:23 +01:00
Lukasz Baldyga 3f41b8a332 Redesigned MainMenu.
MainMenu now also shows an option to show an Error box, but this will be removed once I finish designing the Error box.
2020-10-14 21:48:21 +01:00
Lukasz Baldyga 0db4469cf5 Draw Preview now draws from Text Editor directly 2020-10-14 21:31:43 +01:00
Lukasz Baldyga 8a63dbae2f Basic reformatting 2020-10-13 17:51:49 +01:00
Lukasz Baldyga 456aec28b7 Removed pen specific behavior 2020-10-13 17:20:29 +01:00
Lukasz Baldyga 8acf87b001 Added commands to do. 2020-10-12 13:56:52 +01:00
Lukasz Baldyga 92b1110369 Fixed bug where lines would draw incorrectly 2020-10-12 13:20:31 +01:00
Lukasz Baldyga 0af10a3c9d The DrawPreview now draws 2020-10-12 12:49:02 +01:00
Lukasz Baldyga 6380549a9b Removed Converter class from Command file 2020-10-12 12:47:41 +01:00
Lukasz Baldyga fc1ee1da6f Added Converters 2020-10-12 12:47:12 +01:00
Lukasz Baldyga c1e899e44b Renamed CommandParser to Commander 2020-10-12 12:46:57 +01:00
Lukasz Baldyga 20ff4cadff Refactored to use Factories and Interfaces 2020-10-12 06:16:15 +01:00
Lukasz Baldyga 33685bbcb4 Finished the Shape class 2020-10-09 14:20:13 +01:00
Lukasz Baldyga 8ae37093b4 Changed default color to black. 2020-10-09 14:18:16 +01:00
Lukasz Baldyga 789f74b544 Added PenControl and Shape classes in Command 2020-10-09 04:19:22 +01:00
Lukasz Baldyga 8852110cf4 Reformatted Command 2020-10-09 04:18:55 +01:00
Lukasz Baldyga 403d98bde5 Added function to set pen up or down 2020-10-09 04:18:10 +01:00
Lukasz Baldyga f7f875600b Documented Text Editor 2020-10-08 18:46:32 +01:00