[four-in-a-row/arnaudb/wip/gtk4: 67/92] The queue_draw_area methode is gone.




commit 4f934c0912734ce4f8620c94c8c70ed194074ca2
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 19 19:58:06 2020 +0200

    The queue_draw_area methode is gone.

 src/game-board-view.vala | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/game-board-view.vala b/src/game-board-view.vala
index ffa70c3..510f948 100644
--- a/src/game-board-view.vala
+++ b/src/game-board-view.vala
@@ -60,10 +60,11 @@ private class GameBoardView : Gtk.DrawingArea
 
     internal inline void draw_tile (int row, int col)
     {
-        queue_draw_area (/* start */ col * tile_size + board_x,
-                                     row * tile_size + board_y,
-                         /* size  */ tile_size,
-                                     tile_size);
+        queue_draw ();
+//        queue_draw_area (/* start */ col * tile_size + board_x,
+//                                     row * tile_size + board_y,
+//                         /* size  */ tile_size,
+//                                     tile_size);
     }
 
     private inline void on_size_allocate ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]