!7
sS html = [[
Hi. I am a new kind of open-source operating system.
I consist of many modules that you can add at any time.
Modules work together in interesting ways.
It is even easy to program such modules yourself using a simplified dialect of Java.
]];
sclass WelcomeScreen > DynModule {
visualize {
ret centerAndSouthWithMargins(
jscroll_trackWidth(verticalAlignTop(jCenteredHTMLLabel(print(jlabel_fixImages(html))))),
vstackWithSpacing(
Box.createVerticalStrut(30),
fontSize(15, jCenteredLabel("What would you like to do?")),
jCenteredTextField("Eat some cake"),
jCenteredLine(
setMargin(25, 10, setFontSize(15, jboldbutton("Recommended modules", rThread dm_showRecommendedModules))),
setMargin(25, 10, setFontSize(15, jboldbutton("Search for a module", rThread dm_addDynamicModuleDialog)))),
Box.createVerticalStrut(10),
jrightalignedline(jVisitBotCompanyButton()))
);
}
}