Commit Graph

7 Commits (d88ed3f2ee2fc81680550b576140982235db4a4e)

Author SHA1 Message Date
ruevs 9282b403dd UI: Make the new "dimensions only mode" icons consistent with the rest.
Also optimize for size.
2023-01-17 19:16:36 -05:00
77maxikov a0219b2228 dimonly fix 2023-01-17 19:16:36 -05:00
ruevs aa075259f1 UI: Update non anti aliased icons to match original ones better
Discussion here #857
2021-03-06 16:04:00 -05:00
ruevs d3a6e96281 UI: Non anti aliased icons for the graphics and text windows
Created by jkrei0 here https://github.com/jkrei0/solvespace

Optimized for size.

Merged all but `shaded.png` since in my opinion the current
one is better.

Discussion here https://github.com/solvespace/solvespace/issues/857
2021-03-06 16:04:00 -05:00
whitequark 50c004b679 Add a button to hide construction entities.
Also, mark not just curves, but also points and normals derived from
construction requests as construction.

Also, don't always mark arc center point as construction just to
exclude it from chord tolerance bounding box calculation; instead,
special-case it there.
2019-05-23 16:29:00 +00:00
whitequark 6e860fb148 Make "Show/hide hidden lines" a tri-state button instead.
The states are:
  * Draw all lines (on top of shaded mesh).
  * Draw occluded (by shaded mesh) lines as stippled.
  * Do not draw occluded (by shaded mesh) lines.

As usual, the export output follows the screen output.
2016-08-13 09:44:08 +00:00
whitequark a525f03371 Move icons to res/icons/; remove png2c.
This commit integrates icons in the resource system so that they
can be loaded (or reloaded, without restarting) in @2x mode, which
will be added in a future commit. png2c is no longer necessary.

png2c used to perform the following transformation:
  if(r + g + b < 11) r = g = b = 11;

This is now achieved by switching the icons to RGBA mode and adding
alpha channel with the following imagemagick invocation, which is
equivalent to the transformation above:
  for i in *.png; do
    convert -fuzz 4% -channel rgba -matte \
            -fill "rgba(255,255,255,0)" -opaque black \
            $i $i
  done

The Debian package solvespace now includes /usr/share/solvespace;
this should be split out into solvespace-data later.
2016-05-18 11:24:24 +00:00