virtualx-engine/tools/editor/editor_scale.h
Juan Linietsky 9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00

8 lines
142 B
C++

#ifndef EDITOR_SCALE_H
#define EDITOR_SCALE_H
bool editor_is_hidpi();
#define EDSCALE (editor_is_hidpi() ? 2 : 1)
#endif // EDITOR_SCALE_H