summaryrefslogtreecommitdiff
path: root/gui/common.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-30 12:37:24 -0300
committerWerner Almesberger <werner@almesberger.net>2016-10-30 14:12:33 -0300
commit96ef3e03ac812f3c0fbc863b89e860cd336a9293 (patch)
tree6a90267ae2d0d1ddd663efee66351b56fd1c77be /gui/common.h
parenta84bff7c2e35e2ed86a44218076b6d1bc9007e32 (diff)
downloadeeshow-96ef3e03ac812f3c0fbc863b89e860cd336a9293.tar.gz
eeshow-96ef3e03ac812f3c0fbc863b89e860cd336a9293.tar.bz2
eeshow-96ef3e03ac812f3c0fbc863b89e860cd336a9293.zip
gui/: "v" opens a viewer window for commit messages (WIP)
Diffstat (limited to 'gui/common.h')
-rw-r--r--gui/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/common.h b/gui/common.h
index 6a51d76..efcd1c6 100644
--- a/gui/common.h
+++ b/gui/common.h
@@ -130,6 +130,9 @@ struct gui {
int hist_y_offset; /* history list y offset */
+ const struct vcs_hist *commit_hover;
+ /* commit being hovered on; NULL if none */
+
/* progress bar */
int hist_size; /* total number of revisions */
unsigned progress; /* progress counter */
@@ -176,6 +179,8 @@ void sheet_setup(struct gui *gui);
/* history.c */
+void view_full_commit(struct gui *gui);
+void commit_hover(struct gui *gui, const struct vcs_hist *vcs_hist);
void history_draw_event(const struct gui *gui, cairo_t *cr);
void show_history(struct gui *gui, enum selecting sel);