mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-04 23:29:42 +02:00
eeshow/gui/sheet.c (add_delta): use pretty icons instead of unicode
This commit is contained in:
parent
e33f755179
commit
e5e53ec904
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user