mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
Reorder structs/alignment
This commit is contained in:
parent
1d53f3ca29
commit
a9ffc4991b
@ -29,10 +29,10 @@
|
||||
|
||||
typedef struct video_layout_render_info
|
||||
{
|
||||
video_layout_bounds_t bounds;
|
||||
video_layout_orientation_t orientation;
|
||||
video_layout_color_t color;
|
||||
void *video_driver_data;
|
||||
video_layout_bounds_t bounds; /* float alignment */
|
||||
video_layout_color_t color; /* float alignment */
|
||||
video_layout_orientation_t orientation; /* uint8_t alignment */
|
||||
} video_layout_render_info_t;
|
||||
|
||||
typedef enum video_layout_led
|
||||
|
@ -18,7 +18,7 @@ typedef struct c_attr_image
|
||||
typedef struct c_attr_text
|
||||
{
|
||||
char *string;
|
||||
video_layout_text_align_t align;
|
||||
video_layout_text_align_t align; /* enum alignment */
|
||||
} c_attr_text_t;
|
||||
|
||||
typedef struct c_attr_counter
|
||||
|
@ -7,17 +7,15 @@
|
||||
typedef struct element
|
||||
{
|
||||
char *name;
|
||||
component_t *components;
|
||||
int components_count;
|
||||
int state;
|
||||
int o_bind;
|
||||
int i_bind;
|
||||
int i_mask;
|
||||
video_layout_bounds_t bounds; /* float alignment */
|
||||
video_layout_bounds_t render_bounds; /* float alignment */
|
||||
bool i_raw;
|
||||
|
||||
video_layout_bounds_t bounds;
|
||||
video_layout_bounds_t render_bounds;
|
||||
|
||||
component_t *components;
|
||||
int components_count;
|
||||
} element_t;
|
||||
|
||||
void element_init (element_t *elem, const char *name, int components_count);
|
||||
|
@ -10,8 +10,6 @@ typedef struct param param_t;
|
||||
|
||||
typedef struct scope
|
||||
{
|
||||
int level;
|
||||
|
||||
param_t *param;
|
||||
|
||||
element_t *elements;
|
||||
@ -20,6 +18,8 @@ typedef struct scope
|
||||
view_t *groups;
|
||||
int groups_count;
|
||||
|
||||
int level;
|
||||
|
||||
char eval[SCOPE_BUFFER_SIZE];
|
||||
} scope_t;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user