|
|
1.1 ! root 1: /* ! 2: Hatari - dlgAbout.c ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: ! 7: Show information about the program and its license. ! 8: */ ! 9: char DlgAbout_rcsid[] = "Hatari $Id: dlgAbout.c,v 1.3 2004/04/19 08:53:48 thothy Exp $"; ! 10: ! 11: #include "main.h" ! 12: #include "sdlgui.h" ! 13: ! 14: ! 15: /* The "About"-dialog: */ ! 16: static SGOBJ aboutdlg[] = ! 17: { ! 18: { SGBOX, 0, 0, 0,0, 40,25, NULL }, ! 19: { SGTEXT, 0, 0, 14,1, 12,1, PROG_NAME }, ! 20: { SGTEXT, 0, 0, 14,2, 12,1, "============" }, ! 21: { SGTEXT, 0, 0, 1,4, 38,1, "Hatari has been written by T. Huth," }, ! 22: { SGTEXT, 0, 0, 1,5, 38,1, "S. Marothy and many others..." }, ! 23: { SGTEXT, 0, 0, 2,7, 34,1, "Please see the docs for more info!" }, ! 24: { SGTEXT, 0, 0, 1,9, 38,1, "This program is free software; you can" }, ! 25: { SGTEXT, 0, 0, 1,10, 38,1, "redistribute it and/or modify it under" }, ! 26: { SGTEXT, 0, 0, 1,11, 38,1, "the terms of the GNU General Public" }, ! 27: { SGTEXT, 0, 0, 1,12, 38,1, "License as published by the Free Soft-" }, ! 28: { SGTEXT, 0, 0, 1,13, 38,1, "ware Foundation; either version 2 of" }, ! 29: { SGTEXT, 0, 0, 1,14, 38,1, "the License, or (at your option) any" }, ! 30: { SGTEXT, 0, 0, 1,15, 38,1, "later version." }, ! 31: { SGTEXT, 0, 0, 1,17, 38,1, "This program is distributed in the" }, ! 32: { SGTEXT, 0, 0, 1,18, 38,1, "hope that it will be useful, but" }, ! 33: { SGTEXT, 0, 0, 1,19, 38,1, "WITHOUT ANY WARRANTY. See the GNU Ge-" }, ! 34: { SGTEXT, 0, 0, 1,20, 38,1, "neral Public License for more details." }, ! 35: { SGBUTTON, 0, 0, 16,23, 8,1, "Okay" }, ! 36: { -1, 0, 0, 0,0, 0,0, NULL } ! 37: }; ! 38: ! 39: ! 40: /*-----------------------------------------------------------------------*/ ! 41: /* ! 42: Show the "about" dialog: ! 43: */ ! 44: void Dialog_AboutDlg(void) ! 45: { ! 46: SDLGui_CenterDlg(aboutdlg); ! 47: SDLGui_DoDialog(aboutdlg); ! 48: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.