Header include cleanups
This commit is contained in:
parent
fe02db911d
commit
9e6cd04df4
|
@ -25,7 +25,7 @@
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
#include <retro_miscellaneous.h>
|
#include <retro_miscellaneous.h>
|
||||||
|
|
||||||
#include "gfx/video_driver.h"
|
#include "gfx/video_defines.h"
|
||||||
#include "input/input_defines.h"
|
#include "input/input_defines.h"
|
||||||
#include "led/led_defines.h"
|
#include "led/led_defines.h"
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,16 @@ enum text_alignment
|
||||||
#define FONT_COLOR_GET_ALPHA(col) (((col) >> 0) & 0xff)
|
#define FONT_COLOR_GET_ALPHA(col) (((col) >> 0) & 0xff)
|
||||||
#define FONT_COLOR_ARGB_TO_RGBA(col) ( (((col) >> 24) & 0xff) | (((unsigned)(col) << 8) & 0xffffff00) )
|
#define FONT_COLOR_ARGB_TO_RGBA(col) ( (((col) >> 24) & 0xff) | (((unsigned)(col) << 8) & 0xffffff00) )
|
||||||
|
|
||||||
|
typedef struct video_viewport
|
||||||
|
{
|
||||||
|
int x;
|
||||||
|
int y;
|
||||||
|
unsigned width;
|
||||||
|
unsigned height;
|
||||||
|
unsigned full_width;
|
||||||
|
unsigned full_height;
|
||||||
|
} video_viewport_t;
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -681,16 +681,6 @@ typedef struct gfx_ctx_ident
|
||||||
const char *ident;
|
const char *ident;
|
||||||
} gfx_ctx_ident_t;
|
} gfx_ctx_ident_t;
|
||||||
|
|
||||||
typedef struct video_viewport
|
|
||||||
{
|
|
||||||
int x;
|
|
||||||
int y;
|
|
||||||
unsigned width;
|
|
||||||
unsigned height;
|
|
||||||
unsigned full_width;
|
|
||||||
unsigned full_height;
|
|
||||||
} video_viewport_t;
|
|
||||||
|
|
||||||
struct aspect_ratio_elem
|
struct aspect_ratio_elem
|
||||||
{
|
{
|
||||||
char name[64];
|
char name[64];
|
||||||
|
|
Loading…
Reference in New Issue