mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space.
--HG-- branch : minor
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
Scancode getScancodeFromKey(Key key) const;
|
||||
|
||||
void setTextInput(bool enable);
|
||||
void setTextInput(bool enable, int x, int y, int w, int h);
|
||||
void setTextInput(bool enable, double x, double y, double w, double h);
|
||||
bool hasTextInput() const;
|
||||
bool hasScreenKeyboard() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user