wef 0.6.0

Wef is a Rust library for embedding WebView functionality using Chromium Embedded Framework (CEF3) with offscreen rendering support.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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;
};