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
commit 541f1de3a8
Notes: sideshowbarker 2024-07-17 23:20:41 +09:00
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 };
};