diff --git a/gfx/font_driver.h b/gfx/font_driver.h index ef929497d2..ef70de66b4 100644 --- a/gfx/font_driver.h +++ b/gfx/font_driver.h @@ -65,20 +65,24 @@ struct font_atlas struct font_params { + /* Drop shadow offset. + * If both are 0, no drop shadow will be rendered. */ + int drop_x, drop_y; + + /* ABGR. Use the macros. */ + uint32_t color; + float x; float y; float scale; /* Drop shadow color multiplier. */ float drop_mod; - /* Drop shadow offset. - * If both are 0, no drop shadow will be rendered. */ - int drop_x, drop_y; /* Drop shadow alpha */ float drop_alpha; - /* ABGR. Use the macros. */ - uint32_t color; - bool full_screen; + enum text_alignment text_align; + + bool full_screen; }; struct font_line_metrics