display.safeArea is a subset of display.bounds that accounts for notches, holes, or other display cutouts.
21 lines
226 B
C++
21 lines
226 B
C++
#ifndef LIME_SYSTEM_DISPLAY_H
|
|
#define LIME_SYSTEM_DISPLAY_H
|
|
|
|
#include <math/Rectangle.h>
|
|
|
|
namespace lime {
|
|
|
|
|
|
class Display {
|
|
|
|
|
|
public:
|
|
|
|
static void GetSafeAreaInsets (int displayIndex, Rectangle * rect);
|
|
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |