Ultralight C API
1.3.0
Toggle main menu visibility
Main Page
Library Management
CAPI_Renderer.h
CAPI_Config.h
Platform API
CAPI_Platform.h
CAPI_Logger.h
CAPI_GPUDriver.h
CAPI_FontLoader.h
CAPI_FileSystem.h
CAPI_Clipboard.h
CAPI_Surface.h
View Management
CAPI_View.h
CAPI_Session.h
Input Events
CAPI_MouseEvent.h
CAPI_KeyEvent.h
CAPI_ScrollEvent.h
CAPI_GamepadEvent.h
Rendering Output
CPU Renderer
CAPI_Surface.h
CAPI_Bitmap.h
GPU Renderer
CAPI_GPUDriver.h
JavaScriptCore API
JSBase.h
JSContextRef.h
JSStringRef.h
JSValueRef.h
JSObjectRef.h
JSObjectRefPrivate.h
JSTypedArray.h
JSRetainPtr.h
AppCore API
AppCore/CAPI.h
Utility Classes
CAPI_String.h
CAPI_Bitmap.h
CAPI_Buffer.h
CAPI_FontFile.h
CAPI_Geometry.h
CAPI_Defines.h
►
Ultralight C API
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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