-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInterfaceConfig.gd
More file actions
47 lines (47 loc) · 1.6 KB
/
InterfaceConfig.gd
File metadata and controls
47 lines (47 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
static var config: Dictionary[String, Variant] = {
"scale_factor": 1,
"save_ui_on_quit": true,
"default_ui_panel": UICore,
"window_popup_config": {
UIMainMenu: CoreInterface.PopupConfig.new("UIMainMenu", ""),
UIManifestSelector: CoreInterface.PopupConfig.new("UIManifestSelector"),
UIParameterList: CoreInterface.PopupConfig.new("UIParameterList", "set_fixtures"),
UISaveLoad: CoreInterface.PopupConfig.new("UISaveLoad", ""),
UISettings: CoreInterface.PopupConfig.new("UISettings", ""),
},
"startup_notices": [
StartUpNotice.new()
.set_title("Beta Software Notice!")
.set_title_icon("res://assets/logos/spectrum/dark_scaled/spectrum_dark-64x64.png")
.set_version(Details.version)
.set_bbcode_body(
"""[ul]
Spectrum is currently in [b]active development[/b] and is considered [b]beta software[/b].
Features may change, bugs may exist, and stability is [b]not yet guaranteed[/b].
It is [b]not recommended for mission-critical or production use[/b] at this stage.
[/ul]"""
.replace("\t", ""))
.set_confirm_button_text("Acknowledge")
.set_link_text("Github Issues")
.set_link_url("https://github.com/SpectrumPro/Spectrum/issues")
.set_notice_id("BETANOTICEV1.0.0-beta.3")
],
"command_palette_default_items": [
CommandPaletteEntry.new(
Network.get_settings(),
"Network"
),
CommandPaletteEntry.new(
Interface.get_settings(),
"Interface"
),
CommandPaletteEntry.new(
Popups.get_settings(),
"Popups"
),
CommandPaletteEntry.new(
Network.get_active_handler_by_name("Constellation").get_local_node().get_settings(),
"Constellation"
),
]
}