1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-17 21:03:43 +02:00

eeshow/gui/sheet.c (add_delta): use pretty icons instead of unicode

This commit is contained in:
Werner Almesberger 2016-08-21 01:26:44 -03:00
parent e33f755179
commit e5e53ec904

View File

@ -25,6 +25,7 @@
#include "gui/over.h"
#include "gui/input.h"
#include "gui/help.h"
#include "gui/icons.h"
#include "gui/common.h"
@ -199,9 +200,9 @@ static void add_delta(struct gui_ctx *ctx)
style.frame = RGBA(0, 0, 0, 1);
overlay_style(over, &style);
if (use_delta)
overlay_text(over, "∇");
overlay_icon(over, icon_delta);
else
overlay_text(over, "Δ");
overlay_icon(over, icon_diff);
}