RetroArch/gfx/video_layout/element.h

29 lines
768 B
C
Raw Normal View History

2019-04-01 19:44:11 +00:00
#ifndef VIDEO_LAYOUT_ELEMENT_H
#define VIDEO_LAYOUT_ELEMENT_H
#include "internal.h"
#include "component.h"
typedef struct element
{
char *name;
int state;
int o_bind;
int i_bind;
int i_mask;
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);
void element_copy (element_t *elem, const element_t *src);
void element_deinit (element_t *elem);
void element_apply_orientation (element_t *elem, video_layout_orientation_t orientation);
#endif