summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-19 08:31:46 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-19 08:31:46 -0300
commitefbe6faae10cefd8b0834c31ca613cb314f07da9 (patch)
tree576501e37837336e7f65ea33cd147a9353d13583 /gui/common.h
parent3c2b347da556dc5d88df3a36813dfa733f5a9d20 (diff)
downloadeeshow-efbe6faae10cefd8b0834c31ca613cb314f07da9.tar.gz
eeshow-efbe6faae10cefd8b0834c31ca613cb314f07da9.tar.bz2
eeshow-efbe6faae10cefd8b0834c31ca613cb314f07da9.zip
gui/common.h, gui/sheet.c: use dragging instead of click for copying text
This feels much more "natural", but still lacks visual feedback.
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/common.h b/gui/common.h
index 31bf44c..6a51d76 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -126,6 +126,8 @@ struct gui {
struct gui_hist *new_hist;
struct gui_hist *old_hist; /* NULL if not comparing */
+ const char *drag_text; /* text being "dragged" (marked); or NULL */
+
int hist_y_offset; /* history list y offset */
/* progress bar */