summaryrefslogtreecommitdiff
path: root/include/dom/events/mouse_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dom/events/mouse_event.h')
-rw-r--r--include/dom/events/mouse_event.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/dom/events/mouse_event.h b/include/dom/events/mouse_event.h
index c153dd8..8212c72 100644
--- a/include/dom/events/mouse_event.h
+++ b/include/dom/events/mouse_event.h
@@ -10,9 +10,9 @@
#include <stdbool.h>
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
#include <dom/events/event_target.h>
-struct dom_string;
struct dom_abstract_view;
typedef struct dom_mouse_event dom_mouse_event;
@@ -69,13 +69,13 @@ dom_exception _dom_mouse_event_get_related_target(dom_mouse_event *evt,
(dom_event_target **) (t))
dom_exception _dom_mouse_event_get_modifier_state(dom_mouse_event *evt,
- struct dom_string *m, bool *state);
+ dom_string *m, bool *state);
#define dom_mouse_event_get_modifier_state(e, m, s) \
_dom_mouse_event_get_modifier_state((dom_mouse_event *) (e), \
- (struct dom_string *) (m), (bool *) (s))
+ (dom_string *) (m), (bool *) (s))
dom_exception _dom_mouse_event_init(dom_mouse_event *evt,
- struct dom_string *type, bool bubble, bool cancelable,
+ dom_string *type, bool bubble, bool cancelable,
struct dom_abstract_view *view, long detail, long screen_x,
long screen_y, long client_x, long client_y, bool ctrl,
bool alt, bool shift, bool meta, unsigned short button,
@@ -83,14 +83,14 @@ dom_exception _dom_mouse_event_init(dom_mouse_event *evt,
#define dom_mouse_event_init(e, t, b, c, v, d, sx, sy, cx, cy, ctrl, alt, \
shift, meta, button, et) \
_dom_mouse_event_init((dom_mouse_event *) (e), \
- (struct dom_string *) (t), (bool) (b), (bool) (c),\
+ (dom_string *) (t), (bool) (b), (bool) (c),\
(struct dom_abstract_view *) (v), (long) (d), (long) (sx), \
(long) (sy), (long) (cx), (long) (cy), (bool) (ctrl),\
(bool) (alt), (bool) (shift), (bool) (meta), \
(unsigned short) (button), (dom_event_target *) (et))
dom_exception _dom_mouse_event_init_ns(dom_mouse_event *evt,
- struct dom_string *namespace, struct dom_string *type,
+ dom_string *namespace, dom_string *type,
bool bubble, bool cancelable, struct dom_abstract_view *view,
long detail, long screen_x, long screen_y, long client_x,
long client_y, bool ctrl, bool alt, bool shift, bool meta,
@@ -98,7 +98,7 @@ dom_exception _dom_mouse_event_init_ns(dom_mouse_event *evt,
#define dom_mouse_event_init_ns(e, n, t, b, c, v, d, sx, sy, cx, cy, ctrl, alt,\
shift, meta, button, et) \
_dom_mouse_event_init_ns((dom_mouse_event *) (e), \
- (struct dom_string *) (n), (struct dom_string *) (t),\
+ (dom_string *) (n), (dom_string *) (t),\
(bool) (b), (bool) (c), (struct dom_abstract_view *) (v),\
(long) (d), (long) (sx), (long) (sy), (long) (cx),\
(long) (cy), (bool) (ctrl), (bool) (alt), (bool) (shift),\