mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +00:00
FontEditor: Support flipping and rotating
This is especially useful for highly symmetric scripts like this: https://www.unicode.org/charts/PDF/U1400.pdf
This commit is contained in:
parent
1dfb3ff4eb
commit
7180813cd4
4 changed files with 138 additions and 2 deletions
|
@ -58,9 +58,37 @@
|
|||
checkable: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
@GUI::Widget {
|
||||
shrink_to_fit: true
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "flip_vertical"
|
||||
fixed_width: 22
|
||||
tooltip: "Flip vertically (top to bottom)"
|
||||
button_style: "Coolbar"
|
||||
focus_policy: "TabFocus"
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "flip_horizontal"
|
||||
fixed_width: 22
|
||||
tooltip: "Flip horizontally (left to right)"
|
||||
button_style: "Coolbar"
|
||||
focus_policy: "TabFocus"
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
name: "rotate_90"
|
||||
fixed_width: 22
|
||||
tooltip: "Rotate 90° clockwise"
|
||||
button_style: "Coolbar"
|
||||
focus_policy: "TabFocus"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue