@vived/app 4.35.0 → 4.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,4 +7,7 @@ export declare const LOWER_LETTERBOX_FRAMED_CONTAINER_ID = "lowerLetterBox";
|
|
|
7
7
|
export declare const UPPER_LETTERBOX_FRAMED_CONTAINER_ID = "upperLetterBox";
|
|
8
8
|
export declare const LEFT_LETTERBOX_FRAMED_CONTAINER_ID = "leftLetterBox";
|
|
9
9
|
export declare const RIGHT_LETTERBOX_FRAMED_CONTAINER_ID = "rightLetterBox";
|
|
10
|
-
export
|
|
10
|
+
export interface StandardFramedScreenOptions {
|
|
11
|
+
dontSetupLayoutHook?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function setupStandardFramedScreen(appObjects: AppObjectRepo, options?: StandardFramedScreenOptions): AppObject;
|
|
@@ -14,7 +14,7 @@ exports.LOWER_LETTERBOX_FRAMED_CONTAINER_ID = "lowerLetterBox";
|
|
|
14
14
|
exports.UPPER_LETTERBOX_FRAMED_CONTAINER_ID = "upperLetterBox";
|
|
15
15
|
exports.LEFT_LETTERBOX_FRAMED_CONTAINER_ID = "leftLetterBox";
|
|
16
16
|
exports.RIGHT_LETTERBOX_FRAMED_CONTAINER_ID = "rightLetterBox";
|
|
17
|
-
function setupStandardFramedScreen(appObjects) {
|
|
17
|
+
function setupStandardFramedScreen(appObjects, options) {
|
|
18
18
|
const frameScreenAO = appObjects.getOrCreate("FramedScreen");
|
|
19
19
|
const framedScreen = Entities_1.makeFramedScreen(frameScreenAO);
|
|
20
20
|
PM_1.makeFramedScreenSizePM(frameScreenAO);
|
|
@@ -28,7 +28,9 @@ function setupStandardFramedScreen(appObjects) {
|
|
|
28
28
|
makeContainer(exports.RIGHT_LETTERBOX_FRAMED_CONTAINER_ID, framedScreen, appObjects);
|
|
29
29
|
new UpdateTouchInputBound_1.UpdateTouchInputBoundUC(canvas.appObject);
|
|
30
30
|
EmulateDisplaySizeHook_1.makeEmulateDisplaySizeHook(canvas.appObject);
|
|
31
|
-
|
|
31
|
+
if ((options === null || options === void 0 ? void 0 : options.dontSetupLayoutHook) !== true) {
|
|
32
|
+
new UCs_1.StandardLayoutUC(frameScreenAO);
|
|
33
|
+
}
|
|
32
34
|
return frameScreenAO;
|
|
33
35
|
}
|
|
34
36
|
exports.setupStandardFramedScreen = setupStandardFramedScreen;
|