From 142a0bf859b70a2b278b007aac99a5ab0811a956 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 17 Aug 2012 10:01:15 +0100 Subject: Add content message for setting mouse pointer. --- content/content.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index f3a443868..d0b525c85 100644 --- a/content/content.h +++ b/content/content.h @@ -76,7 +76,8 @@ typedef enum { CONTENT_MSG_GETCTX, /**< Javascript context */ CONTENT_MSG_SCROLL, /**< Request to scroll content */ CONTENT_MSG_DRAGSAVE, /**< Allow drag saving of content */ - CONTENT_MSG_SAVELINK /**< Allow URL to be saved */ + CONTENT_MSG_SAVELINK, /**< Allow URL to be saved */ + CONTENT_MSG_POINTER /**< Wants a specific mouse pointer set */ } content_msg; /** RFC5988 metadata link */ @@ -145,6 +146,8 @@ union content_msg_data { const char *url; const char *title; } savelink; + /** CONTENT_MSG_POINTER - Mouse pointer to set */ + browser_pointer_shape pointer; }; /** parameters to content redraw */ -- cgit v1.2.3