270 uint32_t button_count)
#define UExport
Definition Exports.h:25
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:125
virtual void FireGamepadAxisEvent(const GamepadAxisEvent &evt)=0
Fire a gamepad axis event (to be called when an axis value is changed).
virtual void FireGamepadEvent(const GamepadEvent &evt)=0
Fire a gamepad event (connection / disconnection).
virtual RefPtr< Session > default_session()=0
Get the default Session.
virtual void Update()=0
Update timers and dispatch callbacks.
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 bool StartRemoteInspectorServer(const char *address, uint16_t port)=0
Start the remote inspector server.
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.
virtual void RefreshDisplay(uint32_t display_id)=0
Notify the renderer that a display has refreshed (you should call this after vsync).
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 PurgeMemory()=0
Attempt to release as much memory as possible.
virtual void Render()=0
Render all active views to their respective render-targets/surfaces.
virtual void LogMemoryUsage()=0
Print detailed memory usage statistics to the log.
virtual void FireGamepadButtonEvent(const GamepadButtonEvent &evt)=0
Fire a gamepad button event (to be called when a button value is changed).
static RefPtr< Renderer > Create()
Create the core renderer singleton for the library.
Unicode string container with conversions for UTF-8, UTF-16, and UTF-32.
Definition String.h:34
Web-page container rendered to an offscreen surface.
Definition View.h:202
View-specific configuration settings.
Definition View.h:28