45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
import { Metrics, DarkPalette } from "theme.slint";
|
|
import { VerticalBox, HorizontalBox } from "widgets/components.slint";
|
|
|
|
import { EditorBar } from "editor_bar.slint";
|
|
import { StatusBar } from "status_bar.slint";
|
|
import { ToolBar } from "tool_bar.slint";
|
|
import { ObjectToolPanel } from "object_tool_panel.slint";
|
|
|
|
export component AppWindow inherits Window {
|
|
title: @tr("FM Editor");
|
|
preferred-width: 1280px;
|
|
preferred-height: 720px;
|
|
VerticalBox {
|
|
p-rounding: 0px;
|
|
p-padding: Metrics.padding-sm;
|
|
p-spacing: Metrics.spacing-sm;
|
|
p-elevation: 0;
|
|
EditorBar { }
|
|
|
|
HorizontalBox {
|
|
p-elevation: 0;
|
|
p-padding: 0px;
|
|
p-spacing: Metrics.spacing-sm;
|
|
|
|
ToolBar { }
|
|
|
|
ObjectToolPanel { }
|
|
|
|
Rectangle {
|
|
Text {
|
|
color: DarkPalette.text[4];
|
|
font-size: Metrics.font-lg;
|
|
text: "INSERT VIEWPORT HERE";
|
|
vertical-alignment: center;
|
|
horizontal-alignment: center;
|
|
}
|
|
}
|
|
|
|
ObjectToolPanel { }
|
|
}
|
|
|
|
StatusBar { }
|
|
}
|
|
}
|