summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 07:05:50 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-19 07:08:22 -0300
commit9f2062ad1ae59ccaf97d471b86f5760943f5a124 (patch)
tree26977a897b88ba08794ab3e940bebc06955d44a3 /gui/common.h
parent704f5aaa401c4fe2a637d6fe45c5b1f8818b2294 (diff)
downloadeeshow-9f2062ad1ae59ccaf97d471b86f5760943f5a124.tar.gz
eeshow-9f2062ad1ae59ccaf97d471b86f5760943f5a124.tar.bz2
eeshow-9f2062ad1ae59ccaf97d471b86f5760943f5a124.zip
eeshow/gui/: difference display can now be switched with New/Old/Diff
Still need a GUI way to do the same.
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/common.h b/gui/common.h
index 983d636..784704a 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -94,8 +94,14 @@ struct gui_ctx {
struct gui_sheet *curr_sheet;
/* current sheet, always on new_hist */
+
+ enum {
+ diff_new, /* show only new sheet */
+ diff_old, /* show only old sheet */
+ diff_delta, /* show delta */
+ } diff_mode;
struct gui_hist *new_hist;
- struct gui_hist *old_hist; /* NULL if not comparing */
+ struct gui_hist *old_hist; /* NULL if not comparing */
int hist_y_offset; /* history list y offset */