|
| class | App |
| | Main application singleton (use this if you want to let the library manage window creation). More...
|
| |
| class | AppListener |
| | Interface for all App-related events. More...
|
| |
| class | Bitmap |
| | A thread-safe container for pixel data. More...
|
| |
| class | BitmapSurface |
| | The default surface implementation, backed by a bitmap. More...
|
| |
| class | Buffer |
| | A fixed-size container for raw byte data. More...
|
| |
| class | Clipboard |
| | User-defined clipboard interface. More...
|
| |
| struct | Command |
| | A command to execute on the GPU. More...
|
| |
| struct | CommandList |
| | List of commands to execute on the GPU. More...
|
| |
| struct | Config |
| | Core configuration for the renderer. More...
|
| |
| class | ConsoleMessage |
| | Interface for console messages. More...
|
| |
| struct | CreateThreadResult |
| | Result of creating a new thread. More...
|
| |
| class | DownloadListener |
| | User-defined interface to handle download-related events for a View. More...
|
| |
| class | FileSystem |
| | User-defined file system interface. More...
|
| |
| class | FontFile |
| | Represents a font file, either on-disk path or in-memory file contents. More...
|
| |
| class | FontLoader |
| | User-defined font loader interface. More...
|
| |
| class | GamepadAxisEvent |
| | Event representing a change in gamepad axis state (eg, pressing a stick in a certain direction). More...
|
| |
| class | GamepadButtonEvent |
| | Event representing a change in gamepad button state (eg, pressing a button on a gamepad). More...
|
| |
| class | GamepadEvent |
| | Event representing a change in gamepad connection state. More...
|
| |
| class | GPUDriver |
| | User-defined GPU driver interface. More...
|
| |
| struct | GPUState |
| | The state of the GPU for a given draw command. More...
|
| |
| class | ImageSource |
| | User-defined image source to display custom images on a web-page. More...
|
| |
| class | ImageSourceListener |
| | Listener for ImageSource events. More...
|
| |
| class | ImageSourceProvider |
| | Maps image sources to string identifiers. More...
|
| |
| class | ImageSourceProviderListener |
| | Listener for ImageSourceProvider events. More...
|
| |
| struct | IndexBuffer |
| | Index buffer description. More...
|
| |
| struct | IntRect |
| | Integer Rectangle Helper. More...
|
| |
| struct | is_string_type |
| | Trait to check if a type is a supported string-like type. More...
|
| |
| struct | is_string_type< const char * > |
| |
| struct | is_string_type< std::string > |
| |
| struct | is_string_type< std::string_view > |
| |
| struct | is_string_type< String > |
| |
| class | JSArgs |
| | A vector of JSValues, used for passing around arguments in JSCallback. More...
|
| |
| class | JSArray |
| | JSArray wrapper that automatically manages lifetime and provides convenient access to indices and Array functions. More...
|
| |
| class | JSContext |
| | This class wraps a JSContextRef (a JavaScript execution context for use with JavaScriptCore) and locks the context on the current thread for the duration of its lifetime. More...
|
| |
| class | JSFunction |
| | JSFunction wrapper that automatically manages lifetime and provides convenient function invocation operators. More...
|
| |
| class | JSObject |
| | JSObject wrapper that automatically manages lifetime and provides convenient access to properties. More...
|
| |
| class | JSPropertyValue |
| | Wrapper for JSObject property value (JSValue subclass). More...
|
| |
| class | JSString |
| | JavaScript String wrapper that automatically manages JSStringRef lifetime and provides helpful conversions. More...
|
| |
| class | JSValue |
| | JavaScript variant value wrapper that automatically manages JSValueRef lifetime and provides helpful conversions. More...
|
| |
| struct | JSValueNullTag |
| | Tag type used with the JSValue constructor to create "Null" types. More...
|
| |
| struct | JSValueUndefinedTag |
| | Tag type used with the JSValue constructor to create "Undefined" types. More...
|
| |
| class | KeyEvent |
| | Keyboard event representing a change in keyboard state. More...
|
| |
| class | LoadListener |
| | User-defined interface to handle load-related events for a View. More...
|
| |
| class | Lock |
| | Tiny, efficient spinlock that is optimized for short locking periods but will still intelligently yield the current thread and save CPU if the lock is held longer. More...
|
| |
| class | LockedPixels |
| | Forward declaration for the LockedPixels class. More...
|
| |
| class | Logger |
| | User-defined logging interface. More...
|
| |
| struct | Matrix |
| | Transformation Matrix helper. More...
|
| |
| struct | Matrix4x4 |
| | 4x4 Matrix Helper More...
|
| |
| class | Monitor |
| | A platform-specific monitor. More...
|
| |
| class | MouseEvent |
| | Mouse event representing a change in mouse state. More...
|
| |
| class | NetworkListener |
| | User-defined interface to handle network-related events for a View. More...
|
| |
| class | NetworkRequest |
| | Interface for Network requests. More...
|
| |
| class | Overlay |
| | Web-content overlay, displays a web-page within a portion of a Window. More...
|
| |
| class | Platform |
| | Global platform singleton, manages user-defined platform handlers and global config. More...
|
| |
| struct | Rect |
| | Float Rectangle Helper. More...
|
| |
| class | RefCounted |
| | Interface for all ref-counted objects that will be managed using the RefPtr<> smart pointer. More...
|
| |
| class | RefPtr |
| | A nullable smart pointer. More...
|
| |
| struct | RenderBuffer |
| | Render buffer description. More...
|
| |
| class | Renderer |
| | Core renderer singleton for the library, coordinates all library functions. More...
|
| |
| struct | RenderTarget |
| | Offscreen render target, used when rendering Views via the GPU renderer. More...
|
| |
| struct | RoundedRect |
| | Rounded Rectangle Helper. More...
|
| |
| class | ScrollEvent |
| | Scroll event representing a change in scroll state. More...
|
| |
| class | Session |
| | Storage for a browsing session (cookies, local storage, etc.). More...
|
| |
| struct | Settings |
| | App-specific settings. More...
|
| |
| class | String |
| | Unicode string container with conversions for UTF-8, UTF-16, and UTF-32. More...
|
| |
| class | String16 |
| | A null-terminated UTF-16 string container. More...
|
| |
| class | String16Vector |
| | A UTF-16 string vector. More...
|
| |
| class | String32 |
| | A null-terminated UTF-32 string container. More...
|
| |
| class | String8 |
| | A null-terminated UTF-8 string container. More...
|
| |
| class | Surface |
| | User-defined pixel buffer surface. More...
|
| |
| class | SurfaceFactory |
| | User-defined factory to provide your own surface implementation. More...
|
| |
| class | ThreadFactory |
| | User-defined factory for creating new threads. More...
|
| |
| struct | vec2 |
| | 2D Vector Helper More...
|
| |
| struct | vec3 |
| | 3D Vector Helper More...
|
| |
| struct | vec4 |
| | 4D Vector Helper More...
|
| |
| struct | Vertex_2f_4ub_2f |
| | Vertex layout for path vertices. More...
|
| |
| struct | Vertex_2f_4ub_2f_2f_28f |
| | Vertex layout for quad vertices. More...
|
| |
| struct | VertexBuffer |
| | Vertex buffer description. More...
|
| |
| class | View |
| | Web-page container rendered to an offscreen surface. More...
|
| |
| struct | ViewConfig |
| | View-specific configuration settings. More...
|
| |
| class | ViewListener |
| | User-defined interface to handle general events for a View. More...
|
| |
| class | Window |
| | A platform-specific window. More...
|
| |
| class | WindowListener |
| | Interface for all Window-related events. More...
|
| |
|
| typedef std::function< void(const JSObject &, const JSArgs &)> | JSCallback |
| | JSCallback typedef used for binding C++ callbacks to JavaScript functions.
|
| |
| typedef std::function< JSValue(const JSObject &, const JSArgs &)> | JSCallbackWithRetval |
| | JSCallbackWithRetval typedef used for binding C++ callbacks to JavaScript functions with an optional return value.
|
| |
| typedef void(* | DestroyBitmapCallback) (void *user_data, void *data) |
| | Function signature for a user-defined destruction callback to be optionally called when the Bitmap is destroyed.
|
| |
| typedef void(* | DestroyBufferCallback) (void *user_data, void *data) |
| | Function signature for a user-defined destruction callback to optionally be called when Buffer is destroyed.
|
| |
| typedef vec2 | Point |
| | Point is typedef'd to a 2D vector.
|
| |
| typedef uint32_t | DownloadId |
| | A unique identifier representing an active download.
|
| |
| using | LockHolder = std::lock_guard<Lock> |
| |
| typedef uint32_t | IndexType |
| | Vertex index type.
|
| |
| typedef uint32_t | ThreadId |
| | Unique id of the thread, used for referencing the created thread later.
|
| |
| typedef uint64_t | ThreadHandle |
| | Platform-specific handle.
|
| |
| typedef void(* | ThreadEntryPoint) (void *) |
| | Entry point for the thread, this function should be called by the thread once it is active and should be passed entry_point_data as the argument.
|
| |
| typedef detail::selector< sizeof(wchar_t)>::Char16 | Char16 |
| |
|
| enum class | DialogIcon { Info
, Warning
, Error
, Question
} |
| | Enum representing the icon to be displayed in a dialog. More...
|
| |
| enum class | ButtonType { OK
, OKCancel
, YesNo
} |
| | Enum representing the button types in a dialog. More...
|
| |
| enum class | ButtonResult { OK
, Cancel
, Yes
, No
} |
| | Enum representing the result of a dialog button press. More...
|
| |
| enum | WindowFlags : uint8_t {
kWindowFlags_Borderless = 1 << 0
, kWindowFlags_Titled = 1 << 1
, kWindowFlags_Resizable = 1 << 2
, kWindowFlags_Maximizable = 1 << 3
,
kWindowFlags_Hidden = 1 << 4
} |
| | Window creation flags. More...
|
| |
| enum class | BitmapFormat : uint8_t { A8_UNORM
, BGRA8_UNORM_SRGB
} |
| | The various Bitmap formats. More...
|
| |
| enum | MessageSource {
kMessageSource_XML = 0
, kMessageSource_JS
, kMessageSource_Network
, kMessageSource_ConsoleAPI
,
kMessageSource_Storage
, kMessageSource_AppCache
, kMessageSource_Rendering
, kMessageSource_CSS
,
kMessageSource_Security
, kMessageSource_ContentBlocker
, kMessageSource_Media
, kMessageSource_MediaSource
,
kMessageSource_WebRTC
, kMessageSource_ITPDebug
, kMessageSource_PrivateClickMeasurement
, kMessageSource_PaymentRequest
,
kMessageSource_Other
} |
| | MessageSource types. More...
|
| |
| enum | MessageType {
kMessageType_Log = 0
, kMessageType_Dir
, kMessageType_DirXML
, kMessageType_Table
,
kMessageType_Trace
, kMessageType_StartGroup
, kMessageType_StartGroupCollapsed
, kMessageType_EndGroup
,
kMessageType_Clear
, kMessageType_Assert
, kMessageType_Timing
, kMessageType_Profile
,
kMessageType_ProfileEnd
, kMessageType_Image
} |
| |
| enum | MessageLevel {
kMessageLevel_Log = 0
, kMessageLevel_Warning
, kMessageLevel_Error
, kMessageLevel_Debug
,
kMessageLevel_Info
} |
| | MessageLevel types. More...
|
| |
| enum | Cursor {
kCursor_Pointer = 0
, kCursor_Cross
, kCursor_Hand
, kCursor_IBeam
,
kCursor_Wait
, kCursor_Help
, kCursor_EastResize
, kCursor_NorthResize
,
kCursor_NorthEastResize
, kCursor_NorthWestResize
, kCursor_SouthResize
, kCursor_SouthEastResize
,
kCursor_SouthWestResize
, kCursor_WestResize
, kCursor_NorthSouthResize
, kCursor_EastWestResize
,
kCursor_NorthEastSouthWestResize
, kCursor_NorthWestSouthEastResize
, kCursor_ColumnResize
, kCursor_RowResize
,
kCursor_MiddlePanning
, kCursor_EastPanning
, kCursor_NorthPanning
, kCursor_NorthEastPanning
,
kCursor_NorthWestPanning
, kCursor_SouthPanning
, kCursor_SouthEastPanning
, kCursor_SouthWestPanning
,
kCursor_WestPanning
, kCursor_Move
, kCursor_VerticalText
, kCursor_Cell
,
kCursor_ContextMenu
, kCursor_Alias
, kCursor_Progress
, kCursor_NoDrop
,
kCursor_Copy
, kCursor_None
, kCursor_NotAllowed
, kCursor_ZoomIn
,
kCursor_ZoomOut
, kCursor_Grab
, kCursor_Grabbing
, kCursor_Custom
} |
| | Cursor types,. More...
|
| |
| enum class | FaceWinding : uint8_t { Clockwise
, CounterClockwise
} |
| | The winding order for front-facing triangles. More...
|
| |
| enum class | FontHinting : uint8_t { Smooth
, Normal
, Monochrome
, None
} |
| |
| enum class | EffectQuality : uint8_t { Low
, Medium
, High
} |
| |
| enum class | VertexBufferFormat : uint8_t { _2f_4ub_2f
, _2f_4ub_2f_2f_28f
} |
| | Vertex buffer formats. More...
|
| |
| enum class | ShaderType : uint8_t { Fill
, FillPath
} |
| | Shader program types. More...
|
| |
| enum class | CommandType : uint8_t { ClearRenderBuffer
, DrawGeometry
} |
| | The types of commands. More...
|
| |
| enum class | LogLevel : uint8_t { Error
, Warning
, Info
} |
| | Log levels, used with Logger::LogMessage. More...
|
| |
| enum class | ThreadType : uint8_t {
Unknown = 0
, JavaScript
, Compiler
, GarbageCollection
,
Network
, Graphics
, Audio
} |
| | The type of thread, you can choose to optionally handle these for better performance. More...
|
| |
|
| ButtonResult | ShowMessageBox (const String &title, const String &message, DialogIcon icon=DialogIcon::Info, ButtonType buttons=ButtonType::OK) |
| | Shows a modal message box with the specified title, message, icon, and buttons.
|
| |
| void | SetJSContext (JSContextRef ctx) |
| | Set the current JSContext.
|
| |
| JSContextRef | GetJSContext () |
| | Get the current JSContext.
|
| |
| JSObject | JSGlobalObject () |
| | Get the Global Object for the current JSContext.
|
| |
| JSValue | JSEval (const JSString &str) |
| | Evaluate a string of JavaScript and return a result.
|
| |
| FontLoader * | GetPlatformFontLoader () |
| | Get the native font loader for the current platform.
|
| |
| FileSystem * | GetPlatformFileSystem (const String &baseDir) |
| | Get the native file system for the current platform, creating it if it doesn't exist using the base directory provided.
|
| |
| Logger * | GetDefaultLogger (const String &logPath) |
| | Get the default logger (writes the log to a file on disk).
|
| |
| void | GetKeyIdentifierFromVirtualKeyCode (int virtual_key_code, String &key_identifier_result) |
| | Utility function for generating a key identifier string from a virtual key-code.
|
| |
| void | GetKeyFromVirtualKeyCode (int virtual_key_code, bool shift, String &key_result) |
| | Utility function for generating a key string from a virtual key-code.
|
| |
| bool | operator== (const Matrix &a, const Matrix &b) |
| |
| bool | operator!= (const Matrix &a, const Matrix &b) |
| |
| bool | operator== (const Matrix4x4 &a, const Matrix4x4 &b) |
| |
| bool | operator!= (const Matrix4x4 &a, const Matrix4x4 &b) |
| |
| SurfaceFactory * | GetBitmapSurfaceFactory () |
| | Get the default Bitmap Surface Factory singleton.
|
| |
| template<typename T > |
| RefPtr< T > | AdoptRef (T &reference) |
| | Helper for wrapping new objects with the RefPtr smart pointer.
|
| |
| template<class T > |
| void | swap (RefPtr< T > &a, RefPtr< T > &b) |
| |
| template<typename T , typename U > |
| bool | operator== (const RefPtr< T > &a, const RefPtr< U > &b) |
| |
| template<typename T , typename U > |
| bool | operator== (const RefPtr< T > &a, const U *b) |
| |
| template<typename T , typename U > |
| bool | operator== (const T *a, const RefPtr< U > &b) |
| |
| template<typename T , typename U > |
| bool | operator!= (const RefPtr< T > &a, const RefPtr< U > &b) |
| |
| template<typename T , typename U > |
| bool | operator!= (const RefPtr< T > &a, const U *b) |
| |
| template<typename T , typename U > |
| bool | operator!= (const T *a, const RefPtr< U > &b) |
| |
| template<typename To = void, typename From > |
| auto | Convert (const From &from) |
| | Convert between string types.
|
| |