Commit Graph

71 Commits

Author SHA1 Message Date
Tiago Conceição ec34f48bd7 Remove auto zoom to merge with lockzoomlevel 2020-09-06 04:56:37 +01:00
Tiago Conceição 66df24de7f Merge pull request #41 from byancey/master
Settings Dialog Refresh
2020-09-05 23:14:32 +01:00
Tiago Conceição 2703bab0cb Create universal tool window 2020-09-05 23:10:48 +01:00
Bryce Yancey b25e6dec3a Settings Dialog Refresh
-Adjusted wording for clarity across all tabs
-Adjusted capitilzation for consistency
-Color buttons are now 24x24 instead of 32x32.
-Misc adjustments to spacing and layouts.
-Replaced ZoomToFitiPringBounds checkbox with Combobox and mapped index to existing
config item.
-Added color selection for crosshair.
2020-09-05 16:05:02 -06:00
Tiago Conceição 4bbef72acb Z Issues Tracker cleanup 2020-09-05 19:37:45 +01:00
Tiago Conceição 7a8b786f44 Cleanup fixes and import layer GUI preparation 2020-09-05 18:01:01 +01:00
Tiago Conceição ac082b2232 Fix issue selection from layer preview and remove extra showlayer calls 2020-09-05 07:16:07 +01:00
Tiago Conceição 439cf764be Merge pull request #35 from byancey/master
Fix Issue List update on Layer Preview Select
2020-09-05 07:03:54 +01:00
Tiago Conceição 5fdac82dd6 Bene4 Mono and Layer Issue Z Tracker
* (Add) Settings & Issues: Enable or disable Empty Layers
* (Add) PrusaSlicer Printer: Nova Bene4 Mono
* (Add) CWS: Support the GRAY2RGB and RBG2GRAY encoding for Bene Mono
* (Add) Layer issue Z map paired with layer navigation tracker bar
* (Change) Shortcuts: + and - to go up and down on layers were change to W and S keys. Reason: + and - are bound to zoom and can lead to problems
* (Upgrade) OpenCV from 4.2 to 4.3
* (Fix) CWS: Add missing Platform X,Y,Z size when converting from SL1
* (Fix) CWS: Invert XY resolution when converting from SL1
2020-09-05 06:56:20 +01:00
Bryce Yancey 0aacb09ca2 Fix Issue List update on Layer Preview Select
When selecting issues using SHIFT in the layer preview,
the selected issue doesn't update in the issue list until
after shift is released.  This fix forces an immediate
refresh of the issue list so that it updates as you click,
rather than after SHIFT is released.

Also fixed some commented code for for clearing crosshairs
before zoom so that it compiles when uncommented...but code
is still commented out in the commit.
2020-09-04 23:04:54 -06:00
Tiago Conceição 855aa24361 Fix touchingbounds calculation 2020-09-04 02:20:01 +01:00
Tiago Conceição def43177bb Reset settings triggers a upgrade from previous version when relaunch UVtools and bring that same values 2020-09-03 23:43:44 +01:00
Bryce Yancey fba2116712 Remove extraneouse AutoZoomBackIndex and related functions
Since we no longer autozoom by zooming out from max zoom,
we can work directly with actual ZoomLevels rather than
maintaining a backindex for the ZoomLevels array.  The
backindex and it's associated functions have been removed.
2020-09-03 15:52:13 -06:00
Tiago Conceição 4b855b517d Mutator - Pixel Dimming: Dims only the borders 2020-09-03 22:18:44 +01:00
Tiago Conceição 788c03cb9b Merge pull request #32 from byancey/master
Limit mouseHoldTimer to middle mouse button
2020-09-03 21:15:36 +01:00
Tiago Conceição 6342794d5d More use of transposed function 2020-09-03 21:14:50 +01:00
Bryce Yancey ad28b925ca Limit mouseHold timer to middle button
Tooltip is also updated
2020-09-03 13:59:23 -06:00
Bryce Yancey 117c419c37 Change Zoom Level Lock to middle mouse click-hold
Locking the auto-zoom level is now tied to click-hold of the
middle mouse button for 1 seconds rather than double-click
on middle mouse button.

This helps with accidental scrolling, as the middles mouse
button can sometimes be difficult to use.  Press-hold is
less error prone in this respect than double-click.
2020-09-03 13:46:41 -06:00
Tiago Conceição c574777f08 Add auto zoom 2020-09-03 20:40:59 +01:00
Bryce Yancey f5a110c717 Dispaly hand cursor in select mode
Cursor is changed to hand on SHIFT key, and pan mode
is also temporarily disabled.  Releasing SHIFT restores
default behavior.
2020-09-03 12:21:39 -06:00
Tiago Conceição 5582b30c92 Partial island detection wasn't checking next layer as it should 2020-09-03 19:13:15 +01:00
Tiago Conceição 9fee2b34a3 Last selected tab fix 2020-09-03 18:57:25 +01:00
Tiago Conceição 1c98036ea7 Fix issue selection with SHIFT 2020-09-03 03:36:08 +01:00
Bryce Yancey 6f5850d5bb Select issue from Layer Preview
Double-clicking or Single-Clicking on an issue
in the layer preview window will select the issue
and bring it's entry in the issues list into view.
2020-09-02 19:36:45 -06:00
Tiago Conceição 3da9a68611 Update FrmMain.cs 2020-09-03 02:07:46 +01:00
Tiago Conceição 605a881645 Allow show crosshairs on every issue rather than selected only 2020-09-03 01:35:52 +01:00
Tiago Conceição 9461bc1c04 Add configurable crosshair lines 2020-09-02 23:39:45 +01:00
Tiago Conceição 739eca77fe Fix doubleclick 2020-09-02 20:44:39 +01:00
Tiago Conceição 9c4ac38999 Refactoring 2020-09-02 20:01:11 +01:00
Tiago Conceição 5e97ac4ccf Improve zoom calls 2020-09-02 18:08:00 +01:00
Bryce Yancey 67a0d7b9e7 Additional checks to limit ShowLayer during zoom
Also renamed AutoZoomLevel to AutoZoomBackIndex, and
added new helper functions to return the actual AutoZoomLevel
and CrossoverFadeZoomLevels.
2020-09-02 03:56:39 -06:00
Tiago Conceição 1d51fa26b1 Extra optimizations 2020-09-02 04:30:53 +01:00
Tiago Conceição 3e9c0f02a0 Move condition 2020-09-02 03:26:33 +01:00
Tiago Conceição d4742891e7 Fix useless ShowLayer calls 2020-09-02 03:21:44 +01:00
Tiago Conceição 1a81cc2375 Fix a zoom supression 2020-09-02 02:13:37 +01:00
Bryce Yancey 85cae2df65 Optimize showLayer call for Islands and Bounding
Select color once per issue vs. once per pixel.  On large
Islands, this reduces layer rendering time by about an
order of magnitude or more.
2020-09-01 18:58:52 -06:00
Tiago Conceição 5d77db994a Supress extra zoom events 2020-09-02 01:33:40 +01:00
Tiago Conceição cce956b426 When next layer or previous layer button got disabled while pressing it get stuck
Also for next/prev issues buttons
2020-09-02 00:29:34 +01:00
Bryce Yancey 16b8bd8a29 Issue Highlighting and Crosshair Support
This commit add support for highlighting of indidivual issues,
crosshair support, and changes to mouse based navigation
to make those added features a bit more useful.  Here's a
quick summary of what is included in this commit:

-Issue Highlighting
-Edit Pixel Operation Highlighting
-Crosshair Support
-Configurable auto-zoom level support
-Mouse-Based Navigation updates for the issue list, layer preview
 and pixel edit mode.
2020-09-01 00:20:09 -06:00
Tiago Conceição 4d8da3e8ba "Rebuild GCode" button 2020-09-01 02:39:38 +01:00
Tiago Conceição 4e4f3caffa v0.6.7.1
* (Add) Menu - Help - Benchmark: Run benchmark test to measure system performance
* (Fix) Properties listview trigger an error when there are no groups to show
* (Fix) Elfin: "(Number of Slices = x)" to ";Number of Slices = x" (#24)
2020-08-27 03:15:20 +01:00
Tiago Conceição ba5b52791e v0.6.7.0
* (Add) Tool: Layer Clone
* (Add) Mutator: Mask
* (Add) Mutator - Pixel Dimming: "Strips" pattern
* (Remove) Bottom progress bar
2020-08-21 02:56:51 +01:00
Tiago Conceição 094c33184d Remove Bottom progress bar 2020-08-20 01:36:01 +01:00
Tiago Conceição fa5073e68f v0.6.6.1
* (Add) Elapsed time to the Log list
* (Add) Setting - Issues - Islands: Allow diagonal bonds with default to false (#22)
* (Change) Tool - Repair Layers: Allow set both iterations to 0 to skip closing and opening operations and allow remove islands independently
* (Change) Title - file open time from miliseconds to seconds
* (Improvement) Tool - Repair Layers: Layer image will only read/save if required and if current layer got modified
* (Fix) Setting - Issues - Islands: "Pixels below this value will turn black, otherwise white" (Threshold) was not using the set value and was forcing 1
* (Fix) Remove duplicated log for repair layers and issues
2020-08-17 22:01:06 +01:00
Tiago Conceição 747a292892 v0.6.6.0
* (Add) Pixel Editor: Eraser - Right click over a white pixel to remove it whole linked area (Fill with black) (#7)
* (Add) Pixel Editor: Parallel layer image save when apply modifications
* (Add) GCode: Save to clipboard
* (Change) Issues Repair: Default noise removal iterations to 0
* (Fix) Edit: Remove decimal plates for integer properties
* (Fix) cws: Exposure time was in seconds, changed to ms (#17)
* (Fix) cws: Calculate blanking time (#17)
* (Fix) cws: Edit LiftHeight and Exposure Time was enforcing integer number
* (Fix) cws: GCode extra space between slices
* (Fix) cws and zcodex: Precision errors on retract height
2020-08-11 03:00:05 +01:00
Tiago Conceição 292db4090f v0.6.5.0
* (Add) Mutators: Custom kernels, auto kernels and anchor where applicable
* (Add) Mutator - Blur: Box Blur
* (Add) Mutator - Blur: Filter2D
* (Improvement) Mutator: Group all blurs into one window
* (Fix) Mutators: Sample images was gone
* (Fix) Mutator - Solidify: Remove the disabled input box
* (Fix) Mutator - Pixel Dimming: Disable word wrap on pattern text box
2020-08-08 03:10:16 +01:00
Tiago Conceição f53dc03881 v0.6.4.3
* (Add) Pixel Editor - Supports and Drain holes: AntiAliasing
* (Add) Pixel Editor - Drawing: Line type and defaults to AntiAliasing
* (Add) Pixel Editor - Drawing: Line thickness to allow hollow shapes
* (Add) Pixel Editor - Drawing: Layer depth, to add pixels at multiple layers at once
* (Add) Pixel Editor: Text writing
2020-08-06 03:43:56 +01:00
Tiago Conceição fc3b789d29 v0.6.4.2
* (Add) Hold "ALT" key when double clicking over items to invert AutoZoom setting, prevent or do zoom in issues or pixels, this will behave as !AutoZoom as long key is held
* (Improvement) Partial island update speed, huge boost performance over large files
2020-08-05 02:02:01 +01:00
Tiago Conceição 012d9e4b70 v0.6.4.1
* (Add) Partial update islands from current working layer and next layer when using pixel editor or island remove
* (Add) Setting: To enable or disable partial update islands
* (Change) Properties, Issues, Pixel Editor: ListView upgraded to a FastObjectListView, resulting in faster renders, sorting capabilities, column order, groups with counter, selection, hot tracking, filtering and empty list message
* (Change) Log: ObjectListView upgraded to a FastObjectListView
* (Change) Bunch of icons
2020-08-04 05:08:24 +01:00
Tiago Conceição e3c0840c2f v0.6.4.0
* (Add) Tool: Change resolution
* (Add) Log: Track every action you do on the program
2020-07-30 02:54:59 +01:00