1
Fork 0
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:
thankyouverycool 2022-08-14 13:03:38 -04:00 committed by Andreas Kling
parent fb00d3ed25
commit d867871bda
3 changed files with 8 additions and 12 deletions

View file

@ -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();