# EDT of 2001: "EDITEUR DE SKINS POUR WinZiK". The pieces of each window, drawn here (Photoshop did it then). form: title: 'EDT V1.00 - Editeur de skins' theme: dark accent: '#00ff00' padding: 8 gap: 6 scroll: false children: - type: row gap: 8 children: - {type: label, text: 'EDITEUR DE SKINS POUR WinZiK', bold: true, color: '#00ff00', wrap: false} - {type: spacer} - {type: label, text: 'Nom du skin :'} - {type: textbox, id: skinName, width: 150, events: {submit: onNameSubmit, change: onNameChange}} - {type: label, text: 'à partir de :'} - {type: combobox, id: source, width: 190, events: {change: onSourceChange}} - type: row gap: 8 grow: 1 items: stretch children: - type: column width: 200 height: fill gap: 4 children: - {type: label, text: Fenêtre, style: muted} - {type: listbox, id: windows, height: 100, events: {change: onWindowsChange}} - {type: label, text: Pièces, style: muted} - {type: listbox, id: parts, height: 120, grow: 1, events: {change: onPartsChange}} - type: column grow: 1 height: fill gap: 4 children: - {class: App\Gui\PixelEditor, id: canvas, height: fill} - {type: label, id: status, text: '', style: small, wrap: false} - type: column width: 290 gap: 6 children: - {class: App\Gui\SkinPreview, id: preview, height: 240} - type: panel title: 'Couleurs du texte (INFO.txt)' gap: 4 children: - {type: combobox, id: colorKey, events: {change: onColorKeyChange}} - type: row gap: 6 children: - {type: textbox, id: colorHex, grow: 1, placeholder: '#rrggbb', events: {submit: onColorApply}} - {type: button, id: colorApply, text: Appliquer, events: {click: onColorApply}} - type: panel title: 'La pièce choisie' gap: 4 children: - {type: button, id: import, text: 'Importer une image…', tooltip: 'Une image de l''ordinateur, mise à la taille de la pièce', events: {click: onImportClick}} - {type: button, id: external, text: 'Ouvrir dans un autre logiciel', tooltip: 'Enregistre, puis ouvre la pièce dans le logiciel de dessin de l''ordinateur', events: {click: onExternalClick}} - {type: button, id: reload, text: 'Recharger le fichier', tooltip: 'Relit la pièce une fois enregistrée par l''autre logiciel', events: {click: onReloadClick}} - {type: label, id: help, text: "Clic sur une pièce dans la fenêtre : la choisir. Molette, + / - : zoom, 0 : toute la pièce. Clic droit : prendre la couleur. Ctrl+Z / Ctrl+Y : annuler / rétablir, Ctrl+S : enregistrer.", style: small} - type: row gap: 12 children: - {type: radio, id: toolCrayon, text: 'Crayon (C)', group: tool, checked: true, events: {change: onToolChange}} - {type: radio, id: toolPot, text: 'Pot de peinture (P)', group: tool, events: {change: onToolChange}} - {type: radio, id: toolPipette, text: 'Pipette (I)', group: tool, events: {change: onToolChange}} - {type: radio, id: toolGomme, text: 'Gomme (E)', group: tool, events: {change: onToolChange}} - {type: radio, id: toolMain, text: 'Main (M)', group: tool, events: {change: onToolChange}} - {type: spacer} - {type: label, text: 'Couleur :', style: muted} - {type: textbox, id: brush, width: 110, placeholder: '#rrggbb', tooltip: '#rrggbb, #rgb ou transparent, puis Entrée', events: {submit: onBrushSubmit}} - {class: App\Gui\Palette, id: palette, height: 24} - type: row gap: 8 children: - {type: button, id: undo, text: Annuler, tooltip: 'Ctrl+Z', events: {click: onUndoClick}} - {type: button, id: redo, text: Rétablir, tooltip: 'Ctrl+Y', events: {click: onRedoClick}} - {type: spacer} - {type: button, id: save, text: Enregistrer, tooltip: 'Ctrl+S', events: {click: onSaveClick}} - {type: button, id: publish, text: 'Partager…', events: {click: onPublishClick}} - {type: button, id: view, text: 'Voir dans WinZik', style: primary, events: {click: onViewClick}} - {type: button, id: quit, text: Fermer, tooltip: 'Échap', cancel: true, events: {click: onQuitClick}}