[gnome-tetravex/arnaudb/wip/gtk4: 6/21] Looks like queue_draw_area is gone.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/wip/gtk4: 6/21] Looks like queue_draw_area is gone.
- Date: Fri, 27 Mar 2020 16:52:30 +0000 (UTC)
commit 1501b79803c2a2e3f40867c6cc5b5f6c5b224795
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Feb 21 03:49:58 2020 +0100
Looks like queue_draw_area is gone.
src/puzzle-view.vala | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 1352b06..b66ebea 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -209,18 +209,20 @@ private class PuzzleView : Gtk.DrawingArea
private void redraw_tile (TileImage image)
{
- queue_draw_area ((int) image.x - theme.overdraw_left,
- (int) image.y - theme.overdraw_top,
- (int) tilesize + theme.overdraw_left + theme.overdraw_right,
- (int) tilesize + theme.overdraw_top + theme.overdraw_bottom);
+ queue_draw ();
+// queue_draw_area ((int) image.x - theme.overdraw_left,
+// (int) image.y - theme.overdraw_top,
+// (int) tilesize + theme.overdraw_left + theme.overdraw_right,
+// (int) tilesize + theme.overdraw_top + theme.overdraw_bottom);
}
private void queue_draw_tile (uint8 x, uint8 y)
{
- queue_draw_area ((int) sockets_xs [x, y] - theme.overdraw_left,
- (int) sockets_ys [x, y] - theme.overdraw_top,
- (int) tilesize + theme.overdraw_left + theme.overdraw_right,
- (int) tilesize + theme.overdraw_top + theme.overdraw_bottom);
+ queue_draw ();
+// queue_draw_area ((int) sockets_xs [x, y] - theme.overdraw_left,
+// (int) sockets_ys [x, y] - theme.overdraw_top,
+// (int) tilesize + theme.overdraw_left + theme.overdraw_right,
+// (int) tilesize + theme.overdraw_top + theme.overdraw_bottom);
}
private void move_tile_to_location (TileImage image, uint x, uint y, double duration = 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]