Loading...
Searching...
No Matches
CAPI_ScrollEvent.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * This file is a part of Ultralight. *
3 * *
4 * See <https://ultralig.ht> for licensing and more. *
5 * *
6 * (C) 2024 Ultralight, Inc. *
7 **************************************************************************************************/
8
9///
10/// @file CAPI_ScrollEvent.h
11///
12/// Scroll event interface.
13///
14/// `#include <Ultralight/CAPI/CAPI_ScrollEvent.h>`
15///
16/// This file defines the C API for scroll events.
17///
18#ifndef ULTRALIGHT_CAPI_SCROLLEVENT_H
19#define ULTRALIGHT_CAPI_SCROLLEVENT_H
20
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/******************************************************************************
28 * Scroll Event
29 *****************************************************************************/
30
31///
32/// Create a scroll event, see ScrollEvent in the C++ API for help using this function.
33///
35
36///
37/// Destroy a scroll event.
38///
40
41#ifdef __cplusplus
42} // extern "C"
43#endif
44
45#endif // ULTRALIGHT_CAPI_SCROLLEVENT_H
Various defines and utility functions for the C API.
ULScrollEventType
Definition CAPI_Defines.h:213
#define ULExport
Definition CAPI_Defines.h:38
struct C_ScrollEvent * ULScrollEvent
Definition CAPI_Defines.h:69
ULExport ULScrollEvent ulCreateScrollEvent(ULScrollEventType type, int delta_x, int delta_y)
Create a scroll event, see ScrollEvent in the C++ API for help using this function.
ULExport void ulDestroyScrollEvent(ULScrollEvent evt)
Destroy a scroll event.