mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
add width and height to clogframe params
This commit is contained in:
parent
92381b366a
commit
9d82642b3c
4 changed files with 10 additions and 5 deletions
2
clogframe/clogframe.cpp
vendored
2
clogframe/clogframe.cpp
vendored
|
|
@ -5,7 +5,7 @@
|
|||
int main(int argc,char* argv[]) {
|
||||
webview::webview w(true, nullptr);
|
||||
w.set_title(argv[1]);
|
||||
w.set_size(640, 480, WEBVIEW_HINT_NONE);
|
||||
w.set_size(std::stoi(argv[3]), std::stoi(argv[4]), WEBVIEW_HINT_NONE);
|
||||
std::ostringstream o;
|
||||
o << "http://127.0.0.1:" << argv[2];
|
||||
w.navigate(o.str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue