clog/clogframe/clogframe.cpp
2022-09-02 15:23:41 -04:00

14 lines
327 B
C++
Vendored

#include <iostream>
#include <sstream>
#include <string>
#include "webview.h"
int main(int argc,char* argv[]) {
webview::webview w(true, nullptr);
w.set_title(argv[1]);
w.set_size(640, 480, WEBVIEW_HINT_NONE);
std::ostringstream o;
o << "http://127.0.0.1:" << argv[2];
w.navigate(o.str());
w.run();
return 0;
}