/************************************************************************************************** * This file is a part of Ultralight, an ultra-portable web-browser engine. * * * * See for licensing and more. * * * * (C) 2024 Ultralight, Inc. * **************************************************************************************************/ /// /// @file CAPI_MouseEvent.h /// /// Mouse event interface. /// /// `#include ` /// /// This file defines the C API for mouse events. /// #ifndef ULTRALIGHT_CAPI_MOUSEEVENT_H #define ULTRALIGHT_CAPI_MOUSEEVENT_H #include #ifdef __cplusplus extern "C" { #endif /****************************************************************************** * Mouse Event *****************************************************************************/ /// /// Create a mouse event, see MouseEvent in the C++ API for help using this function. /// ULExport ULMouseEvent ulCreateMouseEvent(ULMouseEventType type, int x, int y, ULMouseButton button); /// /// Destroy a mouse event. /// ULExport void ulDestroyMouseEvent(ULMouseEvent evt); #ifdef __cplusplus } // extern "C" #endif #endif // ULTRALIGHT_CAPI_MOUSEEVENT_H