(Window window)
| 18 | public boolean _wasInside = false; |
| 19 | |
| 20 | public PanelTextInput(Window window) { |
| 21 | super(window); |
| 22 | this.drawBG = false; |
| 23 | window.setTextInputEnabled(true); |
| 24 | window.setTextInputClient(this); |
| 25 | timerTask = new TimerTask() { |
| 26 | public void run() { |
| 27 | cursorDraw = !cursorDraw; |
| 28 | App.runOnUIThread(() -> { if (!window.isClosed()) window.requestFrame(); }); |
| 29 | } |
| 30 | }; |
| 31 | timer.schedule(timerTask, 0, 500); |
| 32 | } |
| 33 | |
| 34 | @Override |
| 35 | public void accept(Event e) { |
nothing calls this directly
no test coverage detected