mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
PixelPaint: Convert main UI to GML :^)
This commit is contained in:
parent
afc3ed228d
commit
8c044d4f52
10 changed files with 101 additions and 38 deletions
52
Userland/Applications/PixelPaint/PixelPaintWindow.gml
Normal file
52
Userland/Applications/PixelPaint/PixelPaintWindow.gml
Normal file
|
@ -0,0 +1,52 @@
|
|||
@GUI::Widget {
|
||||
name: "main"
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
spacing: 2
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 0
|
||||
}
|
||||
|
||||
@PixelPaint::ToolboxWidget {
|
||||
name: "toolbox"
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
spacing: 0
|
||||
}
|
||||
|
||||
@PixelPaint::ImageEditor {
|
||||
name: "image_editor"
|
||||
}
|
||||
|
||||
@PixelPaint::PaletteWidget {
|
||||
name: "palette_widget"
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
fixed_width: 230
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
|
||||
@PixelPaint::LayerListWidget {
|
||||
name: "layer_list_widget"
|
||||
}
|
||||
|
||||
@PixelPaint::LayerPropertiesWidget {
|
||||
name: "layer_properties_widget"
|
||||
}
|
||||
|
||||
@PixelPaint::ToolPropertiesWidget {
|
||||
name: "tool_properties_widget"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue