mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
First step towards a context menu in the profile view
This is completely bogus as all it does is print out the corresponding time for the spot we right-clicked on the profile. But that at least shows that the infrastructure is working as intended... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a094b2b88a
commit
bfa37c3cac
3 changed files with 44 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ extern struct divecomputer *select_dc(struct divecomputer *main);
|
|||
extern void init_profile_background(struct graphics_context *gc);
|
||||
extern void attach_tooltip(int x, int y, int w, int h, const char *text);
|
||||
extern void get_plot_details(struct graphics_context *gc, int time, char *buf, size_t bufsize);
|
||||
extern int x_to_time(double x);
|
||||
|
||||
struct options {
|
||||
enum { PRETTY, TABLE, TWOPERPAGE } type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue