Пример #1
0
    // Mood color changer
    private void OnColorChanged(object sender, EventArgs a)
    {
        int module = (int)spinmood1.Value - 1;

        Gdk.Color foo = ledfoo1.CurrentColor;
        mood.SetMood(module, foo.Red / 256, foo.Green / 256, foo.Blue / 256, 0x00);
    }