egui: add integration
This commit is contained in:
parent
85b9b7222d
commit
008e8a671a
49 changed files with 4110 additions and 149 deletions
|
|
@ -1081,6 +1081,10 @@
|
|||
"fallback-output-mode": {
|
||||
"description": "Sets the fallback output mode.\n\nThe default is `cursor`.\n\n- Example:\n\n ```toml\n fallback-output-mode = \"focus\"\n ```\n",
|
||||
"$ref": "#/$defs/FallbackOutputMode"
|
||||
},
|
||||
"egui": {
|
||||
"description": "Sets the egui settings of the compositor.\n",
|
||||
"$ref": "#/$defs/Egui"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
@ -1237,6 +1241,29 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"Egui": {
|
||||
"description": "The egui settings.\n",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"proportional-fonts": {
|
||||
"type": "array",
|
||||
"description": "The list of proportional fonts.\n\nThe default is `[\"sans-serif\", \"Noto Sans\", \"Noto Color Emoji\"]`.\n",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"monospace-fonts": {
|
||||
"type": "array",
|
||||
"description": "The list of monospace fonts.\n\nThe default is `[\"monospace\", \"Noto Sans Mono\", \"Noto Color Emoji\"]`.\n",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
},
|
||||
"Eotf": {
|
||||
"type": "string",
|
||||
"description": "The EOTF of an output.\n",
|
||||
|
|
|
|||
|
|
@ -2248,6 +2248,12 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a [FallbackOutputMode](#types-FallbackOutputMode).
|
||||
|
||||
- `egui` (optional):
|
||||
|
||||
Sets the egui settings of the compositor.
|
||||
|
||||
The value of this field should be a [Egui](#types-Egui).
|
||||
|
||||
|
||||
<a name="types-Connector"></a>
|
||||
### `Connector`
|
||||
|
|
@ -2588,6 +2594,32 @@ The table has the following fields:
|
|||
The numbers should be integers.
|
||||
|
||||
|
||||
<a name="types-Egui"></a>
|
||||
### `Egui`
|
||||
|
||||
The egui settings.
|
||||
|
||||
Values of this type should be tables.
|
||||
|
||||
The table has the following fields:
|
||||
|
||||
- `proportional-fonts` (optional):
|
||||
|
||||
The list of proportional fonts.
|
||||
|
||||
The default is `["sans-serif", "Noto Sans", "Noto Color Emoji"]`.
|
||||
|
||||
The value of this field should be an array of strings.
|
||||
|
||||
- `monospace-fonts` (optional):
|
||||
|
||||
The list of monospace fonts.
|
||||
|
||||
The default is `["monospace", "Noto Sans Mono", "Noto Color Emoji"]`.
|
||||
|
||||
The value of this field should be an array of strings.
|
||||
|
||||
|
||||
<a name="types-Eotf"></a>
|
||||
### `Eotf`
|
||||
|
||||
|
|
|
|||
|
|
@ -3004,6 +3004,11 @@ Config:
|
|||
```toml
|
||||
fallback-output-mode = "focus"
|
||||
```
|
||||
egui:
|
||||
ref: Egui
|
||||
required: false
|
||||
description: |
|
||||
Sets the egui settings of the compositor.
|
||||
|
||||
|
||||
Idle:
|
||||
|
|
@ -4426,3 +4431,28 @@ FallbackOutputMode:
|
|||
description: Use the output the cursor is on.
|
||||
- value: focus
|
||||
description: Use the output the focus is on (highlighted window).
|
||||
|
||||
|
||||
Egui:
|
||||
kind: table
|
||||
description: |
|
||||
The egui settings.
|
||||
fields:
|
||||
proportional-fonts:
|
||||
kind: array
|
||||
items:
|
||||
kind: string
|
||||
required: false
|
||||
description: |
|
||||
The list of proportional fonts.
|
||||
|
||||
The default is `["sans-serif", "Noto Sans", "Noto Color Emoji"]`.
|
||||
monospace-fonts:
|
||||
kind: array
|
||||
items:
|
||||
kind: string
|
||||
required: false
|
||||
description: |
|
||||
The list of monospace fonts.
|
||||
|
||||
The default is `["monospace", "Noto Sans Mono", "Noto Color Emoji"]`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue