Lea Anthony
eee6797907
Add WindowExecJS method ( #1927 )
...
* Add WindowExecJS
* [devserver] Embed the base frontend into the DevServer struct
* Update docs
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-10-05 08:44:23 +11:00
ZanderCodes
70c484f603
Add Some WindowState ( #1349 )
...
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflicts
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.m
# v2/internal/frontend/desktop/darwin/frontend.go
# v2/internal/frontend/desktop/linux/window.go
# v2/internal/frontend/desktop/windows/window.go
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflict
# Conflicts:
# v2/pkg/runtime/window.go
* Forgot some function to use it
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.h
# v2/internal/frontend/desktop/windows/win32/consts.go
# v2/internal/frontend/desktop/windows/win32/window.go
* Modify the instructions
# Conflicts:
# v2/internal/frontend/devserver/devserver.go
* Add Functions to DevServer
# Conflicts:
# v2/internal/frontend/dispatcher/systemcalls.go
# v2/internal/frontend/runtime/desktop/window.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_prod_desktop.js
# v2/internal/frontend/runtime/wrapper/runtime.d.ts
# v2/internal/frontend/runtime/wrapper/runtime.js
* Add Callback and JavaScript Functions
# Conflicts:
# v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_dev_desktop.js
* Remove Merge lines
* Fix IsMaximised
* Add WindowState Docs
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-08-30 06:52:01 +10:00
Lea Anthony
3e42d2da05
Rename WindowSetRGBA -> WindowSetBackgroundColour ( #1506 )
...
* Rename WindowSetRGBA -> WindowSetBackgroundColour
* Fix Typos
2022-06-29 22:31:49 +10:00
chenxiao
072929689c
feature: add runtime func WindowSetAlwaysOnTop ( #1442 )
...
* feature: add runtime func WindowSetAlwaysOnTop
* add runtime WindowSetUnalwaysOnTop
* add JavaScript runtime method , docs update
* WindowSetAlwaysOnTop(b bool)
* Add AlwaysOnTop for MacOS
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-06-22 20:55:02 +10:00
Lea Anthony
f6257d3d31
Add Environment
and WindowReloadApp
calls to runtime. Updated default templates.
2022-04-20 20:28:41 +10:00
Sebastian Bauer
7dd3f96915
[Feature/1149] Dark mode: functions for manually switching theme ( #1291 )
...
* [Feature/1149] Dark mode: functions for manually switching theme
2022-04-01 08:21:37 +11:00
Lea Anthony
93491eb2eb
Feature/align api ( #1161 )
...
* Fix WindowSetRGBA API
* Change WindowUnFullscreen -> WindowUnfullscreen for consistency
RGBA bugfix
2022-02-19 20:29:55 +11:00
Lea Anthony
f059c35d9e
Feature: WindowToggleMaximise ( #1159 )
...
* [windows] Add WindowToggleMaximise
* Add mac support
* Update docs
* [linux] Toggle Maximise
2022-02-18 20:28:16 +11:00
Lea Anthony
0971857e7e
Fix position runtime ( #1123 )
...
* [linux] Move SetTitle and startDrag to main thread
* [linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
* Fix runtime Window Get/Set Position signatures
* Fix vanilla template keyboard handling
2022-02-03 21:42:14 +11:00
Lea Anthony
4e68f92083
[v2] Add WindowGetPos & WindowGetSize
2021-10-18 21:42:02 +11:00
Lea Anthony
3c0da9fd15
[windows] support runtime.WindowSetRGBA
2021-09-12 16:32:43 +10:00
Lea Anthony
b558246d52
[windows-x] Dev mode. Auto rebuild/reload. Auto open browser. Disconnect spinner. Base template update. mimecache
2021-08-24 23:48:03 +10:00
Lea Anthony
b7cd36921e
[windows-x] Experimental -> Default
2021-08-15 21:07:34 +10:00
Lea Anthony
ca8d41dd3b
[windows-x] Refactor runtime again
2021-07-25 15:37:30 +10:00
Lea Anthony
d8bb418851
Runtime refactor
2020-10-11 13:33:55 +11:00
Lea Anthony
ba6538da7c
Made go runtime package public.
...
Using loglevel store to keep loglevel in sync
2020-10-10 13:57:32 +11:00