[ui] use richedit for about dialog and other improvements

* Add template for updates policy and settings
This commit is contained in:
Pete Batard 2012-11-29 02:59:52 +00:00
parent 249d3e16fb
commit 454010c27c
10 changed files with 302 additions and 111 deletions

View file

@ -17,58 +17,76 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
const char* about_blurb_format =
"{\\rtf1\\ansi\n"
"{\\b\\fs20Rufus - The Reliable USB Formatting Utility}\\line\n"
"\\fs18Version %d.%d.%d (Build %d)\\line\n"
"\\line\n"
"Copyright © 2011-2012 Pete Batard / Akeo\\line\n"
RUFUS_URL "\\line\n"
"\\line\n"
"Report bugs or request enhancements at:\\line\n"
"https://github.com/pbatard/rufus/issues\\line\n"
"\\line\n"
"{\\b\\fs18Additional Copyrights:}}";
const char* additional_copyrights =
"Icon by PC Unleashed:\r\n"
"http://pcunleashed.com\r\n"
"Freeware\r\n"
"\r\n"
"Boot record handling from ms-sys by Henrik Carlqvist:\r\n"
"http://ms-sys.sourceforge.net\r\n"
"GNU General Public License (GPL) v2 or later\r\n"
"\r\n"
"FreeDOS support from the FreeDOS project:\r\n"
"http://www.freedos.org\r\n"
"GNU General Public License (GPL) v2 or later, with binary redistribution allowed\r\n"
"\r\n"
"ISO extraction support from libcdio by Rocky Bernstein et al:\r\n"
"http://www.gnu.org/software/libcdio\r\n"
"GNU General Public License (GPL) v3 or later\r\n"
"\r\n"
"Syslinux support from Syslinux by H. Peter Anvin et al:\r\n"
"http://www.syslinux.org\r\n"
"GNU General Public License (GPL) v2 or later\r\n"
"\r\n"
"Bad blocks testing from e2fsprogs by Theodore T'so et al:\r\n"
"http://e2fsprogs.sourceforge.net\r\n"
"GNU General Public License (GPL) v3 compatible\r\n"
"\r\n"
"Large FAT32 volume formatting from fat32format by Tom Thornhill:\r\n"
"http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm\r\n"
"GNU General Public License (GPL) v2 or later\r\n"
"\r\n"
"fmifs.dll usage based on Formatx by Mark Russinovich:\r\n"
"http://doc.sch130.nsc.ru/www.sysinternals.com/ntw2k/source/fmifs.shtml\r\n"
"http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fmifs\r\n"
"Public Domain\r\n"
"\r\n"
"Device enumeration based on TestUSBDriveEject.cpp by ahmd:\r\n"
"http://www.codeguru.com/forum/showthread.php?p=1951973\r\n"
"Public Domain\r\n"
"\r\n"
"Some FAT and time-conversion handling by ReactOS:\r\n"
"http://svn.reactos.org/svn/reactos/trunk/reactos\r\n"
"GNU General Public License (GPL) v3 compatible\r\n"
"\r\n"
"FS Type description from by GNU fdisk:\r\n"
"http://www.gnu.org/software/fdisk\r\n"
"GNU General Public License (GPL) v3 or later\r\n"
"\r\n"
"About and License dialogs inspired by WinSCP\r\n"
"Copyright (c) 2000-2011 Martin Prikryl\r\n"
"GNU General Public License (GPL) v3 or later\r\n"
"\r\n"
"\r\n"
"All other references can be found in the source.\r\n";
"{\\rtf1\\ansi\n"
"Icon by PC Unleashed:\\line\n"
"http://pcunleashed.com\\line\n"
"Freeware\\line\n"
"\\line\n"
"Boot record handling from ms-sys by Henrik Carlqvist:\\line\n"
"http://ms-sys.sourceforge.net\\line\n"
"GNU General Public License (GPL) v2 or later\\line\n"
"\\line\n"
"FreeDOS support from the FreeDOS project:\\line\n"
"http://www.freedos.org\\line\n"
"GNU General Public License (GPL) v2 or later, with binary redistribution allowed\\line\n"
"\\line\n"
"ISO extraction support from libcdio by Rocky Bernstein et al:\\line\n"
"http://www.gnu.org/software/libcdio\\line\n"
"GNU General Public License (GPL) v3 or later\\line\n"
"\\line\n"
"Syslinux support from Syslinux by H. Peter Anvin et al:\\line\n"
"http://www.syslinux.org\\line\n"
"GNU General Public License (GPL) v2 or later\\line\n"
"\\line\n"
"Bad blocks testing from e2fsprogs by Theodore T'so et al:\\line\n"
"http://e2fsprogs.sourceforge.net\\line\n"
"GNU General Public License (GPL) v3 compatible\\line\n"
"\\line\n"
"Large FAT32 volume formatting from fat32format by Tom Thornhill:\\line\n"
"http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm\\line\n"
"GNU General Public License (GPL) v2 or later\\line\n"
"\\line\n"
"fmifs.dll usage based on Formatx by Mark Russinovich:\\line\n"
"http://doc.sch130.nsc.ru/www.sysinternals.com/ntw2k/source/fmifs.shtml\\line\n"
"http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fmifs\\line\n"
"Public Domain\\line\n"
"\\line\n"
"Device enumeration based on TestUSBDriveEject.cpp by ahmd:\\line\n"
"http://www.codeguru.com/forum/showthread.php?p=1951973\\line\n"
"Public Domain\\line\n"
"\\line\n"
"Some FAT and time-conversion handling by ReactOS:\\line\n"
"http://svn.reactos.org/svn/reactos/trunk/reactos\\line\n"
"GNU General Public License (GPL) v3 compatible\\line\n"
"\\line\n"
"FS Type description from by GNU fdisk:\\line\n"
"http://www.gnu.org/software/fdisk\\line\n"
"GNU General Public License (GPL) v3 or later\\line\n"
"\\line\n"
"About and License dialogs inspired by WinSCP by Martin Prikryl\\line\n"
"http://winscp.net\\line\n"
"GNU General Public License (GPL) v3 or later\\line\n"
"\\line\n"
"\\line\n"
"All other references can be found in the source.\\line\n}";
const char* update_policy =
"{\\rtf1\\ansi\n"
"Hey sexy mama, Wanna kill all humans?}";
const char* gplv3 =
" GNU GENERAL PUBLIC LICENSE\r\n"