bsnes/higan/target-loki/terminal/about-window.cpp

19 lines
510 B
C++

unique_pointer<AboutWindow> aboutWindow;
AboutWindow::AboutWindow() {
aboutWindow = this;
layout.setMargin(5);
canvas.setIcon({locate("loki.png")});
information.setFont(Font().setFamily(Font::Sans).setBold()).setAlignment(0.5).setText({
Emulator::Name, "/loki v", Emulator::Version, "\n\n"
"Author: ", Emulator::Author, "\n",
"License: ", Emulator::License, "\n",
"Website: ", Emulator::Website
});
setTitle("About loki ...");
setSize(layout.minimumSize());
setCentered();
}