"Fossies" - the Fresh Open Source Software Archive

Member "klavaro-3.13/src/plot.h" (18 Apr 2021, 1851 Bytes) of package /linux/privat/klavaro-3.13.tar.bz2:


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 "plot.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.12_vs_3.13.

    1 /**************************************************************************/
    2 /*  Klavaro - a flexible touch typing tutor                               */
    3 /*  Copyright (C) 2005-2021 Felipe Emmanuel Ferreira de Castro            */
    4 /*                                                                        */
    5 /*  This file is part of Klavaro, which is a free software: you can       */
    6 /*  redistribute it and/or modify it under the terms of the GNU General   */
    7 /*  Public License as published by the Free Software Foundation, either   */
    8 /*  version 3 of the License, or (at your option) any later version.      */
    9 /*                                                                        */
   10 /*  Klavaro is distributed in the hope that it will be useful,            */
   11 /*  but WITHOUT ANY WARRANTY; without even the implied warranty of        */
   12 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         */
   13 /*  GNU General Public License for more details (in the file COPYING).    */
   14 /*  You should have received a copy of the GNU General Public License     */
   15 /*  along with Klavaro.  If not, see <https://www.gnu.org/licenses/>      */
   16 /**************************************************************************/
   17 
   18 /*
   19  * Number of points for charts
   20  */
   21 #define DATA_POINTS 50
   22 #define MAX_Y_LABELS 13
   23 
   24 #define PLOT_GREEN "#ddffee"
   25 #define PLOT_GREEN_2 "#66aa88"
   26 #define PLOT_GREEN_3 "#aaeebb"
   27 #define PLOT_RED "#ffeeee"
   28 #define PLOT_RED_2 "#cc4466"
   29 #define PLOT_RED_3 "#eeaaaa"
   30 #define PLOT_PURPLE "#bb44ee"
   31 #define PLOT_BLUE "#e8eeff"
   32 #define PLOT_BLUE_2 "#6666bb"
   33 #define PLOT_BLUE_3 "#b0b0ff"
   34 #define PLOT_ORANGE "#fff8d0"
   35 #define PLOT_ORANGE_2 "#eebb88"
   36 #define PLOT_ORANGE_3 "#ffeeaa"
   37 
   38 GtkWidget * plot_get_databox (void);
   39 
   40 void plot_initialize (void);
   41 
   42 void plot_draw_chart (gint pltype);
   43 
   44 void plot_pointer_update (gdouble x);