public QuiltApplication(Platform platform, QuiltContext pContext) : base(platform) { /* * if (DateTime.Now > new DateTime(2021, 05, 28)) * { * ErrorReporter.showMessage_OK("Contact [email protected]", "Build expired!"); * Quit(); * } */ quiltContext = pContext; }
void pInit(ref QuiltContext context) { quiltContext = context; availableShapes = new List <string>() { "(None)", "Rectangle/Square", "L-shape", "T-shape", "X-shape", "U-shape", "S-shape", "Text", "Bounding", "Layout" }; availableSubShapePositions = new List <string>() { "Corner: Top Left", "Corner: Top Right", "Corner: Bottom Left", "Corner: Bottom Right", "Middle: Top Side", "Middle: Right Side", "Middle: Bottom Side", "Middle: Left Side", "Center" }; colors = new Colors(); setColors(quiltContext.colors); openGLModeList = new List <string>() { "VBO", "Immediate" }; subshapes = new ObservableCollection <string>() { "1" }; minHLRefSubShapeList = new ObservableCollection <string>() { "1" }; minHLRefSubShape2List = new ObservableCollection <string>() { "1" }; minHLRefSubShape3List = new ObservableCollection <string>() { "1" }; minVLRefSubShapeList = new ObservableCollection <string>() { "1" }; minVLRefSubShape2List = new ObservableCollection <string>() { "1" }; minVLRefSubShape3List = new ObservableCollection <string>() { "1" }; minHORefSubShapeList = new ObservableCollection <string>() { "1" }; minHORefSubShape2List = new ObservableCollection <string>() { "1" }; minHORefSubShape3List = new ObservableCollection <string>() { "1" }; minVORefSubShapeList = new ObservableCollection <string>() { "1" }; minVORefSubShape2List = new ObservableCollection <string>() { "1" }; minVORefSubShape3List = new ObservableCollection <string>() { "1" }; minHLIncRefSubShapeList = new ObservableCollection <string>() { "1" }; minHLIncRefSubShape2List = new ObservableCollection <string>() { "1" }; minHLIncRefSubShape3List = new ObservableCollection <string>() { "1" }; minVLIncRefSubShapeList = new ObservableCollection <string>() { "1" }; minVLIncRefSubShape2List = new ObservableCollection <string>() { "1" }; minVLIncRefSubShape3List = new ObservableCollection <string>() { "1" }; minHOIncRefSubShapeList = new ObservableCollection <string>() { "1" }; minHOIncRefSubShape2List = new ObservableCollection <string>() { "1" }; minHOIncRefSubShape3List = new ObservableCollection <string>() { "1" }; minVOIncRefSubShapeList = new ObservableCollection <string>() { "1" }; minVOIncRefSubShape2List = new ObservableCollection <string>() { "1" }; minVOIncRefSubShape3List = new ObservableCollection <string>() { "1" }; minHLStepsRefSubShapeList = new ObservableCollection <string>() { "1" }; minHLStepsRefSubShape2List = new ObservableCollection <string>() { "1" }; minHLStepsRefSubShape3List = new ObservableCollection <string>() { "1" }; minVLStepsRefSubShapeList = new ObservableCollection <string>() { "1" }; minVLStepsRefSubShape2List = new ObservableCollection <string>() { "1" }; minVLStepsRefSubShape3List = new ObservableCollection <string>() { "1" }; minHOStepsRefSubShapeList = new ObservableCollection <string>() { "1" }; minHOStepsRefSubShape2List = new ObservableCollection <string>() { "1" }; minHOStepsRefSubShape3List = new ObservableCollection <string>() { "1" }; minVOStepsRefSubShapeList = new ObservableCollection <string>() { "1" }; minVOStepsRefSubShape2List = new ObservableCollection <string>() { "1" }; minVOStepsRefSubShape3List = new ObservableCollection <string>() { "1" }; xPosRefSubShapeList = new ObservableCollection <string>() { "1" }; yPosRefSubShapeList = new ObservableCollection <string>() { "1" }; stitcher = new Stitcher(ref quiltContext); titleText += " (" + quiltContext.licenceName + ")"; storage = new Storage(); gCH = new GeoCoreHandler(); structureList_exp = gCH.getGeo().structureList_; reset(); }
private Pattern(Pattern source) { quiltContext = source.quiltContext; pInit(source.patternElements); }
public CommonVars(ref QuiltContext context) { pInit(ref context); }
public Pattern(ref QuiltContext context, List<PatternElement> p) { quiltContext = context; pInit(p); }