Reorder structs, alignment
This commit is contained in:
parent
3a21a6e134
commit
4f991ab640
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue