"Fossies" - the Fresh Open Source Software Archive

Member "g3data-1.5.4/g3data/strings.h" (14 Jan 2011, 8764 Bytes) of package /linux/privat/old/g3data-1.5.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "strings.h" see the Fossies "Dox" file reference documentation.

A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.


    1 /*
    2 g3data : A program for grabbing data from scanned graphs
    3 Copyright (C) 2000 Jonas Frantz
    4 
    5     This file is part of g3data.
    6 
    7     g3data is free software; you can redistribute it and/or modify
    8     it under the terms of the GNU General Public License as published by
    9     the Free Software Foundation; either version 2 of the License, or
   10     (at your option) any later version.
   11 
   12     g3data is distributed in the hope that it will be useful,
   13     but WITHOUT ANY WARRANTY; without even the implied warranty of
   14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15     GNU General Public License for more details.
   16 
   17     You should have received a copy of the GNU General Public License
   18     along with this program; if not, write to the Free Software
   19     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
   20 
   21 Authors email : jonas.frantz@welho.com
   22 */
   23 
   24 /************************************************************************************************/
   25 /*                  ABOUT INFO                      */
   26 /************************************************************************************************/
   27 
   28 #define PROGNAME "g3data"
   29 #define VERSION "1.5.4"
   30 #define COPYRIGHT "Copyright (C) 2000 Jonas Frantz"
   31 #define COMMENTS "Grab graph data, a program for extracting data from graphs"
   32 #define LICENSE "g3data is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\ng3data is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n"
   33 #define HOMEPAGEURL "http://www.frantz.fi/software/g3data.php"
   34 #define HOMEPAGELABEL "g3data homepage"
   35 #define AUTHORS {"Jonas Frantz", "Paul Novak", NULL}
   36 
   37 /************************************************************************************************/
   38 /*                  COMMANDLINE HELP                    */
   39 /************************************************************************************************/
   40 
   41 gchar HelpText[] =  "\n"
   42                         "g3data version "VERSION", Copyright (C) 2000 Jonas Frantz\n"
   43                         " g3data comes with ABSOLUTELY NO WARRANTY; for details\n"
   44                         " check out the documentation.  This is free software, and\n"
   45                         " you are welcome to redistribute it under all conditions.\n"
   46                         "\n"
   47                         " Usage : g3data [options] [file1.ext [file2.ext [...]]]\n"
   48                         "\n"
   49                         "  Options :\n"
   50                         "      -max <x> <y>                    : If picture is larger x-wise than x or y-wise than y,\n"
   51                         "                                        the picture is scaled down accordingly otherwise this\n"
   52                         "                                        parameter has no effect.\n"
   53                         "      -scale <factor>                 : Scales the picture size according to the factor. This\n"
   54                         "                                        parameter nullifies effect of the -max parameter.\n"
   55                         "      -coords <llx> <lly> <rux> <ruy> : Preset the coordinates of the left lower (ll) corner\n"
   56                         "                                        and the right upper (ru) corner.\n"
   57                         "      -errors                         : Print out the error of the x value in column 3 and the\n"
   58                         "                                        error of y value in column 4 of the output.\n"
   59                         "      -lnx                            : Use logarithmic scale for x coordinates.\n"
   60                         "      -lny                            : Use logarithmic scale for y coordinates.\n"
   61                         "      -h or --help                    : Print this help.\n"
   62                         "\n"
   63                         "  Supported image formats : PNG, XPM, JPEG, TIFF, PNM, RAS, BMP and GIF\n"
   64             "\n"
   65             " Hints and remarks for usage :\n"
   66             "  - The options given on the commandline only is applied to the images\n"
   67             "    opened from the commandline.\n"
   68             "  - To access fullscreen mode use the F11 key.\n"
   69                         "  - For increased data accuracy use the -scale option with a large parameter\n"
   70             "    to achieve finer granularity and thus smaller errors.\n"
   71                         "\n"
   72                         " Report bugs to jonas.frantz@welho.com\n"
   73                         "\n";
   74                                                                                                                                                                     
   75 /************************************************************************************************/
   76 /*                  BUTTON/CHECKBUTTON/LABELS               */
   77 /************************************************************************************************/
   78 
   79 gchar Dialog_Title[] = "g3data Export data";
   80 
   81 gchar Window_Title_NoneOpen[] = "g3data - No open files";
   82 
   83 gchar Window_Title[] = "%s - g3data";
   84                                                                                                                                                                     
   85 gchar setxylabel[4][40] = {"Set point X<sub>1</sub> on X axis (_1)",
   86                            "Set point X<sub>2</sub> on X axis (_2)",
   87                            "Set point Y<sub>1</sub> on Y axis (_3)",
   88                            "Set point Y<sub>2</sub> on Y axis (_4)"};
   89                                                                                                                                                                     
   90 gchar orderlabel[ORDERBNUM][40] = {"No ordering",
   91                                    "Based on X value",
   92                                    "Based on Y value"};
   93 
   94 gchar actionlabel[ACTIONBNUM][32] = {"Export data to stdout",
   95                          "Export data to file"};
   96                                                                                                                                                                     
   97 gchar loglabel[LOGBNUM][32] = {"_X axis is logarithmic",
   98                                "_Y axis is logarithmic"};
   99 
  100 gchar xy_label_text[4][32] = {"X<sub>1</sub> value : ",
  101                               "X<sub>2</sub> value : ",
  102                               "Y<sub>1</sub> value : ",
  103                               "Y<sub>2</sub> value : "};
  104 
  105 gchar PrintBLabel[] =   "Export point _data";
  106 
  107 gchar RemLastBLabel[] = "_Remove last point";
  108 
  109 gchar RemAllBLabel[] =  "Remove _all points";
  110 
  111 gchar PrintErrCBLabel[] = "Include _errors";
  112 
  113 gchar pm_string[] =     " ± ";
  114 
  115 gchar x_string[] = " X : ";
  116 gchar y_string[] = " Y : ";
  117 
  118 gchar filen_string[] = "Filename : ";
  119 
  120 gchar nump_string[] = "Number of points : ";
  121 
  122 gchar scale_string[] = "Scale image : ";
  123 
  124 gchar APheader[] = "<b>Axis points</b>";
  125 gchar PIheader[] = "<b>Processing information</b>";
  126 gchar ZAheader[] = "<b>Zoom area</b>";
  127 gchar Oheader[]  = "<b>Point ordering</b>";
  128 gchar Eheader[]  = "<b>Value errors</b>";
  129 gchar Lheader[]  = "<b>Logarithmic scales</b>";
  130 gchar Aheader[]  = "<b>Action</b>";
  131 
  132 /************************************************************************************************/
  133 /*                  TOOLTIPS                        */
  134 /************************************************************************************************/
  135 
  136 gchar setx1tts[] =  "Set first point on x axis";
  137 gchar setx2tts[] =  "Set second point on x axis";
  138 gchar sety1tts[] =  "Set first point on y axis";
  139 gchar sety2tts[] =  "Set second point on y axis";
  140 
  141 gchar *setxytts[] =     {&setx1tts[0], &setx2tts[0], &sety1tts[0], &sety2tts[0]};
  142 
  143 gchar entryx1tt[] = "Value of the first point on x axis";
  144 gchar entryx2tt[] = "Value of the second point on x axis";
  145 gchar entryy1tt[] = "Value of the first point on y axis";
  146 gchar entryy2tt[] = "Value of the second point on y axis";
  147 
  148 gchar *entryxytt[] =    {&entryx1tt[0], &entryx2tt[0], &entryy1tt[0], &entryy2tt[0]};
  149 
  150 gchar removeltt[] = "Remove last point";
  151 gchar removeatts[] =    "Remove all points";
  152 
  153 gchar printrestt[] =    "Export data to stdout";
  154 gchar printfilett[] =   "Export data to file %s";
  155 gchar filenamett[] =    "Filename to export data to";
  156 
  157 gchar logxtt[] =    "X axis is logarithmic";
  158 gchar logytt[] =    "Y axis is logarithmic";
  159 
  160 gchar *logxytt[] =  {&logxtt[0], &logytt[0]};
  161 
  162 gchar uetts[] =     "Export errors of the x and y values";