[gnome-sudoku/arnaudb/wip/gtk4: 8/25] Correct RGBA type.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sudoku/arnaudb/wip/gtk4: 8/25] Correct RGBA type.
- Date: Wed, 22 Apr 2020 15:28:47 +0000 (UTC)
commit 4637565f42f6f35313b59a66b435e1dcc349e308
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Sun Apr 12 14:56:32 2020 +0200
Correct RGBA type.
src/sudoku-view.vala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 5f160c0..5864225 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -460,10 +460,10 @@ private class SudokuCellView : DrawingArea
}
}
-public const RGBA fixed_cell_color = {0.8, 0.8, 0.8, 0};
-public const RGBA free_cell_color = {1.0, 1.0, 1.0, 1.0};
-public const RGBA highlight_color = {0.93, 0.93, 0.93, 0};
-public const RGBA selected_bg_color = {0.7, 0.8, 0.9};
+public const RGBA fixed_cell_color = { 0.8f, 0.8f, 0.8f, 0.0f };
+public const RGBA free_cell_color = { 1.0f, 1.0f, 1.0f, 1.0f };
+public const RGBA highlight_color = { 0.93f, 0.93f, 0.93f, 0.0f };
+public const RGBA selected_bg_color = { 0.7f, 0.8f, 0.9f, 1.0f };
public class SudokuView : AspectFrame
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]