summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 05:22:42 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-19 05:22:42 -0300
commitece0da7474b99d0958c0d4731fda670cfb1f6831 (patch)
treebd5c37845118679d7899a229b9f1e5a47cf5bb80 /gui/common.h
parent8349ddc329c6779fcca7b3207dd0005d85bc0109 (diff)
downloadeeshow-ece0da7474b99d0958c0d4731fda670cfb1f6831.tar.gz
eeshow-ece0da7474b99d0958c0d4731fda670cfb1f6831.tar.bz2
eeshow-ece0da7474b99d0958c0d4731fda670cfb1f6831.zip
eeshow/gui/: use overlay_draw_all_d for glabels, due to offsets
The offsets can move the coordinates across zero, thus flipping the alignment. overlay_draw_all_d is immune to this.
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/common.h b/gui/common.h
index c8a3591..e2be6ee 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -81,6 +81,7 @@ struct gui_ctx {
struct overlay *pop_overlays; /* pop-up dialogs */
struct overlay *pop_underlays;
int pop_x, pop_y;
+ int pop_dx, pop_dy;
struct aoi *aois; /* areas of interest; in canvas coord */
struct gui_sheet delta_a;