Last work on display for tonight. Add a boolean attribute "opened" to re-open the digitalWindow if closed.
This commit is contained in:
parent
742adccf34
commit
41a5fd087d
|
@ -10,6 +10,7 @@ let system = {};
|
|||
let TMPDIR;
|
||||
class WebView {
|
||||
constructor() {
|
||||
this.opened = false;
|
||||
this.showing = false;
|
||||
this.digitalWindow = new BrowserWindow({
|
||||
webPreferences: {
|
||||
|
@ -47,8 +48,6 @@ class WebView {
|
|||
await this.digitalWindow.maximize();
|
||||
}
|
||||
setImage(src) {
|
||||
console.log(src);
|
||||
//console.dir(digitalWindow)
|
||||
try {
|
||||
this.digitalWindow.webContents.send('display', { src });
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,6BAA8B;AAE9B,+BAAgC;AAChC,+BAAgC;AAEhC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE9C,IAAI,EAAQ,CAAC;AACb,IAAI,EAAQ,CAAC;AACb,IAAI,MAAM,GAAS,EAAE,CAAC;AAEtB,IAAI,MAAY,CAAC;AAEjB,MAAM,OAAO;IAIZ;QADO,YAAO,GAAa,KAAK,CAAC;QAEhC,IAAI,CAAC,aAAa,GAAG,IAAI,aAAa,CAAC;YACtC,cAAc,EAAE;gBACV,eAAe,EAAE,IAAI;gBACrB,2BAA2B,EAAE,KAAK;gBAClC,aAAa,EAAG,KAAK;aACvB;YACJ,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;YACX,QAAQ,EAAG,GAAG;YACd,SAAS,EAAG,GAAG,CAAA,GAAG;YAClB,2DAA2D;SAC3D,CAAC,CAAC;QACH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,GAAG,uBAAuB,CAAC,CAAC;QAC5E,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CA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IAAI,CAAC,MAAM,EAAE,UAAU,MAAM,IAAI,GAAG,EAAE,CAAC,CAAC;IAEvD,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK,EAAE;QAC9B,MAAM,IAAI,EAAE,CAAA;QACZ,UAAU,CAAC,OAAO,CAAC,CAAC;KACpB;SAAM;QACN,MAAM,WAAW,CAAC,OAAO,CAAC,CAAC;KAC3B;AACF,CAAC;AAED,KAAK,UAAU,IAAI;IAClB,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK,EAAE;QAC9B,IAAI,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE;YAChB,EAAE,GAAG,IAAI,OAAO,EAAE,CAAC;YACnB,MAAM,EAAE,CAAC,KAAK,EAAE,CAAA;SACnB;KACJ;SAAM;QACN,EAAE;KACF;AACF,CAAC;AAED,KAAK,UAAU,KAAK;IACnB,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK,EAAE;QAC9B,EAAE,CAAC,KAAK,EAAE,CAAA;KACV;SAAM;QACN,IAAI,EAAE;YAAE,EAAE,CAAC,IAAI,EAAE,CAAC;KAClB;AACF,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,UAAU,GAAS;IACnC,MAAM,GAAG,GAAG,CAAC;IACb,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAEhD,OAAO;QACN,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,KAAK;KACL,CAAA;AACF,CAAC,CAAA"}
|
|
@ -10,6 +10,7 @@ let system = {};
|
|||
let TMPDIR;
|
||||
class WebView {
|
||||
constructor() {
|
||||
this.opened = false;
|
||||
this.showing = false;
|
||||
this.digitalWindow = new BrowserWindow({
|
||||
webPreferences: {
|
||||
|
@ -47,8 +48,6 @@ class WebView {
|
|||
await this.digitalWindow.maximize();
|
||||
}
|
||||
setImage(src) {
|
||||
console.log(src);
|
||||
//console.dir(digitalWindow)
|
||||
try {
|
||||
this.digitalWindow.webContents.send('display', { src });
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,6BAA8B;AAE9B,+BAAgC;AAChC,+BAAgC;AAEhC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE9C,IAAI,EAAQ,CAAC;AACb,IAAI,EAAQ,CAAC;AACb,IAAI,MAAM,GAAS,EAAE,CAAC;AAEtB,IAAI,MAAY,CAAC;AAEjB,MAAM,OAAO;IAIZ;QADO,YAAO,GAAa,KAAK,CAAC;QAEhC,IAAI,CAAC,aAAa,GAAG,IAAI,aAAa,CAAC;YACtC,cAAc,EAAE;gBACV,eAAe,EAAE,IAAI;gBACrB,2BAA2B,EAAE,KAAK;gBAClC,aAAa,EAAG,KAAK;aACvB;YACJ,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,GAAG;YACX,QAAQ,EAAG,GAAG;YACd,SAAS,EAAG,GAAG,CAAA,GAAG;YAClB,2DAA2D;SAC3D,CAAC,CAAC;QACH,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,GAAG,uBAAuB,CAAC,CAAC;QAC5E,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE;YAC9E,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,YAAY,EAAE,CAAC;SAC9C;QACD,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;YACpC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAA;QAC1B,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;IACD,KAAK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AAC,EAAE,CAAC,MAAM,EAAE;YAChB,EAAE,GAAG,IAAI,OAAO,EAAE,CAAC;YACnB,MAAM,EAAE,CAAC,KAAK,EAAE,CAAA;SACnB;KACJ;SAAM;QACN,EAAE;KACF;AACF,CAAC;AAED,KAAK,UAAU,KAAK;IACnB,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK,EAAE;QAC9B,EAAE,CAAC,KAAK,EAAE,CAAA;KACV;SAAM;QACN,IAAI,EAAE;YAAE,EAAE,CAAC,IAAI,EAAE,CAAC;KAClB;AACF,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,UAAU,GAAS;IACnC,MAAM,GAAG,GAAG,CAAC;IACb,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAEhD,OAAO;QACN,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,KAAK;KACL,CAAA;AACF,CAAC,CAAA"}
|
|
@ -10,6 +10,7 @@ let system = {};
|
|||
let TMPDIR;
|
||||
class WebView {
|
||||
constructor() {
|
||||
this.opened = false;
|
||||
this.showing = false;
|
||||
this.digitalWindow = new BrowserWindow({
|
||||
webPreferences: {
|
||||
|
@ -47,8 +48,6 @@ class WebView {
|
|||
await this.digitalWindow.maximize();
|
||||
}
|
||||
setImage(src) {
|
||||
console.log(src);
|
||||
//console.dir(digitalWindow)
|
||||
try {
|
||||
this.digitalWindow.webContents.send('display', { src });
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/display/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,6BAA8B;AAE9B,+BAAgC;AAChC,+BAAgC;AAEhC,MAAM,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE9C,IAAI,EAAQ,CAAC;AACb,IAAI,EAAQ,CAAC;AACb,IAAI,MAAM,GAAS,EAAE,CAAC;AAEtB,IAAI,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