summaryrefslogtreecommitdiff
path: root/gui/pop.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/pop.h')
-rw-r--r--gui/pop.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gui/pop.h b/gui/pop.h
new file mode 100644
index 0000000..96fa2a6
--- /dev/null
+++ b/gui/pop.h
@@ -0,0 +1,27 @@
+/*
+ * gui/pop.h - Pop-up helper functions
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef GUI_POP_H
+#define GUI_POP_H
+
+#include "gui/common.h"
+
+
+void eeschema_coord(const struct gui *gui, int x, int y, int *rx, int *ry);
+void dehover_pop(struct gui *gui);
+
+void add_pop_header(struct gui *gui, unsigned width, const char *label);
+void add_pop_item(struct gui *gui, void (*click)(void *user), void *user,
+ unsigned width, bool dim, const char *fmt, ...);
+void add_pop_frame(struct gui *gui);
+
+#endif /* !GUI_POP_H */