| 129 | } |
| 130 | |
| 131 | void GUIHolder::draw(SkCanvas* canvas, bool skiaAA) { |
| 132 | if(!gui.io.surface) { |
| 133 | gui.io.surface = main.create_native_surface(main.window.size, true); |
| 134 | gui.io.redrawSurface = true; |
| 135 | } |
| 136 | |
| 137 | gui.draw(canvas, skiaAA); |
| 138 | } |
| 139 | |
| 140 | void GUIHolder::input_paste_callback(const CustomEvents::PasteEvent& paste) { |
| 141 | gui.input_paste_callback(paste); |
nothing calls this directly
no test coverage detected