add links to wiki and discord (#282)

This commit is contained in:
Logan McNaughton 2025-02-24 18:50:29 +01:00 committed by GitHub
parent 48ee50dea3
commit 8fbc63a677
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,7 +594,11 @@ impl eframe::App for GopherEguiApp {
ui.checkbox(&mut self.integer_scaling, "Integer Scaling");
ui.checkbox(&mut self.fullscreen, "Fullscreen (Esc closes game)");
ui.add_space(32.0);
ui.add_space(16.0);
ui.hyperlink_to("Wiki", "https://github.com/gopher64/gopher64/wiki");
ui.hyperlink_to("Discord Server", "https://discord.gg/9RGXq8W8JQ");
ui.add_space(16.0);
ui.label(format!("Version: {}", env!("CARGO_PKG_VERSION")));
if self.latest_version.is_some() {
let current_version = semver::Version::parse(env!("CARGO_PKG_VERSION")).unwrap();