about summary refs log tree commit diff stats
path: root/app.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-11 23:03:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-11 23:18:26 -0700
commit3850fbac35bb5679ed58753491db4a4cd2267a73 (patch)
treea296ccc5d26f507d38fe4771c453ae4a2ef012c2 /app.lua
parent2e3a85d94be44bfb53554d0e7ba8a36f8e91c605 (diff)
downloadview.love-3850fbac35bb5679ed58753491db4a4cd2267a73.tar.gz
make colors easier to edit
Diffstat (limited to 'app.lua')
-rw-r--r--app.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.lua b/app.lua
index e5be2b0..56b9dba 100644
--- a/app.lua
+++ b/app.lua
@@ -157,6 +157,10 @@ function App.screen.print(msg, x,y)
   end
 end
 
+function App.color(color)
+  love.graphics.setColor(color.r, color.g, color.b, color.a)
+end
+
 App.time = 1
 function App.getTime()
   return App.time
ubx/002test.cc?h=main&id=e11bec57730f5bbcd9d6780c8dec0cbd4153c50f'>^
224474d7 ^


248e789e ^











224474d7 ^
248e789e ^


248e789e ^

248e789e ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86