1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:47:37 +00:00

FontEditor: Add scaled offset members to GlyphEditor

Previously these were undescriptive globals making them a bit cryptic.
This commit is contained in:
thankyouverycool 2021-11-29 10:22:46 -05:00 committed by Andreas Kling
parent aa09e40eb2
commit 541f1de3a8
2 changed files with 7 additions and 8 deletions

View file

@ -72,7 +72,9 @@ private:
RefPtr<Gfx::BitmapFont> m_font;
int m_glyph { 0 };
int m_scale { 10 };
u8 m_movable_bits[s_max_width * 3][s_max_height * 3] = {};
int m_scaled_offset_x { 0 };
int m_scaled_offset_y { 0 };
u8 m_movable_bits[s_max_width* 3][s_max_height * 3] = {};
Mode m_mode { Paint };
bool m_is_clicking_valid_cell { false };
};