From: pabs Date: Fri, 1 Feb 2008 12:48:02 +0000 (+0000) Subject: Rename the about dialog header, implementation and image to splash screen equivalents... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3e2b43e46d5e65edf081565e7a56d193ef716efd;p=synfig.git Rename the about dialog header, implementation and image to splash screen equivalents. New about dialog implementation will follow. git-svn-id: http://svn.voria.com/code@1544 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/images/about_dialog.sif b/synfig-studio/trunk/images/about_dialog.sif deleted file mode 100644 index b79af7c..0000000 --- a/synfig-studio/trunk/images/about_dialog.sif +++ /dev/null @@ -1,1992 +0,0 @@ - - - About Dialog Graphic - This is the about dialog graphic which is displayed when Synfig Studio starts, and when the about dialog is requested. - - - - - - - - - - Aqua Sphere - This aqua-colored sphere reminds me of something from MacOS X. - - - - - - - - - - - - - 0.000000 - 0.744518 - 0.825040 - 1.000000 - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - 0.587045 - 0.941024 - 1.000000 - 1.000000 - - - - - - - - - - - 0.0000000000 - 0.7500000000 - - - - - - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - - - - - - - - - -0.1500000060 - -0.3499999940 - - - - - - - - - - - - - - - - - - - - - - 0.2000000030 - 0.2000000030 - - - - - - - - - - - - - - - - - - - 0.000000 - 0.762890 - 1.000000 - 1.000000 - - - - - - - - - - - - - - - - 1.000000 - 1.000000 - 1.000000 - 0.000000 - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - SYNFIG Studio - - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - - luxisr - - - - - - - - - - - - - - - - 0.1899999976 - 0.2000000030 - - - - - 1.0000000000 - 1.0000000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - - 0.0500000007 - 0.0500000007 - - - - - - - - - - - - - - - - - - SYNFIG Studio - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - luxisr - - - - - - - - - - - - - - - - 0.1899999976 - 0.2000000030 - - - - - 1.0000000000 - 1.0000000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - - - - - - - - - - - - - - 0.0000000000 - 0.2500000000 - - - - - 0.0000000000 - 2.7500000000 - - - - - - 0.000000 - 0.000000 - 0.000000 - 0.000000 - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - - - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - -1.7500000000 - 2.5000000000 - - - - - 1.7500000000 - 2.2500703335 - - - - - - - - - - - - - - - - - - - - - - -1.5000000000 - 2.5000000000 - - - - - -1.2500000000 - 2.2500000000 - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 0.000000 - - - 1.000000 - 1.000000 - 0.000000 - 1.000000 - - - 1.000000 - 1.000000 - 0.000000 - 1.000000 - - - 0.000000 - 0.000000 - 0.000000 - 0.000000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.0000000000 - 2.3697917461 - - - - - - - - - - - - - - - - A - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - arial - - - - - - - - - - - - - - - - 0.0937500000 - 0.0773138478 - - - - - 0.5000000000 - 0.5000000000 - - - - - 1.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - H - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - arial - - - - - - - - - - - - - - - - 0.0937500000 - 0.0773138478 - - - - - 0.5000000000 - 0.5000000000 - - - - - 0.5000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - P - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - arial - - - - - - - - - - - - - - - - 0.0937500000 - 0.0773138478 - - - - - 0.5000000000 - 0.5000000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - L - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - arial - - - - - - - - - - - - - - - - 0.0937500000 - 0.0773138478 - - - - - 0.5000000000 - 0.5000000000 - - - - - -0.5000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - A - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - arial - - - - - - - - - - - - - - - - 0.0937500000 - 0.0773138478 - - - - - 0.5000000000 - 0.5000000000 - - - - - -1.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - -1.5000000000 - 2.3711292744 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1.5000000000 - 2.5000000000 - - - - - 1.5000000000 - 2.2500000000 - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - 0.483334 - 0.483334 - 0.483334 - 1.000000 - - - 0.801383 - 0.801383 - 0.801384 - 1.000000 - - - 0.546153 - 0.546153 - 0.546153 - 1.000000 - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - 0.0416666679 - -0.0416666679 - - - - - 0.0416666679 - 0.0416666679 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.0000000000 - 1.2500000000 - - - - - - - - - - - - - - - - - - 0.920368 - 0.920368 - 0.920368 - 0.000000 - - - 0.934270 - 0.934270 - 0.934270 - 0.820503 - - - 0.929226 - 0.929226 - 0.929226 - 0.404875 - - - 1.000000 - 1.000000 - 1.000000 - 0.425000 - - - 0.876978 - 0.876978 - 0.876978 - 0.064816 - - - 0.940432 - 0.940432 - 0.940432 - 0.353949 - - - 0.976427 - 0.976427 - 0.976427 - 0.252097 - - - 1.000000 - 1.000000 - 1.000000 - 0.800000 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - 1.000000 - 1.000000 - 1.000000 - 0.655000 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - 0.997147 - 0.997147 - 0.997147 - 0.752147 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - 1.000000 - 1.000000 - 1.000000 - 0.697727 - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - 0.958579 - 0.958579 - 0.958579 - 0.150345 - - - 0.930914 - 0.930914 - 0.930914 - 1.000000 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - 0.992545 - 0.992545 - 0.992545 - 0.537339 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - 1.000000 - 1.000000 - 1.000000 - 0.000000 - - - 1.000000 - 1.000000 - 1.000000 - 0.525000 - - - -0.000000 - -0.000000 - -0.000000 - 0.008584 - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - 1.493478 - 1.439264 - 1.000000 - 1.000000 - - - - - - - - - - - - - - - - 0.0374999978 - 0.0374999978 - - - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - 0.0000000000 - 1.2500000000 - - - - - - - - - - - - - - - - - - - - - 0.013829 - 0.013829 - 0.013829 - 1.000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - 0.1041666642 - 0.1041666642 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.0099999998 - 0.1424999982 - - - - - - - - - - - - - - - - - -0.0990606323 - 0.4690153301 - - - - - -0.0990606323 - -0.0307283755 - - - - - - 0.000000 - 0.000000 - 0.000000 - 0.000000 - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - - - - - - - - - - - - - - - - - - S T U D I O - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - Times New Roman - - - - - - - - - - - - - - - - 0.5000000000 - 0.5000000000 - - - - - 0.5000000000 - 1.0000000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - -2.0734415054 - 0.6111532450 - - - - - 2.1833333969 - -0.0333333351 - - - - - -2.5265016556 - -0.3445624709 - - - - - 2.6473100185 - -0.3445624709 - - - - - 2.1666667461 - 0.0170713197 - - - - - -2.0499999523 - 0.0170713197 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.1000000015 - 0.0000000000 - - - - - - - - - - - - - - - - - - S T U D I O - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - Times New Roman - - - - - - - - - - - - - - - - 0.5000000000 - 0.4500000179 - - - - - 0.5000000000 - 1.0000000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - -2.5000000000 - 0.7500000000 - - - - - 2.5000000000 - -0.5000000000 - - - - - - - - - - - - - - - - - - - - - S Y N F I G - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - Arial - - - - - - - - - - - - - - - - 0.3000000119 - 0.2166666687 - - - - - 0.5000000000 - 1.0000000000 - - - - - 0.0000000000 - 0.5666666627 - - - - - - - - - - - - - - - - - - - - - - - - - 1.000000 - 1.000000 - 1.000000 - 1.000000 - - - - - 0.0000000000 - 0.0000000000 - - - - - 0.1000000015 - 0.1000000015 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.0000000000 - 0.0000000000 - - - - - - - - - - - - - - - - - 0.0000000000 - -0.5000000000 - - - - - 0.0000000000 - 2.5000000000 - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - 1.000000 - 1.000000 - 1.000000 - 0.000000 - - - - - - - - - - - - - - - - - - - - - - - 0.000000 - 0.000000 - 0.000000 - 1.000000 - - - - - -1.5000000000 - 2.5000000000 - - - - - 1.5000000000 - -1.0000000000 - - - - - - - - - - - - - - - - - diff --git a/synfig-studio/trunk/images/splash_screen.sif b/synfig-studio/trunk/images/splash_screen.sif new file mode 100644 index 0000000..b79af7c --- /dev/null +++ b/synfig-studio/trunk/images/splash_screen.sif @@ -0,0 +1,1992 @@ + + + About Dialog Graphic + This is the about dialog graphic which is displayed when Synfig Studio starts, and when the about dialog is requested. + + + + + + + + + + Aqua Sphere + This aqua-colored sphere reminds me of something from MacOS X. + + + + + + + + + + + + + 0.000000 + 0.744518 + 0.825040 + 1.000000 + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + 0.587045 + 0.941024 + 1.000000 + 1.000000 + + + + + + + + + + + 0.0000000000 + 0.7500000000 + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + + + + + + + -0.1500000060 + -0.3499999940 + + + + + + + + + + + + + + + + + + + + + + 0.2000000030 + 0.2000000030 + + + + + + + + + + + + + + + + + + + 0.000000 + 0.762890 + 1.000000 + 1.000000 + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 0.000000 + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + SYNFIG Studio + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + luxisr + + + + + + + + + + + + + + + + 0.1899999976 + 0.2000000030 + + + + + 1.0000000000 + 1.0000000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + + 0.0500000007 + 0.0500000007 + + + + + + + + + + + + + + + + + + SYNFIG Studio + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + luxisr + + + + + + + + + + + + + + + + 0.1899999976 + 0.2000000030 + + + + + 1.0000000000 + 1.0000000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + + + + + + + + + + + + 0.0000000000 + 0.2500000000 + + + + + 0.0000000000 + 2.7500000000 + + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + -1.7500000000 + 2.5000000000 + + + + + 1.7500000000 + 2.2500703335 + + + + + + + + + + + + + + + + + + + + + + -1.5000000000 + 2.5000000000 + + + + + -1.2500000000 + 2.2500000000 + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + 1.000000 + 1.000000 + 0.000000 + 1.000000 + + + 1.000000 + 1.000000 + 0.000000 + 1.000000 + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 2.3697917461 + + + + + + + + + + + + + + + + A + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + arial + + + + + + + + + + + + + + + + 0.0937500000 + 0.0773138478 + + + + + 0.5000000000 + 0.5000000000 + + + + + 1.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + H + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + arial + + + + + + + + + + + + + + + + 0.0937500000 + 0.0773138478 + + + + + 0.5000000000 + 0.5000000000 + + + + + 0.5000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + P + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + arial + + + + + + + + + + + + + + + + 0.0937500000 + 0.0773138478 + + + + + 0.5000000000 + 0.5000000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + L + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + arial + + + + + + + + + + + + + + + + 0.0937500000 + 0.0773138478 + + + + + 0.5000000000 + 0.5000000000 + + + + + -0.5000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + A + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + arial + + + + + + + + + + + + + + + + 0.0937500000 + 0.0773138478 + + + + + 0.5000000000 + 0.5000000000 + + + + + -1.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + -1.5000000000 + 2.3711292744 + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.5000000000 + 2.5000000000 + + + + + 1.5000000000 + 2.2500000000 + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + 0.483334 + 0.483334 + 0.483334 + 1.000000 + + + 0.801383 + 0.801383 + 0.801384 + 1.000000 + + + 0.546153 + 0.546153 + 0.546153 + 1.000000 + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0416666679 + -0.0416666679 + + + + + 0.0416666679 + 0.0416666679 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 1.2500000000 + + + + + + + + + + + + + + + + + + 0.920368 + 0.920368 + 0.920368 + 0.000000 + + + 0.934270 + 0.934270 + 0.934270 + 0.820503 + + + 0.929226 + 0.929226 + 0.929226 + 0.404875 + + + 1.000000 + 1.000000 + 1.000000 + 0.425000 + + + 0.876978 + 0.876978 + 0.876978 + 0.064816 + + + 0.940432 + 0.940432 + 0.940432 + 0.353949 + + + 0.976427 + 0.976427 + 0.976427 + 0.252097 + + + 1.000000 + 1.000000 + 1.000000 + 0.800000 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + 1.000000 + 1.000000 + 1.000000 + 0.655000 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + 0.997147 + 0.997147 + 0.997147 + 0.752147 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + 1.000000 + 1.000000 + 1.000000 + 0.697727 + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + 0.958579 + 0.958579 + 0.958579 + 0.150345 + + + 0.930914 + 0.930914 + 0.930914 + 1.000000 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + 0.992545 + 0.992545 + 0.992545 + 0.537339 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + 1.000000 + 1.000000 + 1.000000 + 0.000000 + + + 1.000000 + 1.000000 + 1.000000 + 0.525000 + + + -0.000000 + -0.000000 + -0.000000 + 0.008584 + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + 1.493478 + 1.439264 + 1.000000 + 1.000000 + + + + + + + + + + + + + + + + 0.0374999978 + 0.0374999978 + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + 0.0000000000 + 1.2500000000 + + + + + + + + + + + + + + + + + + + + + 0.013829 + 0.013829 + 0.013829 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + 0.1041666642 + 0.1041666642 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0099999998 + 0.1424999982 + + + + + + + + + + + + + + + + + -0.0990606323 + 0.4690153301 + + + + + -0.0990606323 + -0.0307283755 + + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + S T U D I O + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + Times New Roman + + + + + + + + + + + + + + + + 0.5000000000 + 0.5000000000 + + + + + 0.5000000000 + 1.0000000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + -2.0734415054 + 0.6111532450 + + + + + 2.1833333969 + -0.0333333351 + + + + + -2.5265016556 + -0.3445624709 + + + + + 2.6473100185 + -0.3445624709 + + + + + 2.1666667461 + 0.0170713197 + + + + + -2.0499999523 + 0.0170713197 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.1000000015 + 0.0000000000 + + + + + + + + + + + + + + + + + + S T U D I O + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + Times New Roman + + + + + + + + + + + + + + + + 0.5000000000 + 0.4500000179 + + + + + 0.5000000000 + 1.0000000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + -2.5000000000 + 0.7500000000 + + + + + 2.5000000000 + -0.5000000000 + + + + + + + + + + + + + + + + + + + + + S Y N F I G + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + Arial + + + + + + + + + + + + + + + + 0.3000000119 + 0.2166666687 + + + + + 0.5000000000 + 1.0000000000 + + + + + 0.0000000000 + 0.5666666627 + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + 0.1000000015 + 0.1000000015 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + 0.0000000000 + -0.5000000000 + + + + + 0.0000000000 + 2.5000000000 + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + 1.000000 + 1.000000 + 1.000000 + 0.000000 + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + -1.5000000000 + 2.5000000000 + + + + + 1.5000000000 + -1.0000000000 + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/trunk/src/gtkmm/about.cpp b/synfig-studio/trunk/src/gtkmm/about.cpp deleted file mode 100644 index e978dc1..0000000 --- a/synfig-studio/trunk/src/gtkmm/about.cpp +++ /dev/null @@ -1,343 +0,0 @@ -/* === S Y N F I G ========================================================= */ -/*! \file about.cpp -** \brief writeme -** -** $Id$ -** -** \legal -** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore -** -** This package is free software; you can redistribute it and/or -** modify it under the terms of the GNU General Public License as -** published by the Free Software Foundation; either version 2 of -** the License, or (at your option) any later version. -** -** This package is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** General Public License for more details. -** \endlegal -** -** === N O T E S =========================================================== -** -** ========================================================================= */ - -/* === H E A D E R S ======================================================= */ - -#ifdef USING_PCH -# include "pch.h" -#else -#ifdef HAVE_CONFIG_H -# include -#endif - -#include -#include - -#include - -#include -#include -#include -#include -#include - -#include - -#include "about.h" -#include "app.h" - -#include "general.h" - -#endif - -using namespace std; -using namespace etl; -using namespace studio; - -/* === M A C R O S ========================================================= */ - -#ifndef VERSION -#define VERSION "unknown" -#define PACKAGE "synfigstudio" -#endif - -#ifdef WIN32 -# ifdef IMAGE_DIR -# undef IMAGE_DIR -# define IMAGE_DIR "share\\pixmaps" -# endif -#endif - -#ifndef IMAGE_DIR -# define IMAGE_DIR "/usr/local/share/pixmaps" -#endif - -#ifndef IMAGE_EXT -# define IMAGE_EXT "png" -#endif - -/* === G L O B A L S ======================================================= */ -extern const guint gtk_major_version; -extern const guint gtk_minor_version; -extern const guint gtk_micro_version; -extern const guint gtk_binary_age; -extern const guint gtk_interface_age; - -/* === P R O C E D U R E S ================================================= */ - -class studio::AboutProgress : public synfig::ProgressCallback -{ - About &about; - -public: - - AboutProgress(About &about):about(about) { } - - virtual bool task(const std::string &task) - { - if(about.tasklabel) - { - about.tasklabel->set_label(task); - about.tasklabel->show(); - } - else - { - cerr<set_label(_("ERROR:")+task); - about.tasklabel->show(); - } - else - { - cerr<set_label(_("WARNING:")+task); - about.tasklabel->show(); - } - else - { - cerr<set_fraction((float)current/(float)total); - about.progressbar->show(); - } - else - cerr<set(imagepath+"about_dialog."IMAGE_EXT); - Logo->set_size_request(image_w,image_h); - Logo->set_alignment(0.5,0.5); - Logo->set_padding(0,0); - - // Create the Copyright Label - Gtk::Label *CopyrightLabel = manage(new class Gtk::Label(SYNFIG_COPYRIGHT)); - CopyrightLabel->set_size_request(image_w,24); - CopyrightLabel->set_alignment(0.5,0.5); - CopyrightLabel->set_padding(0,0); - CopyrightLabel->set_justify(Gtk::JUSTIFY_CENTER); - CopyrightLabel->set_line_wrap(false); - CopyrightLabel->modify_fg(Gtk::STATE_NORMAL,Gdk::Color("black")); - - /* Scale the text to fit */ - int width = 0; - int height = 0; - float size=11; - Glib::RefPtr l = CopyrightLabel->get_layout(); - Pango::FontDescription fd = Pango::FontDescription("Sans, 11"); - l->set_font_description(fd); - l->set_justify(Pango::ALIGN_CENTER); - fd.set_size(int(size*Pango::SCALE)); - l->set_font_description(fd); - l->get_pixel_size(width,height); - while( width >= image_w-6 ){ - size-=0.5; - fd.set_size((int)(size*Pango::SCALE)); - l->set_font_description(fd); - l->get_pixel_size(width,height); - } - CopyrightLabel->modify_font(fd); - - // Create the Version information label - Gtk::Label *VersionLabel = manage(new class Gtk::Label(_("Version"))); - VersionLabel->set_size_request(image_w,80); - VersionLabel->set_flags(Gtk::CAN_FOCUS); - VersionLabel->set_alignment(0.5,0.5); - VersionLabel->set_padding(0,0); - VersionLabel->set_justify(Gtk::JUSTIFY_CENTER); - VersionLabel->set_line_wrap(false); - VersionLabel->modify_fg(Gtk::STATE_NORMAL,Gdk::Color("black")); - - // Set the version label to contain the correct information - string ver; - ver+="Version "VERSION" ("__DATE__" "__TIME__")\n"; - ver+="Using Synfig "; - ver+=synfig::get_version(); - #ifdef __GNUC__ - ver+=strprintf(" and GNU G++ %d.%d.%d",__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__); - #endif - - ver+=strprintf("\nGtk+ %d.%d.%d",gtk_major_version,gtk_minor_version,gtk_micro_version); - - #ifdef _DEBUG - ver+="\nDEBUG BUILD"; - #endif - VersionLabel->set_text(ver); - - /* Scale the text to fit */ - width = 0; - height = 0; - size=11; - l = VersionLabel->get_layout(); - fd = Pango::FontDescription("Sans, 11"); - l->set_font_description(fd); - l->set_justify(Pango::ALIGN_CENTER); - fd.set_size(int(size*Pango::SCALE)); - l->set_font_description(fd); - l->get_pixel_size(width,height); - while( width >= image_w-6 ){ - size-=0.5; - fd.set_size((int)(size*Pango::SCALE)); - l->set_font_description(fd); - l->get_pixel_size(width,height); - } - VersionLabel->modify_font(fd); - - // Create the image that will be used on the close button - Gtk::Image *image2 = manage(new class Gtk::Image(Gtk::StockID("gtk-close"), Gtk::IconSize(4))); - image2->set_alignment(0.5,0.5); - image2->set_padding(0,0); - - // Create the close button, and attach the image to it - CloseButton = manage(new class Gtk::Button()); - CloseButton->set_size_request(24,24); - CloseButton->set_flags(Gtk::CAN_FOCUS); - _tooltips.set_tip(*CloseButton, _("Close"), ""); - CloseButton->set_relief(Gtk::RELIEF_NONE); - CloseButton->add(*image2); - - // Create the progress bar - progressbar = manage(new class Gtk::ProgressBar()); - progressbar->set_size_request(image_w,24); - - // Create the current task label - tasklabel = manage(new class Gtk::Label()); - tasklabel->set_size_request(image_w,24); - tasklabel->set_use_underline(false); - - // Create the Gtk::Fixed container and put all of the widgets into it - Gtk::Fixed *fixed1 = manage(new class Gtk::Fixed()); - fixed1->put(*Logo, 0, 0); - fixed1->put(*CopyrightLabel, 0, image_h-25); - fixed1->put(*CloseButton, image_w-24, 0); - fixed1->put(*VersionLabel, 0, image_h-90); - fixed1->put(*progressbar, 0, image_h+24); - fixed1->put(*tasklabel, 0, image_h); - - // Set up the parameters for this pop-up window - set_title("Synfig Studio "VERSION); - set_modal(false); - property_window_position().set_value(Gtk::WIN_POS_CENTER); - set_resizable(false); - add(*fixed1); - - // show everything off - Logo->show(); - CopyrightLabel->show(); - image2->show(); - CloseButton->show(); - VersionLabel->show(); - fixed1->show(); - - // Connect relevant signals - CloseButton->signal_clicked().connect(sigc::mem_fun(*this, &About::close)); - - cb=new AboutProgress(*this); -} - -About::~About() -{ - delete cb; -} - -void About::close() -{ - hide(); - if(can_self_destruct) - delete this; -} - -void -About::set_can_self_destruct(bool x) -{ - can_self_destruct=x; - if(x==true) - CloseButton->show(); - else - CloseButton->hide(); -} - -synfig::ProgressCallback * -About::get_callback() -{ - return cb; -} diff --git a/synfig-studio/trunk/src/gtkmm/about.h b/synfig-studio/trunk/src/gtkmm/about.h deleted file mode 100644 index 2af5ceb..0000000 --- a/synfig-studio/trunk/src/gtkmm/about.h +++ /dev/null @@ -1,81 +0,0 @@ -/* === S Y N F I G ========================================================= */ -/*! \file about.h -** \brief Header File -** -** $Id$ -** -** \legal -** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** -** This package is free software; you can redistribute it and/or -** modify it under the terms of the GNU General Public License as -** published by the Free Software Foundation; either version 2 of -** the License, or (at your option) any later version. -** -** This package is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** General Public License for more details. -** \endlegal -** -** === N O T E S =========================================================== -** -** ========================================================================= */ - -/* === S T A R T =========================================================== */ - -#ifndef __SYNFIG_GTKMM_ABOUT_H -#define __SYNFIG_GTKMM_ABOUT_H - -/* === H E A D E R S ======================================================= */ - -//#include -#include -#include -#include -#include -#include - -/* === M A C R O S ========================================================= */ - -/* === T Y P E D E F S ===================================================== */ - -/* === C L A S S E S & S T R U C T S ======================================= */ - -namespace synfig { class ProgressCallback; }; - -namespace studio { - -class AboutProgress; - -class About : public Gtk::Window -{ - friend class AboutProgress; - - AboutProgress *cb; - - Gtk::Tooltips _tooltips; - - Gtk::Label *tasklabel; - Gtk::ProgressBar *progressbar; - Gtk::Button *CloseButton; - - void close(); - - bool can_self_destruct; - -public: - - synfig::ProgressCallback *get_callback(); - - void set_can_self_destruct(bool x); - - About(); - ~About(); -}; - -} - -/* === E N D =============================================================== */ - -#endif diff --git a/synfig-studio/trunk/src/gtkmm/splash.cpp b/synfig-studio/trunk/src/gtkmm/splash.cpp new file mode 100644 index 0000000..e978dc1 --- /dev/null +++ b/synfig-studio/trunk/src/gtkmm/splash.cpp @@ -0,0 +1,343 @@ +/* === S Y N F I G ========================================================= */ +/*! \file about.cpp +** \brief writeme +** +** $Id$ +** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal +** +** === N O T E S =========================================================== +** +** ========================================================================= */ + +/* === H E A D E R S ======================================================= */ + +#ifdef USING_PCH +# include "pch.h" +#else +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + +#include + +#include +#include +#include +#include +#include + +#include + +#include "about.h" +#include "app.h" + +#include "general.h" + +#endif + +using namespace std; +using namespace etl; +using namespace studio; + +/* === M A C R O S ========================================================= */ + +#ifndef VERSION +#define VERSION "unknown" +#define PACKAGE "synfigstudio" +#endif + +#ifdef WIN32 +# ifdef IMAGE_DIR +# undef IMAGE_DIR +# define IMAGE_DIR "share\\pixmaps" +# endif +#endif + +#ifndef IMAGE_DIR +# define IMAGE_DIR "/usr/local/share/pixmaps" +#endif + +#ifndef IMAGE_EXT +# define IMAGE_EXT "png" +#endif + +/* === G L O B A L S ======================================================= */ +extern const guint gtk_major_version; +extern const guint gtk_minor_version; +extern const guint gtk_micro_version; +extern const guint gtk_binary_age; +extern const guint gtk_interface_age; + +/* === P R O C E D U R E S ================================================= */ + +class studio::AboutProgress : public synfig::ProgressCallback +{ + About &about; + +public: + + AboutProgress(About &about):about(about) { } + + virtual bool task(const std::string &task) + { + if(about.tasklabel) + { + about.tasklabel->set_label(task); + about.tasklabel->show(); + } + else + { + cerr<set_label(_("ERROR:")+task); + about.tasklabel->show(); + } + else + { + cerr<set_label(_("WARNING:")+task); + about.tasklabel->show(); + } + else + { + cerr<set_fraction((float)current/(float)total); + about.progressbar->show(); + } + else + cerr<set(imagepath+"about_dialog."IMAGE_EXT); + Logo->set_size_request(image_w,image_h); + Logo->set_alignment(0.5,0.5); + Logo->set_padding(0,0); + + // Create the Copyright Label + Gtk::Label *CopyrightLabel = manage(new class Gtk::Label(SYNFIG_COPYRIGHT)); + CopyrightLabel->set_size_request(image_w,24); + CopyrightLabel->set_alignment(0.5,0.5); + CopyrightLabel->set_padding(0,0); + CopyrightLabel->set_justify(Gtk::JUSTIFY_CENTER); + CopyrightLabel->set_line_wrap(false); + CopyrightLabel->modify_fg(Gtk::STATE_NORMAL,Gdk::Color("black")); + + /* Scale the text to fit */ + int width = 0; + int height = 0; + float size=11; + Glib::RefPtr l = CopyrightLabel->get_layout(); + Pango::FontDescription fd = Pango::FontDescription("Sans, 11"); + l->set_font_description(fd); + l->set_justify(Pango::ALIGN_CENTER); + fd.set_size(int(size*Pango::SCALE)); + l->set_font_description(fd); + l->get_pixel_size(width,height); + while( width >= image_w-6 ){ + size-=0.5; + fd.set_size((int)(size*Pango::SCALE)); + l->set_font_description(fd); + l->get_pixel_size(width,height); + } + CopyrightLabel->modify_font(fd); + + // Create the Version information label + Gtk::Label *VersionLabel = manage(new class Gtk::Label(_("Version"))); + VersionLabel->set_size_request(image_w,80); + VersionLabel->set_flags(Gtk::CAN_FOCUS); + VersionLabel->set_alignment(0.5,0.5); + VersionLabel->set_padding(0,0); + VersionLabel->set_justify(Gtk::JUSTIFY_CENTER); + VersionLabel->set_line_wrap(false); + VersionLabel->modify_fg(Gtk::STATE_NORMAL,Gdk::Color("black")); + + // Set the version label to contain the correct information + string ver; + ver+="Version "VERSION" ("__DATE__" "__TIME__")\n"; + ver+="Using Synfig "; + ver+=synfig::get_version(); + #ifdef __GNUC__ + ver+=strprintf(" and GNU G++ %d.%d.%d",__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__); + #endif + + ver+=strprintf("\nGtk+ %d.%d.%d",gtk_major_version,gtk_minor_version,gtk_micro_version); + + #ifdef _DEBUG + ver+="\nDEBUG BUILD"; + #endif + VersionLabel->set_text(ver); + + /* Scale the text to fit */ + width = 0; + height = 0; + size=11; + l = VersionLabel->get_layout(); + fd = Pango::FontDescription("Sans, 11"); + l->set_font_description(fd); + l->set_justify(Pango::ALIGN_CENTER); + fd.set_size(int(size*Pango::SCALE)); + l->set_font_description(fd); + l->get_pixel_size(width,height); + while( width >= image_w-6 ){ + size-=0.5; + fd.set_size((int)(size*Pango::SCALE)); + l->set_font_description(fd); + l->get_pixel_size(width,height); + } + VersionLabel->modify_font(fd); + + // Create the image that will be used on the close button + Gtk::Image *image2 = manage(new class Gtk::Image(Gtk::StockID("gtk-close"), Gtk::IconSize(4))); + image2->set_alignment(0.5,0.5); + image2->set_padding(0,0); + + // Create the close button, and attach the image to it + CloseButton = manage(new class Gtk::Button()); + CloseButton->set_size_request(24,24); + CloseButton->set_flags(Gtk::CAN_FOCUS); + _tooltips.set_tip(*CloseButton, _("Close"), ""); + CloseButton->set_relief(Gtk::RELIEF_NONE); + CloseButton->add(*image2); + + // Create the progress bar + progressbar = manage(new class Gtk::ProgressBar()); + progressbar->set_size_request(image_w,24); + + // Create the current task label + tasklabel = manage(new class Gtk::Label()); + tasklabel->set_size_request(image_w,24); + tasklabel->set_use_underline(false); + + // Create the Gtk::Fixed container and put all of the widgets into it + Gtk::Fixed *fixed1 = manage(new class Gtk::Fixed()); + fixed1->put(*Logo, 0, 0); + fixed1->put(*CopyrightLabel, 0, image_h-25); + fixed1->put(*CloseButton, image_w-24, 0); + fixed1->put(*VersionLabel, 0, image_h-90); + fixed1->put(*progressbar, 0, image_h+24); + fixed1->put(*tasklabel, 0, image_h); + + // Set up the parameters for this pop-up window + set_title("Synfig Studio "VERSION); + set_modal(false); + property_window_position().set_value(Gtk::WIN_POS_CENTER); + set_resizable(false); + add(*fixed1); + + // show everything off + Logo->show(); + CopyrightLabel->show(); + image2->show(); + CloseButton->show(); + VersionLabel->show(); + fixed1->show(); + + // Connect relevant signals + CloseButton->signal_clicked().connect(sigc::mem_fun(*this, &About::close)); + + cb=new AboutProgress(*this); +} + +About::~About() +{ + delete cb; +} + +void About::close() +{ + hide(); + if(can_self_destruct) + delete this; +} + +void +About::set_can_self_destruct(bool x) +{ + can_self_destruct=x; + if(x==true) + CloseButton->show(); + else + CloseButton->hide(); +} + +synfig::ProgressCallback * +About::get_callback() +{ + return cb; +} diff --git a/synfig-studio/trunk/src/gtkmm/splash.h b/synfig-studio/trunk/src/gtkmm/splash.h new file mode 100644 index 0000000..2af5ceb --- /dev/null +++ b/synfig-studio/trunk/src/gtkmm/splash.h @@ -0,0 +1,81 @@ +/* === S Y N F I G ========================================================= */ +/*! \file about.h +** \brief Header File +** +** $Id$ +** +** \legal +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** +** This package is free software; you can redistribute it and/or +** modify it under the terms of the GNU General Public License as +** published by the Free Software Foundation; either version 2 of +** the License, or (at your option) any later version. +** +** This package is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +** General Public License for more details. +** \endlegal +** +** === N O T E S =========================================================== +** +** ========================================================================= */ + +/* === S T A R T =========================================================== */ + +#ifndef __SYNFIG_GTKMM_ABOUT_H +#define __SYNFIG_GTKMM_ABOUT_H + +/* === H E A D E R S ======================================================= */ + +//#include +#include +#include +#include +#include +#include + +/* === M A C R O S ========================================================= */ + +/* === T Y P E D E F S ===================================================== */ + +/* === C L A S S E S & S T R U C T S ======================================= */ + +namespace synfig { class ProgressCallback; }; + +namespace studio { + +class AboutProgress; + +class About : public Gtk::Window +{ + friend class AboutProgress; + + AboutProgress *cb; + + Gtk::Tooltips _tooltips; + + Gtk::Label *tasklabel; + Gtk::ProgressBar *progressbar; + Gtk::Button *CloseButton; + + void close(); + + bool can_self_destruct; + +public: + + synfig::ProgressCallback *get_callback(); + + void set_can_self_destruct(bool x); + + About(); + ~About(); +}; + +} + +/* === E N D =============================================================== */ + +#endif