Wef is a Rust library for embedding WebView functionality using Chromium Embedded Framework (CEF3) with offscreen rendering support.
15 lines
278 B
C++
15 lines
278 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
|
|
#include "client.h"
|
|
#include "include/cef_browser.h"
|
|
|
|
struct WefBrowser {
|
|
std::string url;
|
|
bool focus;
|
|
CefRefPtr<WefClient> client;
|
|
bool deleteBrowser = false;
|
|
std::optional<CefRefPtr<CefBrowser>> browser;
|
|
int cursorX, cursorY;
|
|
};
|