this code snippets work and the buttons are red and green.


            part {
                name,   "button_exit";
                type,   RECT;
                mouse_events, 1;
                description {
                    color: 255 0 0 255;
                    state, "default" 0.0;
                    rel1 {
                        relative, 0.66 0.85;
                    }
                    rel2 {
                        relative, 1.00 1;
                    }
                }
            }


            part {
                name,   "button_call";
                type,   RECT;
                mouse_events, 1;
                description {
                    state, "default" 0.0;
                    color, 0 255 0 255;
                    rel1 {
                        relative, 0.00 0.85;
                    }
                    rel2 {
                        relative, 0.33 1;
                    }
                }
            }

-- 
Mit freundlichen GrĂ¼ssen
Matthias Huber 
Kohlstattstr. 14
86459 Wollishausen
Tel: 08238-7998
LPI000181125


_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to