1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-16 20:54:40 +02:00

eeshow/Makefile, gui/sheet.c: grow icons from 16 to 20 pixels reduce padding

This commit is contained in:
Werner Almesberger 2016-08-21 02:01:36 -03:00
parent 72a84bb29a
commit c8dfe1c4f6
2 changed files with 3 additions and 2 deletions

View File

@ -68,8 +68,8 @@ gui/help.c: help.inc
clean:: clean::
rm -f help.inc rm -f help.inc
icons/%.hex: icons/%.fig icons/%.hex: icons/%.fig Makefile
$(BUILD) fig2dev -L png -S 4 -Z 0.48 $< | \ $(BUILD) fig2dev -L png -S 4 -Z 0.60 $< | \
convert - -transparent white - | \ convert - -transparent white - | \
hexdump -v -e '/1 "0x%x, "' >$@; \ hexdump -v -e '/1 "0x%x, "' >$@; \
[ "$${PIPESTATUS[*]}" = "0 0 0" ] || { rm -f $@; exit 1; } [ "$${PIPESTATUS[*]}" = "0 0 0" ] || { rm -f $@; exit 1; }

View File

@ -198,6 +198,7 @@ static void add_delta(struct gui_ctx *ctx)
style = overlay_style_default; style = overlay_style_default;
if (ctx->old_hist && ctx->diff_mode == diff_delta) if (ctx->old_hist && ctx->diff_mode == diff_delta)
style.frame = RGBA(0, 0, 0, 1); style.frame = RGBA(0, 0, 0, 1);
style.pad = 4;
overlay_style(over, &style); overlay_style(over, &style);
if (use_delta) if (use_delta)
overlay_icon(over, icon_delta); overlay_icon(over, icon_delta);