Ejemplo n.º 1
0
        public Macro(DataProfile p, bool global)
        {
            profile = p;

            keySender = KeySender.Instance;

            observer = Observer.Instance;
            observer.Add(this);
            observer.Global(global);

            running = false;
        }
Ejemplo n.º 2
0
        public DataProfile GetProfile()
        {
            DataProfile profile = new DataProfile();

            profile.keys = keys.ToArray();
            profile.values = values.ToArray();
            profile.loop = loop;
            profile.activation = activation;

            profile.groupbox = groupbox;

            profile.DEFAULT_COLOR = defaultColor;
            profile.ACTIVE_COLOR = activeColor;

            return profile;
        }