Ultralight C API
1.3.0
Loading...
Searching...
No Matches
CAPI_ScrollEvent.h
Go to the documentation of this file.
1
/******************************************************************************
2
* This file is a part of Ultralight, an ultra-portable web-browser engine. *
3
* *
4
* See <https://ultralig.ht> for licensing and more. *
5
* *
6
* (C) 2023 Ultralight, Inc. *
7
*****************************************************************************/
8
#ifndef ULTRALIGHT_CAPI_SCROLLEVENT_H
9
#define ULTRALIGHT_CAPI_SCROLLEVENT_H
10
11
#include <
Ultralight/CAPI/CAPI_Defines.h
>
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
/******************************************************************************
18
* Scroll Event
19
*****************************************************************************/
20
21
///
22
/// Create a scroll event, @see ScrollEvent for help using this function.
23
///
24
ULExport
ULScrollEvent
ulCreateScrollEvent
(
ULScrollEventType
type,
int
delta_x,
int
delta_y);
25
26
///
27
/// Destroy a scroll event.
28
///
29
ULExport
void
ulDestroyScrollEvent
(
ULScrollEvent
evt);
30
31
#ifdef __cplusplus
32
}
// extern "C"
33
#endif
34
35
#endif
// ULTRALIGHT_CAPI_SCROLLEVENT_H
CAPI_Defines.h
ULScrollEventType
ULScrollEventType
Definition
CAPI_Defines.h:198
ULExport
#define ULExport
Definition
CAPI_Defines.h:27
ULScrollEvent
struct C_ScrollEvent * ULScrollEvent
Definition
CAPI_Defines.h:58
ulCreateScrollEvent
ULExport ULScrollEvent ulCreateScrollEvent(ULScrollEventType type, int delta_x, int delta_y)
Create a scroll event,.
ulDestroyScrollEvent
ULExport void ulDestroyScrollEvent(ULScrollEvent evt)
Destroy a scroll event.
Ultralight
CAPI
CAPI_ScrollEvent.h
Generated by
1.9.7