rob made setContentScaleFactor public

This commit is contained in:
ConfiG 2023-06-12 18:31:34 +03:00
parent f71fcb24f6
commit 48e84e406f
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B

View file

@ -348,13 +348,13 @@ public:
protected:
virtual void mainLoop(void) {}
public:
/** The size in pixels of the surface. It could be different than the screen size.
High-res devices might have a higher surface size than the screen size.
Only available when compiled using SDK >= 4.0.
@since v0.99.4
*/
void setContentScaleFactor(float scaleFactor);
public:
inline float getContentScaleFactor(void) { return m_fContentScaleFactor; }
RT_ADD(