|
25 | 25 | import com.duy.pascal.backend.runtime_exception.WrongArgsException;
|
26 | 26 | import com.duy.pascal.frontend.activities.ExecHandler;
|
27 | 27 | import com.duy.pascal.frontend.view.exec_screen.console.ConsoleCursor;
|
28 |
| -import com.duy.pascal.frontend.view.exec_screen.console.ConsoleView; |
29 | 28 | import com.duy.pascal.frontend.view.exec_screen.console.TextRenderer;
|
30 | 29 |
|
31 | 30 | import java.util.Map;
|
@@ -277,32 +276,4 @@ public void textMode(int mode) {
|
277 | 276 | // TODO: 24-May-17
|
278 | 277 | }
|
279 | 278 |
|
280 |
| - |
281 |
| - @PascalMethod(description = "By enabling flag (setting it to true), every graph's " + |
282 |
| - "drawing routines don't go directly to the screen, but goes to screen buffer instead. After " + |
283 |
| - "all the drawing of each \"frame\" has been done, we simply call the RedrawScreen() procedure " + |
284 |
| - "to copy the screen buffer content into the screen.") |
285 |
| - public void setBufferEnable(boolean enable) { |
286 |
| - ConsoleView consoleView = handler.getConsoleView(); |
287 |
| - if (consoleView != null) { |
288 |
| - consoleView.getGraphScreen().setBufferEnable(enable); |
289 |
| - } |
290 |
| - } |
291 |
| - |
292 |
| - @PascalMethod(description = "draw screen") |
293 |
| - public void drawBuffer() { |
294 |
| - ConsoleView consoleView = handler.getConsoleView(); |
295 |
| - if (consoleView != null) { |
296 |
| - consoleView.getGraphScreen().bufferToPrimary(); |
297 |
| - consoleView.postInvalidate(); |
298 |
| - } |
299 |
| - } |
300 |
| - |
301 |
| - @PascalMethod(description = "draw screen") |
302 |
| - public void clearBuffer() { |
303 |
| - ConsoleView consoleView = handler.getConsoleView(); |
304 |
| - if (consoleView != null) { |
305 |
| - consoleView.getGraphScreen().clearBufferBitmap(); |
306 |
| - } |
307 |
| - } |
308 | 279 | }
|
0 commit comments