| 686 | |
| 687 | |
| 688 | bool LuaHandle::UnicodeText(bool taken, uint32_t unicode) { |
| 689 | LUA_CALL_IN_CHECK(L, 2) |
| 690 | if (!PushCallIn(LUA_CI_UnicodeText)) { |
| 691 | return false; // the call is not defined, do not take the event |
| 692 | } |
| 693 | |
| 694 | lua_pushboolean(L, taken); |
| 695 | |
| 696 | lua_pushinteger(L, unicode); |
| 697 | |
| 698 | if (!RunCallIn(LUA_CI_UnicodeText, 2, 1)) { |
| 699 | return false; |
| 700 | } |
| 701 | |
| 702 | return PopBool(L, false); |
| 703 | } |
| 704 | |
| 705 | |
| 706 | bool LuaHandle::MousePress(bool taken, int x, int y, int button) { |
no test coverage detected