project64/Source/Project64-video/ScreenResolution.h

21 lines
621 B
C
Raw Permalink Normal View History

#pragma once
2021-04-12 06:34:26 +00:00
#include <stdint.h>
#ifdef ANDROID
void UpdateScreenResolution(int ScreenWidth, int ScreenHeight);
#else
const char ** getFullScreenResList(int32_t * Size);
uint32_t getFullScreenRes(uint32_t * width, uint32_t * height);
#endif
uint32_t GetScreenResolutionCount();
uint32_t GetDefaultScreenRes();
uint32_t GetScreenResWidth(uint32_t index);
uint32_t GetScreenResHeight(uint32_t index);
const char * GetScreenResolutionName(uint32_t index);
int GetCurrentResIndex(void);
uint32_t GetFullScreenResWidth(uint32_t index);
uint32_t GetFullScreenResHeight(uint32_t index);
bool EnterFullScreen(uint32_t index);