First commit

This commit is contained in:
2025-12-25 11:16:59 +01:00
commit 0c5ca09a63
720 changed files with 329234 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
import themeSelectorImage from "./themeSelector.image.js";
import themeSelectorLabel from "./themeSelector.label.js";
export default class themeSelector{
flexDirection = "column";
marginBottom = 20;
constructor( name ) {
this.selectLabel.text = name;
}
highlight() {
var children = this.parent.getChildren();
for (var i = 0; i < children.length; i++) {
children[i].selectImage.lowLight();
}
this.selectImage.highlight();
}
setImage( image ) {
this.selectImage.backgroundImage = "url("+image+")";
}
selectImage = new themeSelectorImage();
selectLabel = new themeSelectorLabel();
}