232 uint32_t button_count)
#define UExport
Definition Defines.h:65
Event representing a change in gamepad axis state (eg, pressing a stick in a certain direction).
Definition GamepadEvent.h:57
Event representing a change in gamepad connection state.
Definition GamepadEvent.h:19
Interface for all ref-counted objects that will be managed using the RefPtr<> smart pointer.
Definition RefPtr.h:47
A nullable smart pointer.
Definition RefPtr.h:79
Core renderer singleton for the library, coordinates all library functions.
Definition Renderer.h:97
virtual RefPtr< Session > CreateSession(bool is_persistent, const String &name)=0
Create a unique, named Session to store browsing data in (cookies, local storage, application cache,...
virtual void FireGamepadButtonEvent(const GamepadButtonEvent &evt)=0
Fire a gamepad button event (to be called when a button value is changed).
virtual void FireGamepadAxisEvent(const GamepadAxisEvent &evt)=0
Fire a gamepad axis event (to be called when an axis value is changed).
virtual void RenderOnly(View **view_array, size_t view_array_len)=0
Render a subset of views to their respective surfaces and render targets.
virtual void SetGamepadDetails(uint32_t index, const String &id, uint32_t axis_count, uint32_t button_count)=0
Describe the details of a gamepad, to be used with FireGamepadEvent and related events below.
virtual void Update()=0
Update timers and dispatch callbacks.
virtual void LogMemoryUsage()=0
Print detailed memory usage statistics to the log.
virtual RefPtr< Session > default_session()=0
Get the default Session.
virtual bool StartRemoteInspectorServer(const char *address, uint16_t port)=0
Start the remote inspector server.
virtual void Render()=0
Render all active views to their respective surfaces and render targets.
virtual void PurgeMemory()=0
Attempt to release as much memory as possible.
virtual RefPtr< View > CreateView(uint32_t width, uint32_t height, const ViewConfig &config, RefPtr< Session > session)=0
Create a new View to load and display web pages in.
static RefPtr< Renderer > Create()
Create the core renderer singleton for the library.
virtual void FireGamepadEvent(const GamepadEvent &evt)=0
Fire a gamepad event (connection / disconnection).
UTF-8 String container with conversions for UTF-16 and UTF-32.
Definition String.h:21
Web-page container rendered to an offscreen surface that you display yourself.
Definition View.h:114
View-specific configuration settings.
Definition View.h:28