public ArcAction(string name, ArcConfig inArcConf, int inButNr, RGB inPrevCol) : base(name) { type = ArcActType.clearArcBut; arcConf = inArcConf; butNr = inButNr; prevCol = inPrevCol; }
public ArcAction(string name, ArcActType inType, ArcConfig inArcConf, int inPrevInt, int inNewInt) : base(name) { type = inType; arcConf = inArcConf; prevInt = inPrevInt; newInt = inNewInt; }
public ArcAction(string name, ArcActType inType, ArcConfig inArcConf, float inPrevFloat, float inNewFloat) : base(name) { type = inType; arcConf = inArcConf; prevFloat = inPrevFloat; newFloat = inNewFloat; }
private void SetOptionalFieldsToDefaultVal(StreamingContext sc) { logger.ConditionalDebug("SetOptionalFieldsToDefaultVal"); SetConfigName(DefaultConfigName); _duoConf = null; isSubConfig = false; subConfNr = 0; _arcConf = new ArcConfig(); _ponctConf = new PonctConfig(); }
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; }
// ---------------------------------------------- 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(); }