remove unecessary include
This commit is contained in:
parent
758dcd4de9
commit
6677eef89b
|
@ -836,7 +836,7 @@ void cookie_manager_redraw(int x, int y, struct rect *clip,
|
|||
|
||||
|
||||
/* Exported interface, documented in cookie_manager.h */
|
||||
void cookie_manager_mouse_action(browser_mouse_state mouse, int x, int y)
|
||||
void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y)
|
||||
{
|
||||
treeview_mouse_action(cm_ctx.tree, mouse, x, y);
|
||||
}
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/core_window.h"
|
||||
#include "desktop/textinput.h"
|
||||
#include "utils/errors.h"
|
||||
|
||||
struct cookie_data;
|
||||
enum browser_mouse_state;
|
||||
|
||||
/**
|
||||
* Initialise the cookie manager.
|
||||
|
@ -92,7 +92,7 @@ void cookie_manager_redraw(int x, int y, struct rect *clip,
|
|||
* \param x X coordinate
|
||||
* \param y Y coordinate
|
||||
*/
|
||||
void cookie_manager_mouse_action(browser_mouse_state mouse, int x, int y);
|
||||
void cookie_manager_mouse_action(enum browser_mouse_state mouse, int x, int y);
|
||||
|
||||
/**
|
||||
* Key press handling.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
/* Mouse state. 1 is primary mouse button (e.g. Select on RISC OS).
|
||||
* 2 is secondary mouse button (e.g. Adjust on RISC OS). */
|
||||
typedef enum {
|
||||
typedef enum browser_mouse_state {
|
||||
BROWSER_MOUSE_HOVER = 0, /* No mouse buttons pressed,
|
||||
* May be used to indicate
|
||||
* hover or end of drag. */
|
||||
|
|
Loading…
Reference in New Issue