2019-04-01 19:44:11 +00:00
|
|
|
#ifndef VIDEO_LAYOUT_COMPONENT_ATTR_H
|
|
|
|
#define VIDEO_LAYOUT_COMPONENT_ATTR_H
|
|
|
|
|
|
|
|
typedef struct c_attr_screen
|
|
|
|
{
|
|
|
|
int index;
|
2019-10-13 22:31:44 +00:00
|
|
|
} c_attr_screen_t;
|
2019-04-01 19:44:11 +00:00
|
|
|
|
|
|
|
typedef struct c_attr_image
|
|
|
|
{
|
|
|
|
char *file;
|
|
|
|
char *alpha_file;
|
|
|
|
int image_idx;
|
|
|
|
int alpha_idx;
|
|
|
|
bool loaded;
|
2019-10-13 22:31:44 +00:00
|
|
|
} c_attr_image_t;
|
2019-04-01 19:44:11 +00:00
|
|
|
|
|
|
|
typedef struct c_attr_text
|
|
|
|
{
|
|
|
|
char *string;
|
|
|
|
video_layout_text_align_t align;
|
2019-10-13 22:31:44 +00:00
|
|
|
} c_attr_text_t;
|
2019-04-01 19:44:11 +00:00
|
|
|
|
|
|
|
typedef struct c_attr_counter
|
|
|
|
{
|
|
|
|
int digits;
|
|
|
|
int max_state;
|
|
|
|
video_layout_text_align_t align;
|
2019-10-13 22:31:44 +00:00
|
|
|
} c_attr_counter_t;
|
2019-04-01 19:44:11 +00:00
|
|
|
|
|
|
|
#endif
|