summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h
index 752370034..45c9c0452 100644
--- a/content/content.h
+++ b/content/content.h
@@ -84,6 +84,7 @@ typedef enum {
CONTENT_MSG_SELECTION, /**< A selection made or cleared */
CONTENT_MSG_CARET, /**< Caret movement / hiding */
CONTENT_MSG_DRAG, /**< A drag started or ended */
+ CONTENT_MSG_SELECTMENU,/**< Create a select menu */
CONTENT_MSG_GADGETCLICK/**< A gadget has been clicked on (mainly for file) */
} content_msg;
@@ -197,6 +198,10 @@ union content_msg_data {
} type;
const struct rect *rect;
} drag;
+ /** CONTENT_MSG_SELECTMENU - Create select menu at pointer */
+ struct {
+ struct form_control *gadget;
+ } select_menu;
/** CONTENT_MSG_GADGETCLICK - User clicked on a form gadget */
struct {
struct form_control *gadget;