solvespace/src
dustinhartlyn fc16cdb370
Fix for zoom in/out error (#1221)
* minor fix open/save dialogue on windows 

On windows 10 the open/save dialogue box has an minor error, and I believe I fixed it. 

When "Open" is selected from the menu, the title of the dialogue box says "SolveSpace - Save File" and the entered file name is "united". My fix correctly titles the dialoged box, and leaves the address bar blank when a file is being opened because "united" is only needed as a default name when a file being saved. 

I found that class FileDialogImplWin32 from guiwin.cpp contains two if statements for "isSaveDialog". This is redundant. I removed the first where the title was originally set, but not working. I then set the title in the second if statement and moved the 'if isEmpty'' to this section.

* Update guiwin.cpp

replaced tabs with spaces

* Created ZoomToMouse function in graphicswin.cpp which referances the mouse position directly. Simplified MouseScroll in mouse.cpp to point to this function instead of altering zoom directly. Also pointed zoom commpand from keyboard and menu to ZoomToMouse so that it works avoids different behavior.

* clean up some comments
2022-02-28 14:22:35 -05:00
..
platform Revert "mac: Don't interpret single-touch scroll events as pan gestures" 2022-02-28 09:45:49 -05:00
render Skip image rendering in CLI rather than hard abort 2021-04-03 22:58:05 +03:00
srf Move shell functions out of surface.cpp and into shell.cpp (#1220) 2022-02-14 10:26:12 -06:00
bsp.cpp Intersection boolen in triangle mesh mode is properly implemented 2020-05-10 17:11:19 -04:00
clipboard.cpp Fix various typos 2021-07-06 10:37:58 -04:00
CMakeLists.txt Move shell functions out of surface.cpp and into shell.cpp (#1220) 2022-02-14 10:26:12 -06:00
config.h.in UI: Add a link to the GitHub commit in the Help menu 2022-01-16 13:08:07 -05:00
confscreen.cpp + safe height gcode parameter 2021-10-23 20:01:29 -04:00
constraint.cpp Addition of ArcLength Ratio and ArcLength Difference constraints to Constraints list 2021-06-28 11:31:53 -04:00
constrainteq.cpp Addition of ArcLength Ratio and ArcLength Difference constraints to Constraints list 2021-06-28 11:31:53 -04:00
describescreen.cpp UI: Display the circumference of a circle in the property browser 2022-02-09 11:29:07 +02:00
draw.cpp Use Range-based for Loops Instead of NextAfter for all IdList Objects 2021-05-12 19:50:23 -04:00
drawconstraint.cpp Add "Show Exploded View" menu option 2021-08-17 17:48:25 +03:00
drawentity.cpp Add "Show Exploded View" menu option 2021-08-17 17:48:25 +03:00
dsc.h Remove all unused methods from IdList and its iterator 2021-05-12 19:50:23 -04:00
entity.cpp Fix issue659 - Problems constraining to ends of Helix. 2020-08-07 15:16:47 -04:00
export.cpp Clamp lighting value on export to fix flat colors 2021-04-02 18:13:31 -04:00
exportstep.cpp Use Range-based for Loops Instead of NextAfter for all IdList Objects 2021-05-12 19:50:23 -04:00
exportvector.cpp + safe height gcode parameter 2021-10-23 20:01:29 -04:00
expr.cpp Banish an unneeded use of our custom containers. 2021-12-31 14:40:47 -05:00
expr.h Banish an unneeded use of our custom containers. 2021-12-31 14:40:47 -05:00
file.cpp fix STL linking issue. Model was disappearing after the link group. 2021-11-20 19:48:17 -05:00
generate.cpp Suppress dof calculation flag 2021-12-30 13:59:58 -05:00
graphicswin.cpp Fix for zoom in/out error (#1221) 2022-02-28 14:22:35 -05:00
group.cpp A workplane can now be defined from a workplane defined by point and normal 2022-02-03 15:06:07 -05:00
groupmesh.cpp Use Range-based for Loops Instead of NextAfter for all IdList Objects 2021-05-12 19:50:23 -04:00
importdxf.cpp Allow DXF import of 3D arcs and circles 2020-10-01 12:59:43 -04:00
importidf.cpp importidf: Fix uninitialized variable 2021-12-24 11:29:57 -05:00
importmesh.cpp Check for text STL when linking (#1197) 2022-01-27 13:20:35 -05:00
lib.cpp Addition of ArcLength Ratio and ArcLength Difference constraints to Constraints list 2021-06-28 11:31:53 -04:00
mesh.cpp Fix #696. Account for multiple coincident edges when looking for naked edges. 2020-09-14 12:07:17 -04:00
modify.cpp Use Range-based for Loops Instead of NextAfter for all IdList Objects 2021-05-12 19:50:23 -04:00
mouse.cpp Fix for zoom in/out error (#1221) 2022-02-28 14:22:35 -05:00
polygon.cpp Less work in AssembleContour 2020-05-06 18:38:58 -04:00
polygon.h Add a pass in triangulation to create convex triangle fans. These triangles will have smaller bounding boxes and look better. 2020-08-07 15:47:01 -04:00
polyline.cpp Make some arguments const/const references, where possible. NFC. 2019-11-23 14:07:31 +00:00
request.cpp Use the new equality/inequality operators of handles to reduce references to .v. NFC. 2019-07-10 15:40:21 +00:00
resource.cpp Load 16bit PNG images correctly by re-scaling to 8bit 2022-01-06 15:19:06 +02:00
resource.h Normalize namespaces: includes all at global/root namespace. 2021-12-24 11:29:57 -05:00
sketch.h Suppress dof calculation flag 2021-12-30 13:59:58 -05:00
solvespace.cpp UI: Add a link to the GitHub commit in the Help menu 2022-01-16 13:08:07 -05:00
solvespace.h Increase MAX_UNKNOWNS in the solver from 1024 to 2048 2021-12-31 15:16:52 -05:00
style.cpp Fix MmToString calls that should have editable=true set 2021-08-15 18:18:41 -04:00
system.cpp Fix which outer size we use. 2022-01-06 19:55:35 -05:00
textscreens.cpp Suppress dof calculation flag 2021-12-30 13:59:58 -05:00
textwin.cpp Hide edit boxes before closing the property browser. 2022-01-06 18:47:54 -05:00
toolbar.cpp GUI: Flexible vertical space above the toolbar 2021-11-04 20:08:54 -04:00
ttf.cpp Fix various typos (#1178) 2022-01-04 12:28:19 +02:00
ttf.h Don't show unusable fonts in font selector. 2019-11-23 16:17:01 +00:00
ui.h Fix for zoom in/out error (#1221) 2022-02-28 14:22:35 -05:00
undoredo.cpp Convert many loops to range-for or std algorithms. NFC. 2019-08-20 15:57:11 +00:00
util.cpp Performance optimization of the Vector class 2020-10-23 20:08:43 -04:00
view.cpp move perspective, lighting, and explode distance from configuration screen to view screen. 2021-08-29 13:54:38 -04:00