2016-05-30 03:28:29 +00:00
|
|
|
#include "editor_scale.h"
|
|
|
|
#include "os/os.h"
|
|
|
|
|
2016-06-05 21:43:45 +00:00
|
|
|
static bool editor_hidpi=false;
|
|
|
|
|
|
|
|
void editor_set_hidpi(bool p_hidpi) {
|
|
|
|
|
|
|
|
editor_hidpi=p_hidpi;
|
|
|
|
}
|
|
|
|
|
2016-05-30 03:28:29 +00:00
|
|
|
bool editor_is_hidpi() {
|
|
|
|
|
2016-06-05 21:43:45 +00:00
|
|
|
return editor_hidpi;
|
2016-05-30 03:28:29 +00:00
|
|
|
}
|