feat: main
This commit is contained in:
@@ -10,7 +10,11 @@ fn main() {
|
|||||||
// | sciter::SCRIPT_RUNTIME_FEATURES::ALLOW_FILE_IO as u8 // Enables opening file dialog (`view.selectFile()`)
|
// | sciter::SCRIPT_RUNTIME_FEATURES::ALLOW_FILE_IO as u8 // Enables opening file dialog (`view.selectFile()`)
|
||||||
// )).unwrap();
|
// )).unwrap();
|
||||||
|
|
||||||
let mut frame = sciter::Window::new();
|
// let mut frame = sciter::Window::new();
|
||||||
|
let mut frame = sciter::WindowBuilder::main_window()
|
||||||
|
.with_size((800, 600))
|
||||||
|
.with_pos((200, 100))
|
||||||
|
.create();
|
||||||
|
|
||||||
if cfg!(target_os="macos") {
|
if cfg!(target_os="macos") {
|
||||||
// a temporary workaround for OSX, see
|
// a temporary workaround for OSX, see
|
||||||
|
|||||||
Reference in New Issue
Block a user