mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
FontEditor: Standardize Gfx::RotationDirections for rotate_90()
This commit is contained in:
parent
fb00d3ed25
commit
d867871bda
3 changed files with 8 additions and 12 deletions
|
@ -21,18 +21,13 @@ public:
|
|||
Move
|
||||
};
|
||||
|
||||
enum Direction {
|
||||
Clockwise,
|
||||
Counterclockwise
|
||||
};
|
||||
|
||||
virtual ~GlyphEditorWidget() override = default;
|
||||
|
||||
int glyph() const { return m_glyph; }
|
||||
void set_glyph(int);
|
||||
bool is_glyph_empty();
|
||||
|
||||
void rotate_90(Direction);
|
||||
void rotate_90(Gfx::RotationDirection);
|
||||
void flip_vertically();
|
||||
void flip_horizontally();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue