Example #1
0
 public ArcAction(string name, ArcConfig inArcConf, int inButNr, RGB inPrevCol)
     : base(name)
 {
     type    = ArcActType.clearArcBut;
     arcConf = inArcConf;
     butNr   = inButNr;
     prevCol = inPrevCol;
 }
Example #2
0
 public ArcAction(string name, ArcActType inType, ArcConfig inArcConf, int inPrevInt,
                  int inNewInt)
     : base(name)
 {
     type    = inType;
     arcConf = inArcConf;
     prevInt = inPrevInt;
     newInt  = inNewInt;
 }
Example #3
0
 public ArcAction(string name, ArcActType inType, ArcConfig inArcConf, float inPrevFloat,
                  float inNewFloat)
     : base(name)
 {
     type      = inType;
     arcConf   = inArcConf;
     prevFloat = inPrevFloat;
     newFloat  = inNewFloat;
 }
Example #4
0
 private void SetOptionalFieldsToDefaultVal(StreamingContext sc)
 {
     logger.ConditionalDebug("SetOptionalFieldsToDefaultVal");
     SetConfigName(DefaultConfigName);
     _duoConf    = null;
     isSubConfig = false;
     subConfNr   = 0;
     _arcConf    = new ArcConfig();
     _ponctConf  = new PonctConfig();
 }
Example #5
0
 public ArcAction(string name, ArcConfig inArcConf, int inButNr, int inNrSetABut,
                  RGB inPrevCol, RGB inNewCol)
     : base(name)
 {
     type                = ArcActType.arcButton;
     arcConf             = inArcConf;
     butNr               = inButNr;
     prevNrSetArcButtons = inNrSetABut;
     prevCol             = inPrevCol;
     newCol              = inNewCol;
 }
Example #6
0
        // ---------------------------------------------- Methods ----------------------------------

        /// <summary>
        /// Crée une config par défaut pour les différents membres.
        /// </summary>
        private void InitCtor()
        {
            logger.ConditionalDebug("InitCtor");
            pBDQ     = new PBDQConfig();
            sylConf  = new SylConfig();
            unsetBeh = new UnsetBehConf();
            colors   = new Dictionary <PhonConfType, ColConfWin>(2);
            colors[PhonConfType.muettes]  = new ColConfWin(PhonConfType.muettes);
            colors[PhonConfType.phonemes] = new ColConfWin(PhonConfType.phonemes);
            _duoConf   = null;
            _arcConf   = new ArcConfig();
            _ponctConf = new PonctConfig();
        }