Change "HOMEPAGE" button in about box to name of website, since Linux is bad with launching URLS.

This commit is contained in:
theoddone33
2002-03-02 20:56:57 +00:00
parent 5fd0707b3d
commit 7b3fc665a6
2 changed files with 13 additions and 0 deletions

View File

@@ -713,9 +713,11 @@ ProcessMouseButtons:
jne .nostatecancel
mov byte[NetStateQuit],1
.nostatecancel
%ifndef __LINUX__
cmp byte[GUICBHold],65
jne .nohomepage
call GotoHomepage
%endif
.nohomepage
mov byte[GUICBHold],0
ret

View File

@@ -5155,7 +5155,14 @@ DisplayGUIAbout:
GUIOuttextwin2 11,5,65,GUIGUIAboutText5
ret
%else
%ifndef __LINUX__
DrawGUIButton 11,5,125,74,136,GUIGUIAboutText8,65,0,0
%else
sub byte[GUItextcolor],15
GUIOuttextwin2 11,6,126,GUIGUIAboutText8
add byte[GUItextcolor],15
GUIOuttextwin2 11,5,125,GUIGUIAboutText8
%endif
sub byte[GUItextcolor],15
GUIOuttextwin2 11,6,16,GUIGUIAboutText1
GUIOuttextwin2 11,6,26,GUIGUIAboutText7
@@ -5207,7 +5214,11 @@ GUIGUIAboutText7 db 'WIN PORT V1.06',0
GUIGUIAboutText7 db 'LINUX PORT V0.37',0
%endif
%ifndef __LINUX__
GUIGUIAboutText8 db 'HOMEPAGE',0
%else
GUIGUIAboutText8 db 'WWW.ZSNES.COM',0
%endif
DisplayGUIMovies:
GUIDrawWindowBox 15,GUIMovieDisp