Commit Graph

4 Commits (f27b567f5c92b6f343ac4ea54b7fbd8a7078bd0b)

Author SHA1 Message Date
Jonathan Westhues 0246add3e9 Replace ugly text links to hide/show things with icons. So add code
to draw those, and hit test with the mouse, and display tool tips
when the user hovers with the mouse. Also, underline links only
when they're hovered, and not otherwise.

And add a separate menu option to align the view to the active
workplane, vs. activating the active group's workplane, and
remap the bottom two graphics window toolbar icons to that and
"nearest iso view" instead of draw in 2d/3d, since people tended
to click on those without understanding and cause trouble.

And by default, we force a parallel projection; so the factory
default camera tangent is now 0.3, not 0.

[git-p4: depot-paths = "//depot/solvespace/": change = 2131]
2010-05-02 21:04:42 -08:00
Jonathan Westhues 441b2a36e9 Add toolbar buttons for a few more things.
[git-p4: depot-paths = "//depot/solvespace/": change = 1886]
2009-01-03 05:30:12 -08:00
Jonathan Westhues 0f228fc0fb Add a toolbar. This requires a tool to convert my PNG icons to
tables in the code, which I have written in perl and am checking
in.

Also get WM_MOUSELEAVE events from win32, so that I can de-hover
everything when the mouse leaves the graphics window. And fix one
of the icons, which was 23x24 instead of 24x24.

[git-p4: depot-paths = "//depot/solvespace/": change = 1883]
2009-01-02 02:38:36 -08:00
Jonathan Westhues 92f4c71d78 Check in toolbar icons for SolveSpace, no toolbar yet implemented.
[git-p4: depot-paths = "//depot/solvespace/": change = 1880]
2008-12-20 01:33:54 -08:00