mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Add forum link to help menu on Windows, and under the website link on the main menu screen.
This commit is contained in:
parent
4437e0dfc7
commit
ffb1d65313
4 changed files with 16 additions and 4 deletions
|
@ -268,6 +268,13 @@ void MenuScreen::render() {
|
|||
LaunchBrowser("http://www.ppsspp.org/");
|
||||
}
|
||||
|
||||
// Skip the forum button if screen too small. Will be redesigned in new UI later.
|
||||
if (dp_yres > 510) {
|
||||
if (UIButton(GEN_ID, vlinear, w, 0, "forums.ppsspp.org", ALIGN_RIGHT)) {
|
||||
LaunchBrowser("http://forums.ppsspp.org/");
|
||||
}
|
||||
}
|
||||
|
||||
int recentW = 350;
|
||||
if (g_Config.recentIsos.size()) {
|
||||
ui_draw2d.DrawText(UBUNTU24, m->T("Recent"), -xoff, 80, 0xFFFFFFFF, ALIGN_BOTTOMLEFT);
|
||||
|
|
|
@ -753,11 +753,16 @@ namespace MainWindow
|
|||
case ID_EMULATION_SOUND:
|
||||
g_Config.bEnableSound = !g_Config.bEnableSound;
|
||||
break;
|
||||
case ID_HELP_OPENWEBSITE:
|
||||
ShellExecute(NULL, "open", "http://www.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
|
||||
break;
|
||||
|
||||
case ID_HELP_ABOUT:
|
||||
case ID_HELP_OPENWEBSITE:
|
||||
ShellExecute(NULL, "open", "http://www.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
|
||||
break;
|
||||
|
||||
case ID_HELP_OPENFORUM:
|
||||
ShellExecute(NULL, "open", "http://forums.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
|
||||
break;
|
||||
|
||||
case ID_HELP_ABOUT:
|
||||
DialogManager::EnableAll(FALSE);
|
||||
DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
|
||||
DialogManager::EnableAll(TRUE);
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue