virtualx-engine/tools/editor/editor_scale.h
Juan Linietsky 684a1207c0 make hdpi manually configurable in project settings
also added hidpi support to project manager
2016-06-05 18:43:56 -03:00

8 lines
178 B
C++

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