2023-09-12 14:22:21 -04:00
|
|
|
const { Window, CenterBox, Box, Label } = ags.Widget;
|
|
|
|
|
|
|
|
import { ButtonGrid } from './button-grid.js';
|
2023-09-12 15:27:39 -04:00
|
|
|
import { SliderBox } from './slider-box.js';
|
2023-09-12 14:22:21 -04:00
|
|
|
//import { Player } from
|
|
|
|
|
|
|
|
export const QuickSettings = Window({
|
|
|
|
name: 'quick-settings',
|
|
|
|
layer: 'overlay',
|
2023-09-12 15:27:39 -04:00
|
|
|
popup: true,
|
2023-09-12 14:22:21 -04:00
|
|
|
anchor: 'top right',
|
2023-09-12 23:53:48 -04:00
|
|
|
margin: [ 8, 5, 0, ],
|
2023-09-12 14:22:21 -04:00
|
|
|
child: Box({
|
|
|
|
className: 'qs-container',
|
|
|
|
vertical: true,
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Box({
|
|
|
|
className: 'quick-settings',
|
|
|
|
vertical: true,
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Label({
|
|
|
|
label: 'Control Center',
|
|
|
|
className: 'title',
|
2023-09-12 15:27:39 -04:00
|
|
|
halign: 'start',
|
|
|
|
style: 'margin-left: 20px'
|
2023-09-12 14:22:21 -04:00
|
|
|
}),
|
|
|
|
|
|
|
|
ButtonGrid,
|
|
|
|
|
2023-09-12 15:27:39 -04:00
|
|
|
SliderBox,
|
2023-09-12 14:22:21 -04:00
|
|
|
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
|
|
|
|
//Player,
|
|
|
|
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
});
|