Added website links to desktop version
This commit is contained in:
parent
71a9fe2c29
commit
982bddf2d4
1 changed files with 6 additions and 0 deletions
|
|
@ -576,6 +576,12 @@ void Toolbar::top_toolbar() {
|
||||||
optionsMenuOpen = true;
|
optionsMenuOpen = true;
|
||||||
optionsMenuType = ABOUT_MENU;
|
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__
|
#ifndef __EMSCRIPTEN__
|
||||||
menu_popup_text_button("quit button", "Quit", [&] {
|
menu_popup_text_button("quit button", "Quit", [&] {
|
||||||
if(main.app_close_requested())
|
if(main.app_close_requested())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue