+ Label lblExcludedLibraries { this, position = { 8, 152 }, labeledWindow = excludedLibraries };
+ StringListBox excludedLibraries
+ {
+ this, text = $"Libraries to exclude:", hotKey = altX;
+ position = { 148, 152 }, size = { 300 };
+
+ bool NotifyModified(EditBox editBox)
+ {
+ if(loadedCompiler)
+ {
+ CompilerConfig compiler = loadedCompiler;
+ compiler.excludeLibs = ((StringListBox)editBox).strings;
+ modifiedDocument = true;
+ compilersTab.modifiedDocument = true;
+ }
+ return true;
+ }
+ }
+
+ Label lblPrepDefs { this, position = { 8, 180 }, labeledWindow = prepDefs };
+ StringListBox prepDefs
+ {
+ this, text = $"Preprocessor directives:", hotKey = altP;
+ position = { 148, 180 }, size = { 300 };
+
+ bool NotifyModified(EditBox editBox)
+ {
+ if(loadedCompiler)
+ {
+ CompilerConfig compiler = loadedCompiler;
+ compiler.prepDirectives = ((StringListBox)editBox).strings;
+ modifiedDocument = true;
+ compilersTab.modifiedDocument = true;
+ }
+ return true;
+ }
+ }
+