-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial draft #1
Comments
Hi @@brianferguson, I attach here Rainmeter executable (on rainmeter@6b54b5f) compiled with WebView meter. Example skins folder is also included, please copy it to your |
I think this a great first draft showing WVM as a meter instead of a plugin. Good work! It looks like you covered all the issues I could see already, so hopefully with some luck we can figure this out.
[Rainmeter]
Update=-1
[mes]
Meter=WebView
URL=index.html
Y=10
X=10
W=400
H=700
SolidColor=0,0,0,1
[Test]
Meter=Image
W=100
H=100
SolidColor=255,0,0
LeftMouseUpAction=[!ToggleMeter mes][!UpdateMeter mes][!Redraw] I am most concerned about item 1, 2 and 4. I feel like for item 3, we could just document the behavior if we can't find a solution. I am not concerned with the Container option for this particular meter, since they do use different rendering systems. Maybe @TheAzack9 would have some thoughts on that if it is possible. -Brian |
I drafted second release with all Mouse Actions supported including drag. I tried to match all mouse actions functionalities, and dragging is probably the most annoying thing to perfect. Please test it thoroughly and see if I missed anything. I also fixed artifact problem when toggling meter. Hide meter now also put WebView2 into resource saving mode (throttle any running timer to 1s and reduce memory usage). |
WebView Meter (WVM) features set including:
Anatomy
TODO
Library.tlb
file and load it at runtimeNotes
Library.tlb
:Library.rc
%TEMP%
LoadTypeLib
that filePotential features
Freeze WVM in between Update intervals to reduce resource usage: https://github.com/MicrosoftEdge/WebView2Feedback/blob/master/specs/Freeze.mdThrottled by hiding window is good enoughUpdate
function on meter Update.document.body
size changeThe text was updated successfully, but these errors were encountered: