Added website links to desktop version

This commit is contained in:
Yousef Khadadeh 2026-05-17 19:37:19 +03:00
parent 71a9fe2c29
commit 982bddf2d4

View file

@ -576,6 +576,12 @@ void Toolbar::top_toolbar() {
optionsMenuOpen = true;
optionsMenuType = ABOUT_MENU;
});
menu_popup_text_button("website menu button", "Website", [&] {
SDL_OpenURL("https://infinipaint.com/");
});
menu_popup_text_button("donate menu button", "Donate", [&] {
SDL_OpenURL("https://infinipaint.com/donate.html");
});
#ifndef __EMSCRIPTEN__
menu_popup_text_button("quit button", "Quit", [&] {
if(main.app_close_requested())