Echo Writes Code

crucible.kdl

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
// Settings for the application as a whole
application {
  // The human-readable name of the application, used anywhere the application needs to identify
  // itself to the user
  name "Hello World"

  // Settings for desktop platforms, like Windows, macOS, and Linux
  desktop {
    // The main window
    main-window {
      // Whether or not to show window manager decorations, like a resize border or close button
      // (some window managers may not respect this)
      is-decorated #true

      // Whether or not the window is fullscreen
      is-fullscreen #false

      // Whether or not to disable the resize controls and border (if `is-decorated` is `#true`,
      // this will result in grayed-out controls)
      is-resizable #true

      // The desired render target size (also the window size if `is-fullscreen` is `#false`)
      resolution width=1280 height=720

      // Title, which for the main window will be taken from the application name if unset
      title "Hello World"
    }
  }

  // Settings for mobile platforms, like Android and iOS
  mobile {
    // Whether or not to show the status bar and software navigation buttons, if present
    is-decorated #true

    // Whether the application supports re-orienting
    is-reorientable #true

    // Whether to launch in portrait mode or landscape mode
    orientation "portrait"
  }

  // Settings for browser platforms, like Firefox and Chrome
  browser {
    // Selector for what canvas element to take over
    main-canvas "#helloworld"
  }
}