projects
/
led-pattern-ed
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ca5253
)
Add OFF state to LedColor
author
Philipp Zabel
<philipp.zabel@gmail.com>
Sun, 28 Feb 2010 13:47:31 +0000
(14:47 +0100)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Sun, 28 Feb 2010 13:47:31 +0000
(14:47 +0100)
src/led-color-widgets.vala
patch
|
blob
|
history
diff --git
a/src/led-color-widgets.vala
b/src/led-color-widgets.vala
index
867b3ab
..
e096fec
100644
(file)
--- a/
src/led-color-widgets.vala
+++ b/
src/led-color-widgets.vala
@@
-17,6
+17,7
@@
*/
public enum LedColor {
+ OFF = 0,
R = 1,
G = 2,
B = 4,
@@
-30,7
+31,7
@@
class LedColorWidget : Gtk.DrawingArea {
public LedColor color;
public LedColorWidget () {
- color = LedColor.RGB;
+ color = LedColor.OFF;
}
public LedColorWidget.with_color (LedColor _color) {