/************************************************************************************************** * This file is a part of Ultralight, an ultra-portable web-browser engine. * * * * See for licensing and more. * * * * (C) 2024 Ultralight, Inc. * **************************************************************************************************/ /// /// @file CAPI_ScrollEvent.h /// /// Scroll event interface. /// /// `#include ` /// /// This file defines the C API for scroll events. /// #ifndef ULTRALIGHT_CAPI_SCROLLEVENT_H #define ULTRALIGHT_CAPI_SCROLLEVENT_H #include #ifdef __cplusplus extern "C" { #endif /****************************************************************************** * Scroll Event *****************************************************************************/ /// /// Create a scroll event, see ScrollEvent in the C++ API for help using this function. /// ULExport ULScrollEvent ulCreateScrollEvent(ULScrollEventType type, int delta_x, int delta_y); /// /// Destroy a scroll event. /// ULExport void ulDestroyScrollEvent(ULScrollEvent evt); #ifdef __cplusplus } // extern "C" #endif #endif // ULTRALIGHT_CAPI_SCROLLEVENT_H