mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-17 16:53:13 +00:00
Added option to remove check box from user consent
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -423,6 +423,9 @@ function pump_onHwnd(h)
|
||||
this.pump._denybutton = c;
|
||||
this.pump._addAsyncMethodCall(this.pump._user32.SendMessageW.async, [c, WM_SETFONT, this.pump.buttonfont, 1]);
|
||||
}).parentPromise.pump = this;
|
||||
|
||||
if (this.options.noCheck != true)
|
||||
{
|
||||
this._addCreateWindowEx(0, GM.CreateVariable('BUTTON', { wide: true }), GM.CreateVariable(this.translations.Auto, { wide: true }), WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_CHECKBOX | BS_MULTILINE,
|
||||
SCALE(210, this.dpi), // x position
|
||||
SCALE(150 + 32, this.dpi), // y position
|
||||
@@ -436,6 +439,7 @@ function pump_onHwnd(h)
|
||||
this.pump._checkbox = c;
|
||||
this.pump._addAsyncMethodCall(this.pump._user32.SendMessageW.async, [c, WM_SETFONT, this.pump.buttonfont, 1]);
|
||||
}).parentPromise.pump = this;
|
||||
}
|
||||
this._addCreateWindowEx(0, GM.CreateVariable('STATIC', { wide: true }), GM.CreateVariable('NONE', { wide: true }), WS_TABSTOP | WS_VISIBLE | WS_CHILD | SS_BLACKRECT | SS_BITMAP | SS_REALSIZECONTROL,
|
||||
SCALE(10, this.dpi), // x position
|
||||
SCALE(10 + 32, this.dpi), // y position
|
||||
|
||||
Reference in New Issue
Block a user