addParam2.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2010 by Luigi Negretti Lanner   *
00003  *   luigi.negrettilanner@gmail.com   *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 void closeWparamsb_cb(Fl_Widget*,void*);
00021 void writePrefsSerieParams2();
00022 void readPrefsSerieParams2();
00023 void makeWin_IncDecS();
00024 
00025 void makeWin_IncDecSParamsb_cb(Fl_Widget*,void*)
00026 {
00027     funcMenuItems = 2;
00028     makeWin_IncDecS();
00029 }
00030 
00031 void enableCtpp6b_cb(Fl_Widget*,void*)
00032 {
00033     if (bt_enable_p6b->value() == 0) {bt_enable_p6bCtp->value(0);}
00034 }
00035 
00036 void enable_p6b_cb(Fl_Widget*,void*)
00037 {
00038     if (bt_enable_p6bCtp->value() == 1){bt_enable_p6b->value(1);}
00039 }
00040 //////////////////////////////////////////////////////////////////
00041 void enableCtpp7b_cb(Fl_Widget*,void*)
00042 {
00043     if (bt_enable_p7b->value() == 0) {bt_enable_p7bCtp->value(0);}
00044 }
00045 
00046 void enable_p7b_cb(Fl_Widget*,void*)
00047 {
00048     if (bt_enable_p7bCtp->value() == 1){bt_enable_p7b->value(1);}
00049 }
00050 //////////////////////////////////////////////////////////////////
00051 void enableCtpp8b_cb(Fl_Widget*,void*)
00052 {
00053     if (bt_enable_p8b->value() == 0) {bt_enable_p8bCtp->value(0);}
00054 }
00055 
00056 void enable_p8b_cb(Fl_Widget*,void*)
00057 {
00058     if (bt_enable_p8bCtp->value() == 1){bt_enable_p8b->value(1);}
00059 }
00060 //////////////////////////////////////////////////////////////////
00061 void enableCtpp9b_cb(Fl_Widget*,void*)
00062 {
00063     if (bt_enable_p9b->value() == 0) {bt_enable_p9bCtp->value(0);}
00064 }
00065 
00066 void enable_p9b_cb(Fl_Widget*,void*)
00067 {
00068     if (bt_enable_p9bCtp->value() == 1){bt_enable_p9b->value(1);}
00069 }
00070 //////////////////////////////////////////////////////////////////
00071 void enableCtpp10b_cb(Fl_Widget*,void*)
00072 {
00073     if (bt_enable_p10b->value() == 0) {bt_enable_p10bCtp->value(0);}
00074 }
00075 
00076 void enable_p10b_cb(Fl_Widget*,void*)
00077 {
00078     if (bt_enable_p10bCtp->value() == 1){bt_enable_p10b->value(1);}
00079 }
00080 //////////////////////////////////////////////////////////////////
00081 void enableCtpp11b_cb(Fl_Widget*,void*)
00082 {
00083     if (bt_enable_p11b->value() == 0) {bt_enable_p11bCtp->value(0);}
00084 }
00085 
00086 void enable_p11b_cb(Fl_Widget*,void*)
00087 {
00088     if (bt_enable_p11bCtp->value() == 1){bt_enable_p11b->value(1);}
00089 }
00090 //////////////////////////////////////////////////////////////////
00091 void enableCtpp12b_cb(Fl_Widget*,void*)
00092 {
00093     if (bt_enable_p12b->value() == 0) {bt_enable_p12bCtp->value(0);}
00094 }
00095 
00096 void enable_p12b_cb(Fl_Widget*,void*)
00097 {
00098     if (bt_enable_p12bCtp->value() == 1){bt_enable_p12b->value(1);}
00099 }
00100 //////////////////////////////////////////////////////////////////
00101 void enableCtpp13b_cb(Fl_Widget*,void*)
00102 {
00103     if (bt_enable_p13b->value() == 0) {bt_enable_p13bCtp->value(0);}
00104 }
00105 
00106 void enable_p13b_cb(Fl_Widget*,void*)
00107 {
00108     if (bt_enable_p13bCtp->value() == 1){bt_enable_p13b->value(1);}
00109 }
00110 //////////////////////////////////////////////////////////////////
00111 void enableCtpp14b_cb(Fl_Widget*,void*)
00112 {
00113     if (bt_enable_p14b->value() == 0) {bt_enable_p14bCtp->value(0);}
00114 }
00115 
00116 void enable_p14b_cb(Fl_Widget*,void*)
00117 {
00118     if (bt_enable_p14bCtp->value() == 1){bt_enable_p14b->value(1);}
00119 }
00120 //////////////////////////////////////////////////////////////////
00121 void enableCtpp15b_cb(Fl_Widget*,void*)
00122 {
00123     if (bt_enable_p15b->value() == 0) {bt_enable_p15bCtp->value(0);}
00124 }
00125 
00126 void enable_p15b_cb(Fl_Widget*,void*)
00127 {
00128     if (bt_enable_p15bCtp->value() == 1){bt_enable_p15b->value(1);}
00129 }
00130 //////////////////////////////////////////////////////////////////
00131 void makeWinParamsb()
00132 {
00133     winParamnb = new Fl_Window (300,300,W-40,H-100,"Parameters p16 to p25");
00134     winParamnb->color(COLOR);
00135     winParamnb->set_modal();
00136 
00137     funcMenuItems = 2;
00138 
00139   newPframeb = new Fl_Box(CTRL_L4,0,CTRL_W*12+5,CTRL_H*10+55);
00140   newPframeb->box(FL_ENGRAVED_BOX);
00141   newPframeb->align(FL_ALIGN_TOP);
00142   newPframeb->color(COLOR3);
00143   newPframeb->labelcolor(CTRL_LABEL_COLOR);
00144 
00145   p6_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2,CTRL_W,CTRL_H);
00146   p6_1b->textsize(TXT_SIZE);
00147   p6_1b->box(BOX_TYPE3);
00148   p6_1b->align(FL_ALIGN_TOP_LEFT);
00149   p6_1b->color(COLOR3);
00150   p6_1b->textcolor(TXT_COLOR);
00151   p6_1b->selection_color(COLOR_SEL);
00152   p6_1b->labelcolor(CTRL_LABEL_COLOR);
00153   p6_1b->tooltip("p16 serie");
00154   p6_1b->cursor_color(TXT_COLOR2);
00155   p6_1b->textfont(IN_TEXT_FONTS);
00156 
00157   p6_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2,CTRL_W,CTRL_H);
00158   p6_2b->box(BOX_TYPE3);
00159   p6_2b->textsize(TXT_SIZE);
00160   p6_2b->color(COLOR3);
00161   p6_2b->textcolor(TXT_COLOR);
00162   p6_2b->selection_color(COLOR_SEL);
00163   p6_2b->tooltip("p16 serie");
00164   p6_2b->cursor_color(TXT_COLOR2);
00165   p6_2b->textfont(IN_TEXT_FONTS);
00166 
00167   p6_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2,CTRL_W,CTRL_H);
00168   p6_3b->box(BOX_TYPE3);
00169   p6_3b->textsize(TXT_SIZE);
00170   p6_3b->color(COLOR3);
00171   p6_3b->textcolor(TXT_COLOR);
00172   p6_3b->selection_color(COLOR_SEL);
00173   p6_3b->tooltip("p16 serie");
00174   p6_3b->cursor_color(TXT_COLOR2);
00175   p6_3b->textfont(IN_TEXT_FONTS);
00176 
00177   p6_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2,CTRL_W,CTRL_H);
00178   p6_4b->box(BOX_TYPE3);
00179   p6_4b->textsize(TXT_SIZE);
00180   p6_4b->color(COLOR3);
00181   p6_4b->textcolor(TXT_COLOR);
00182   p6_4b->selection_color(COLOR_SEL);
00183   p6_4b->tooltip("p16 serie");
00184   p6_4b->cursor_color(TXT_COLOR2);
00185   p6_4b->textfont(IN_TEXT_FONTS);
00186 
00187   p6_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2,CTRL_W,CTRL_H);
00188   p6_5b->box(BOX_TYPE3);
00189   p6_5b->textsize(TXT_SIZE);
00190   p6_5b->color(COLOR3);
00191   p6_5b->textcolor(TXT_COLOR);
00192   p6_5b->selection_color(COLOR_SEL);
00193   p6_5b->tooltip("p16 serie");
00194   p6_5b->cursor_color(TXT_COLOR2);
00195   p6_5b->textfont(IN_TEXT_FONTS);
00196 
00197   p6_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2,CTRL_W,CTRL_H);
00198   p6_6b->box(BOX_TYPE3);
00199   p6_6b->textsize(TXT_SIZE);
00200   p6_6b->color(COLOR3);
00201   p6_6b->textcolor(TXT_COLOR);
00202   p6_6b->selection_color(COLOR_SEL);
00203   p6_6b->tooltip("p16 serie");
00204   p6_6b->cursor_color(TXT_COLOR2);
00205   p6_6b->textfont(IN_TEXT_FONTS);
00206 
00207   p6_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2,CTRL_W,CTRL_H);
00208   p6_7b->box(BOX_TYPE3);
00209   p6_7b->textsize(TXT_SIZE);
00210   p6_7b->color(COLOR3);
00211   p6_7b->textcolor(TXT_COLOR);
00212   p6_7b->selection_color(COLOR_SEL);
00213   p6_7b->tooltip("p16 serie");
00214   p6_7b->cursor_color(TXT_COLOR2);
00215   p6_7b->textfont(IN_TEXT_FONTS);
00216 
00217   p6_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2,CTRL_W,CTRL_H);
00218   p6_8b->box(BOX_TYPE3);
00219   p6_8b->textsize(TXT_SIZE);
00220   p6_8b->color(COLOR3);
00221   p6_8b->textcolor(TXT_COLOR);
00222   p6_8b->selection_color(COLOR_SEL);
00223   p6_8b->tooltip("p16 serie");
00224   p6_8b->cursor_color(TXT_COLOR2);
00225   p6_8b->textfont(IN_TEXT_FONTS);
00226 
00227   p6_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2,CTRL_W,CTRL_H);
00228   p6_9b->box(BOX_TYPE3);
00229   p6_9b->textsize(TXT_SIZE);
00230   p6_9b->color(COLOR3);
00231   p6_9b->textcolor(TXT_COLOR);
00232   p6_9b->selection_color(COLOR_SEL);
00233   p6_9b->tooltip("p16 serie");
00234   p6_9b->cursor_color(TXT_COLOR2);
00235   p6_9b->textfont(IN_TEXT_FONTS);
00236 
00237   p6_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2,CTRL_W,CTRL_H);
00238   p6_10b->box(BOX_TYPE3);
00239   p6_10b->textsize(TXT_SIZE);
00240   p6_10b->color(COLOR3);
00241   p6_10b->textcolor(TXT_COLOR);
00242   p6_10b->selection_color(COLOR_SEL);
00243   p6_10b->tooltip("p16 serie");
00244   p6_10b->cursor_color(TXT_COLOR2);
00245   p6_10b->textfont(IN_TEXT_FONTS);
00246 
00247   p6_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2,CTRL_W,CTRL_H);
00248   p6_11b->box(BOX_TYPE3);
00249   p6_11b->textsize(TXT_SIZE);
00250   p6_11b->color(COLOR3);
00251   p6_11b->textcolor(TXT_COLOR);
00252   p6_11b->selection_color(COLOR_SEL);
00253   p6_11b->tooltip("p16 serie");
00254   p6_11b->cursor_color(TXT_COLOR2);
00255   p6_11b->textfont(IN_TEXT_FONTS);
00256 
00257   p6_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2,CTRL_W,CTRL_H);
00258   p6_12b->box(BOX_TYPE3);
00259   p6_12b->textsize(TXT_SIZE);
00260   p6_12b->color(COLOR3);
00261   p6_12b->textcolor(TXT_COLOR);
00262   p6_12b->selection_color(COLOR_SEL);
00263   p6_12b->tooltip("p16 serie");
00264   p6_12b->cursor_color(TXT_COLOR2);
00265   p6_12b->textfont(IN_TEXT_FONTS);
00266 
00267   bt_enable_p6b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2,20,20);
00268   bt_enable_p6b->tooltip("Enable p16 serie");
00269   bt_enable_p6b->box(BOX_TYPE);
00270   bt_enable_p6b->selection_color(E_BUTTTON_COLOR);
00271   bt_enable_p6b->callback(enableCtpp6b_cb);
00272 
00273   bt_enable_p6bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2,20,20);
00274   bt_enable_p6bCtp->tooltip("Enable p16 counterpoint functions");
00275   bt_enable_p6bCtp->box(BOX_TYPE);
00276   bt_enable_p6bCtp->selection_color(E_BUTTTON_COLOR);
00277   bt_enable_p6bCtp->callback(enable_p6b_cb);
00278 
00279   outP6b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2,HB,CTRL_H,"M");
00280   outP6b->box(BOX_TYPE);
00281   outP6b->labelsize(11);
00282   outP6b->selection_color(FL_GREEN);
00283   outP6b->labelcolor(FL_RED);
00284   outP6b->tooltip(MEMO);
00285 
00286   p7_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00287   p7_1b->textsize(TXT_SIZE);
00288   p7_1b->box(BOX_TYPE3);
00289   p7_1b->align(FL_ALIGN_TOP_LEFT);
00290   p7_1b->color(COLOR3);
00291   p7_1b->textcolor(TXT_COLOR);
00292   p7_1b->selection_color(COLOR_SEL);
00293   p7_1b->labelcolor(CTRL_LABEL_COLOR);
00294   p7_1b->tooltip("pitch serie");
00295   p7_1b->cursor_color(TXT_COLOR2);
00296   p7_1b->textfont(IN_TEXT_FONTS);
00297 
00298   p7_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00299   p7_2b->box(BOX_TYPE3);
00300   p7_2b->textsize(TXT_SIZE);
00301   p7_2b->color(COLOR3);
00302   p7_2b->textcolor(TXT_COLOR);
00303   p7_2b->selection_color(COLOR_SEL);
00304   p7_2b->tooltip("p17 serie");
00305   p7_2b->cursor_color(TXT_COLOR2);
00306   p7_2b->textfont(IN_TEXT_FONTS);
00307 
00308   p7_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00309   p7_3b->box(BOX_TYPE3);
00310   p7_3b->textsize(TXT_SIZE);
00311   p7_3b->color(COLOR3);
00312   p7_3b->textcolor(TXT_COLOR);
00313   p7_3b->selection_color(COLOR_SEL);
00314   p7_3b->tooltip("p17 serie");
00315   p7_3b->cursor_color(TXT_COLOR2);
00316   p7_3b->textfont(IN_TEXT_FONTS);
00317 
00318   p7_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00319   p7_4b->box(BOX_TYPE3);
00320   p7_4b->textsize(TXT_SIZE);
00321   p7_4b->color(COLOR3);
00322   p7_4b->textcolor(TXT_COLOR);
00323   p7_4b->selection_color(COLOR_SEL);
00324   p7_4b->tooltip("p17 serie");
00325   p7_4b->cursor_color(TXT_COLOR2);
00326   p7_4b->textfont(IN_TEXT_FONTS);
00327 
00328   p7_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00329   p7_5b->box(BOX_TYPE3);
00330   p7_5b->textsize(TXT_SIZE);
00331   p7_5b->color(COLOR3);
00332   p7_5b->textcolor(TXT_COLOR);
00333   p7_5b->selection_color(COLOR_SEL);
00334   p7_5b->tooltip("p17 serie");
00335   p7_5b->cursor_color(TXT_COLOR2);
00336   p7_5b->textfont(IN_TEXT_FONTS);
00337 
00338   p7_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00339   p7_6b->box(BOX_TYPE3);
00340   p7_6b->textsize(TXT_SIZE);
00341   p7_6b->color(COLOR3);
00342   p7_6b->textcolor(TXT_COLOR);
00343   p7_6b->selection_color(COLOR_SEL);
00344   p7_6b->tooltip("p17 serie");
00345   p7_6b->cursor_color(TXT_COLOR2);
00346   p7_6b->textfont(IN_TEXT_FONTS);
00347 
00348   p7_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00349   p7_7b->box(BOX_TYPE3);
00350   p7_7b->textsize(TXT_SIZE);
00351   p7_7b->color(COLOR3);
00352   p7_7b->textcolor(TXT_COLOR);
00353   p7_7b->selection_color(COLOR_SEL);
00354   p7_7b->tooltip("p17 serie");
00355   p7_7b->cursor_color(TXT_COLOR2);
00356   p7_7b->textfont(IN_TEXT_FONTS);
00357 
00358   p7_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00359   p7_8b->box(BOX_TYPE3);
00360   p7_8b->textsize(TXT_SIZE);
00361   p7_8b->color(COLOR3);
00362   p7_8b->textcolor(TXT_COLOR);
00363   p7_8b->selection_color(COLOR_SEL);
00364   p7_8b->tooltip("p17 serie");
00365   p7_8b->cursor_color(TXT_COLOR2);
00366   p7_8b->textfont(IN_TEXT_FONTS);
00367 
00368   p7_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00369   p7_9b->box(BOX_TYPE3);
00370   p7_9b->textsize(TXT_SIZE);
00371   p7_9b->color(COLOR3);
00372   p7_9b->textcolor(TXT_COLOR);
00373   p7_9b->selection_color(COLOR_SEL);
00374   p7_9b->tooltip("p17 serie");
00375   p7_9b->cursor_color(TXT_COLOR2);
00376   p7_9b->textfont(IN_TEXT_FONTS);
00377 
00378   p7_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00379   p7_10b->box(BOX_TYPE3);
00380   p7_10b->textsize(TXT_SIZE);
00381   p7_10b->color(COLOR3);
00382   p7_10b->textcolor(TXT_COLOR);
00383   p7_10b->selection_color(COLOR_SEL);
00384   p7_10b->tooltip("p17 serie");
00385   p7_10b->cursor_color(TXT_COLOR2);
00386   p7_10b->textfont(IN_TEXT_FONTS);
00387 
00388   p7_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00389   p7_11b->box(BOX_TYPE3);
00390   p7_11b->textsize(TXT_SIZE);
00391   p7_11b->color(COLOR3);
00392   p7_11b->textcolor(TXT_COLOR);
00393   p7_11b->selection_color(COLOR_SEL);
00394   p7_11b->tooltip("p17 serie");
00395   p7_11b->cursor_color(TXT_COLOR2);
00396   p7_11b->textfont(IN_TEXT_FONTS);
00397 
00398   p7_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00399   p7_12b->box(BOX_TYPE3);
00400   p7_12b->textsize(TXT_SIZE);
00401   p7_12b->color(COLOR3);
00402   p7_12b->textcolor(TXT_COLOR);
00403   p7_12b->selection_color(COLOR_SEL);
00404   p7_12b->tooltip("p17 serie");
00405   p7_12b->cursor_color(TXT_COLOR2);
00406   p7_12b->textfont(IN_TEXT_FONTS);
00407 
00408   bt_enable_p7b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H+5,20,20);
00409   bt_enable_p7b->tooltip("Enable p17 serie");
00410   bt_enable_p7b->box(BOX_TYPE);
00411   bt_enable_p7b->selection_color(E_BUTTTON_COLOR);
00412   bt_enable_p7b->callback(enableCtpp7b_cb);
00413 
00414   bt_enable_p7bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H+5,20,20);
00415   bt_enable_p7bCtp->tooltip("Enable p17 counterpoint functions");
00416   bt_enable_p7bCtp->box(BOX_TYPE);
00417   bt_enable_p7bCtp->selection_color(E_BUTTTON_COLOR);
00418   bt_enable_p7bCtp->callback(enable_p7b_cb);
00419 
00420   outP7b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H+5,HB,CTRL_H,"M");
00421   outP7b->box(BOX_TYPE);
00422   outP7b->labelsize(11);
00423   outP7b->selection_color(FL_GREEN);
00424   outP7b->labelcolor(FL_RED);
00425   outP7b->tooltip(MEMO);
00426 
00427   p8_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00428   p8_1b->textsize(TXT_SIZE);
00429   p8_1b->box(BOX_TYPE3);
00430   p8_1b->align(FL_ALIGN_TOP_LEFT);
00431   p8_1b->color(COLOR3);
00432   p8_1b->textcolor(TXT_COLOR);
00433   p8_1b->selection_color(COLOR_SEL);
00434   p8_1b->labelcolor(CTRL_LABEL_COLOR);
00435   p8_1b->tooltip("p18 serie");
00436   p8_1b->cursor_color(TXT_COLOR2);
00437   p8_1b->textfont(IN_TEXT_FONTS);
00438 
00439   p8_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00440   p8_2b->box(BOX_TYPE3);
00441   p8_2b->textsize(TXT_SIZE);
00442   p8_2b->color(COLOR3);
00443   p8_2b->textcolor(TXT_COLOR);
00444   p8_2b->selection_color(COLOR_SEL);
00445   p8_2b->tooltip("p18 serie");
00446   p8_2b->cursor_color(TXT_COLOR2);
00447   p8_2b->textfont(IN_TEXT_FONTS);
00448 
00449   p8_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00450   p8_3b->box(BOX_TYPE3);
00451   p8_3b->textsize(TXT_SIZE);
00452   p8_3b->color(COLOR3);
00453   p8_3b->textcolor(TXT_COLOR);
00454   p8_3b->selection_color(COLOR_SEL);
00455   p8_3b->tooltip("p18 serie");
00456   p8_3b->cursor_color(TXT_COLOR2);
00457   p8_3b->textfont(IN_TEXT_FONTS);
00458 
00459   p8_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00460   p8_4b->box(BOX_TYPE3);
00461   p8_4b->textsize(TXT_SIZE);
00462   p8_4b->color(COLOR3);
00463   p8_4b->textcolor(TXT_COLOR);
00464   p8_4b->selection_color(COLOR_SEL);
00465   p8_4b->tooltip("p18 serie");
00466   p8_4b->cursor_color(TXT_COLOR2);
00467   p8_4b->textfont(IN_TEXT_FONTS);
00468 
00469   p8_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00470   p8_5b->box(BOX_TYPE3);
00471   p8_5b->textsize(TXT_SIZE);
00472   p8_5b->color(COLOR3);
00473   p8_5b->textcolor(TXT_COLOR);
00474   p8_5b->selection_color(COLOR_SEL);
00475   p8_5b->tooltip("p18 serie");
00476   p8_5b->cursor_color(TXT_COLOR2);
00477   p8_5b->textfont(IN_TEXT_FONTS);
00478 
00479   p8_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00480   p8_6b->box(BOX_TYPE3);
00481   p8_6b->textsize(TXT_SIZE);
00482   p8_6b->color(COLOR3);
00483   p8_6b->textcolor(TXT_COLOR);
00484   p8_6b->selection_color(COLOR_SEL);
00485   p8_6b->tooltip("p18 serie");
00486   p8_6b->cursor_color(TXT_COLOR2);
00487   p8_6b->textfont(IN_TEXT_FONTS);
00488 
00489   p8_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00490   p8_7b->box(BOX_TYPE3);
00491   p8_7b->textsize(TXT_SIZE);
00492   p8_7b->color(COLOR3);
00493   p8_7b->textcolor(TXT_COLOR);
00494   p8_7b->selection_color(COLOR_SEL);
00495   p8_7b->tooltip("p18 serie");
00496   p8_7b->cursor_color(TXT_COLOR2);
00497   p8_7b->textfont(IN_TEXT_FONTS);
00498 
00499   p8_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00500   p8_8b->box(BOX_TYPE3);
00501   p8_8b->textsize(TXT_SIZE);
00502   p8_8b->color(COLOR3);
00503   p8_8b->textcolor(TXT_COLOR);
00504   p8_8b->selection_color(COLOR_SEL);
00505   p8_8b->tooltip("p18 serie");
00506   p8_8b->cursor_color(TXT_COLOR2);
00507   p8_8b->textfont(IN_TEXT_FONTS);
00508 
00509   p8_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00510   p8_9b->box(BOX_TYPE3);
00511   p8_9b->textsize(TXT_SIZE);
00512   p8_9b->color(COLOR3);
00513   p8_9b->textcolor(TXT_COLOR);
00514   p8_9b->selection_color(COLOR_SEL);
00515   p8_9b->tooltip("p18 serie");
00516   p8_9b->cursor_color(TXT_COLOR2);
00517   p8_9b->textfont(IN_TEXT_FONTS);
00518 
00519   p8_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00520   p8_10b->box(BOX_TYPE3);
00521   p8_10b->textsize(TXT_SIZE);
00522   p8_10b->color(COLOR3);
00523   p8_10b->textcolor(TXT_COLOR);
00524   p8_10b->selection_color(COLOR_SEL);
00525   p8_10b->tooltip("p18 serie");
00526   p8_10b->cursor_color(TXT_COLOR2);
00527   p8_10b->textfont(IN_TEXT_FONTS);
00528 
00529   p8_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00530   p8_11b->box(BOX_TYPE3);
00531   p8_11b->textsize(TXT_SIZE);
00532   p8_11b->color(COLOR3);
00533   p8_11b->textcolor(TXT_COLOR);
00534   p8_11b->selection_color(COLOR_SEL);
00535   p8_11b->tooltip("p18 serie");
00536   p8_11b->cursor_color(TXT_COLOR2);
00537   p8_11b->textfont(IN_TEXT_FONTS);
00538 
00539   p8_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00540   p8_12b->box(BOX_TYPE3);
00541   p8_12b->textsize(TXT_SIZE);
00542   p8_12b->color(COLOR3);
00543   p8_12b->textcolor(TXT_COLOR);
00544   p8_12b->selection_color(COLOR_SEL);
00545   p8_12b->tooltip("p18 serie");
00546   p8_12b->cursor_color(TXT_COLOR2);
00547   p8_12b->textfont(IN_TEXT_FONTS);
00548 
00549   bt_enable_p8b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*2+10,20,20);
00550   bt_enable_p8b->tooltip("Enable p18 serie");
00551   bt_enable_p8b->box(BOX_TYPE);
00552   bt_enable_p8b->selection_color(E_BUTTTON_COLOR);
00553   bt_enable_p8b->callback(enableCtpp8b_cb);
00554 
00555   bt_enable_p8bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*2+10,20,20);
00556   bt_enable_p8bCtp->tooltip("Enable p18 counterpoint functions");
00557   bt_enable_p8bCtp->box(BOX_TYPE);
00558   bt_enable_p8bCtp->selection_color(E_BUTTTON_COLOR);
00559   bt_enable_p8bCtp->callback(enable_p8b_cb);
00560 
00561   outP8b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*2+10,HB,CTRL_H,"M");
00562   outP8b->box(BOX_TYPE);
00563   outP8b->labelsize(11);
00564   outP8b->selection_color(FL_GREEN);
00565   outP8b->labelcolor(FL_RED);
00566   outP8b->tooltip(MEMO);
00567 
00568   p9_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00569   p9_1b->textsize(TXT_SIZE);
00570   p9_1b->box(BOX_TYPE3);
00571   p9_1b->align(FL_ALIGN_TOP_LEFT);
00572   p9_1b->color(COLOR3);
00573   p9_1b->textcolor(TXT_COLOR);
00574   p9_1b->selection_color(COLOR_SEL);
00575   p9_1b->labelcolor(CTRL_LABEL_COLOR);
00576   p9_1b->tooltip("p19 serie");
00577   p9_1b->cursor_color(TXT_COLOR2);
00578   p9_1b->textfont(IN_TEXT_FONTS);
00579 
00580   p9_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00581   p9_2b->box(BOX_TYPE3);
00582   p9_2b->textsize(TXT_SIZE);
00583   p9_2b->color(COLOR3);
00584   p9_2b->textcolor(TXT_COLOR);
00585   p9_2b->selection_color(COLOR_SEL);
00586   p9_2b->tooltip("p19 serie");
00587   p9_2b->cursor_color(TXT_COLOR2);
00588   p9_2b->textfont(IN_TEXT_FONTS);
00589 
00590   p9_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00591   p9_3b->box(BOX_TYPE3);
00592   p9_3b->textsize(TXT_SIZE);
00593   p9_3b->color(COLOR3);
00594   p9_3b->textcolor(TXT_COLOR);
00595   p9_3b->selection_color(COLOR_SEL);
00596   p9_3b->tooltip("p19 serie");
00597   p9_3b->cursor_color(TXT_COLOR2);
00598   p9_3b->textfont(IN_TEXT_FONTS);
00599 
00600   p9_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00601   p9_4b->box(BOX_TYPE3);
00602   p9_4b->textsize(TXT_SIZE);
00603   p9_4b->color(COLOR3);
00604   p9_4b->textcolor(TXT_COLOR);
00605   p9_4b->selection_color(COLOR_SEL);
00606   p9_4b->tooltip("p19 serie");
00607   p9_4b->cursor_color(TXT_COLOR2);
00608   p9_4b->textfont(IN_TEXT_FONTS);
00609 
00610   p9_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00611   p9_5b->box(BOX_TYPE3);
00612   p9_5b->textsize(TXT_SIZE);
00613   p9_5b->color(COLOR3);
00614   p9_5b->textcolor(TXT_COLOR);
00615   p9_5b->selection_color(COLOR_SEL);
00616   p9_5b->tooltip("p19 serie");
00617   p9_5b->cursor_color(TXT_COLOR2);
00618   p9_5b->textfont(IN_TEXT_FONTS);
00619 
00620   p9_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00621   p9_6b->box(BOX_TYPE3);
00622   p9_6b->textsize(TXT_SIZE);
00623   p9_6b->color(COLOR3);
00624   p9_6b->textcolor(TXT_COLOR);
00625   p9_6b->selection_color(COLOR_SEL);
00626   p9_6b->tooltip("p19 serie");
00627   p9_6b->cursor_color(TXT_COLOR2);
00628   p9_6b->textfont(IN_TEXT_FONTS);
00629 
00630   p9_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00631   p9_7b->box(BOX_TYPE3);
00632   p9_7b->textsize(TXT_SIZE);
00633   p9_7b->color(COLOR3);
00634   p9_7b->textcolor(TXT_COLOR);
00635   p9_7b->selection_color(COLOR_SEL);
00636   p9_7b->tooltip("p19 serie");
00637   p9_7b->cursor_color(TXT_COLOR2);
00638   p9_7b->textfont(IN_TEXT_FONTS);
00639 
00640   p9_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00641   p9_8b->box(BOX_TYPE3);
00642   p9_8b->textsize(TXT_SIZE);
00643   p9_8b->color(COLOR3);
00644   p9_8b->textcolor(TXT_COLOR);
00645   p9_8b->selection_color(COLOR_SEL);
00646   p9_8b->tooltip("p19 serie");
00647   p9_8b->cursor_color(TXT_COLOR2);
00648   p9_8b->textfont(IN_TEXT_FONTS);
00649 
00650   p9_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00651   p9_9b->box(BOX_TYPE3);
00652   p9_9b->textsize(TXT_SIZE);
00653   p9_9b->color(COLOR3);
00654   p9_9b->textcolor(TXT_COLOR);
00655   p9_9b->selection_color(COLOR_SEL);
00656   p9_9b->tooltip("p19 serie");
00657   p9_9b->cursor_color(TXT_COLOR2);
00658   p9_9b->textfont(IN_TEXT_FONTS);
00659 
00660   p9_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00661   p9_10b->box(BOX_TYPE3);
00662   p9_10b->textsize(TXT_SIZE);
00663   p9_10b->color(COLOR3);
00664   p9_10b->textcolor(TXT_COLOR);
00665   p9_10b->selection_color(COLOR_SEL);
00666   p9_10b->tooltip("p19 serie");
00667   p9_10b->cursor_color(TXT_COLOR2);
00668   p9_10b->textfont(IN_TEXT_FONTS);
00669 
00670   p9_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00671   p9_11b->box(BOX_TYPE3);
00672   p9_11b->textsize(TXT_SIZE);
00673   p9_11b->color(COLOR3);
00674   p9_11b->textcolor(TXT_COLOR);
00675   p9_11b->selection_color(COLOR_SEL);
00676   p9_11b->tooltip("p19 serie");
00677   p9_11b->cursor_color(TXT_COLOR2);
00678   p9_11b->textfont(IN_TEXT_FONTS);
00679 
00680   p9_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00681   p9_12b->box(BOX_TYPE3);
00682   p9_12b->textsize(TXT_SIZE);
00683   p9_12b->color(COLOR3);
00684   p9_12b->textcolor(TXT_COLOR);
00685   p9_12b->selection_color(COLOR_SEL);
00686   p9_12b->tooltip("p19 serie");
00687   p9_12b->cursor_color(TXT_COLOR2);
00688   p9_12b->textfont(IN_TEXT_FONTS);
00689 
00690   bt_enable_p9b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*3+15,20,20);
00691   bt_enable_p9b->tooltip("Enable p19 serie");
00692   bt_enable_p9b->box(BOX_TYPE);
00693   bt_enable_p9b->selection_color(E_BUTTTON_COLOR);
00694   bt_enable_p9b->callback(enableCtpp9b_cb);
00695 
00696   bt_enable_p9bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*3+15,20,20);
00697   bt_enable_p9bCtp->tooltip("Enable p19 counterpoint functions");
00698   bt_enable_p9bCtp->box(BOX_TYPE);
00699   bt_enable_p9bCtp->selection_color(E_BUTTTON_COLOR);
00700   bt_enable_p9bCtp->callback(enable_p9b_cb);
00701 
00702   outP9b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*3+15,HB,CTRL_H,"M");
00703   outP9b->box(BOX_TYPE);
00704   outP9b->labelsize(11);
00705   outP9b->selection_color(FL_GREEN);
00706   outP9b->labelcolor(FL_RED);
00707   outP9b->tooltip(MEMO);
00708 
00709   p10_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00710   p10_1b->textsize(TXT_SIZE);
00711   p10_1b->box(BOX_TYPE3);
00712   p10_1b->align(FL_ALIGN_TOP_LEFT);
00713   p10_1b->color(COLOR3);
00714   p10_1b->textcolor(TXT_COLOR);
00715   p10_1b->selection_color(COLOR_SEL);
00716   p10_1b->labelcolor(CTRL_LABEL_COLOR);
00717   p10_1b->tooltip("p20 serie");
00718   p10_1b->cursor_color(TXT_COLOR2);
00719   p10_1b->textfont(IN_TEXT_FONTS);
00720 
00721   p10_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00722   p10_2b->box(BOX_TYPE3);
00723   p10_2b->textsize(TXT_SIZE);
00724   p10_2b->color(COLOR3);
00725   p10_2b->textcolor(TXT_COLOR);
00726   p10_2b->selection_color(COLOR_SEL);
00727   p10_2b->tooltip("p20 serie");
00728   p10_2b->cursor_color(TXT_COLOR2);
00729   p10_2b->textfont(IN_TEXT_FONTS);
00730 
00731   p10_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00732   p10_3b->box(BOX_TYPE3);
00733   p10_3b->textsize(TXT_SIZE);
00734   p10_3b->color(COLOR3);
00735   p10_3b->textcolor(TXT_COLOR);
00736   p10_3b->selection_color(COLOR_SEL);
00737   p10_3b->tooltip("p20 serie");
00738   p10_3b->cursor_color(TXT_COLOR2);
00739   p10_3b->textfont(IN_TEXT_FONTS);
00740 
00741   p10_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00742   p10_4b->box(BOX_TYPE3);
00743   p10_4b->textsize(TXT_SIZE);
00744   p10_4b->color(COLOR3);
00745   p10_4b->textcolor(TXT_COLOR);
00746   p10_4b->selection_color(COLOR_SEL);
00747   p10_4b->tooltip("p20 serie");
00748   p10_4b->cursor_color(TXT_COLOR2);
00749   p10_4b->textfont(IN_TEXT_FONTS);
00750 
00751   p10_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00752   p10_5b->box(BOX_TYPE3);
00753   p10_5b->textsize(TXT_SIZE);
00754   p10_5b->color(COLOR3);
00755   p10_5b->textcolor(TXT_COLOR);
00756   p10_5b->selection_color(COLOR_SEL);
00757   p10_5b->tooltip("p20 serie");
00758   p10_5b->cursor_color(TXT_COLOR2);
00759   p10_5b->textfont(IN_TEXT_FONTS);
00760 
00761   p10_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00762   p10_6b->box(BOX_TYPE3);
00763   p10_6b->textsize(TXT_SIZE);
00764   p10_6b->color(COLOR3);
00765   p10_6b->textcolor(TXT_COLOR);
00766   p10_6b->selection_color(COLOR_SEL);
00767   p10_6b->tooltip("p20 serie");
00768   p10_6b->cursor_color(TXT_COLOR2);
00769   p10_6b->textfont(IN_TEXT_FONTS);
00770 
00771   p10_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00772   p10_7b->box(BOX_TYPE3);
00773   p10_7b->textsize(TXT_SIZE);
00774   p10_7b->color(COLOR3);
00775   p10_7b->textcolor(TXT_COLOR);
00776   p10_7b->selection_color(COLOR_SEL);
00777   p10_7b->tooltip("p20 serie");
00778   p10_7b->cursor_color(TXT_COLOR2);
00779   p10_7b->textfont(IN_TEXT_FONTS);
00780 
00781   p10_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00782   p10_8b->box(BOX_TYPE3);
00783   p10_8b->textsize(TXT_SIZE);
00784   p10_8b->color(COLOR3);
00785   p10_8b->textcolor(TXT_COLOR);
00786   p10_8b->selection_color(COLOR_SEL);
00787   p10_8b->tooltip("p20 serie");
00788   p10_8b->cursor_color(TXT_COLOR2);
00789   p10_8b->textfont(IN_TEXT_FONTS);
00790 
00791   p10_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00792   p10_9b->box(BOX_TYPE3);
00793   p10_9b->textsize(TXT_SIZE);
00794   p10_9b->color(COLOR3);
00795   p10_9b->textcolor(TXT_COLOR);
00796   p10_9b->selection_color(COLOR_SEL);
00797   p10_9b->tooltip("p20 serie");
00798   p10_9b->cursor_color(TXT_COLOR2);
00799   p10_9b->textfont(IN_TEXT_FONTS);
00800 
00801   p10_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00802   p10_10b->box(BOX_TYPE3);
00803   p10_10b->textsize(TXT_SIZE);
00804   p10_10b->color(COLOR3);
00805   p10_10b->textcolor(TXT_COLOR);
00806   p10_10b->selection_color(COLOR_SEL);
00807   p10_10b->tooltip("p20 serie");
00808   p10_10b->cursor_color(TXT_COLOR2);
00809   p10_10b->textfont(IN_TEXT_FONTS);
00810 
00811   p10_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00812   p10_11b->box(BOX_TYPE3);
00813   p10_11b->textsize(TXT_SIZE);
00814   p10_11b->color(COLOR3);
00815   p10_11b->textcolor(TXT_COLOR);
00816   p10_11b->selection_color(COLOR_SEL);
00817   p10_11b->tooltip("p20 serie");
00818   p10_11b->cursor_color(TXT_COLOR2);
00819   p10_11b->textfont(IN_TEXT_FONTS);
00820 
00821   p10_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00822   p10_12b->box(BOX_TYPE3);
00823   p10_12b->textsize(TXT_SIZE);
00824   p10_12b->color(COLOR3);
00825   p10_12b->textcolor(TXT_COLOR);
00826   p10_12b->selection_color(COLOR_SEL);
00827   p10_12b->tooltip("p20 serie");
00828   p10_12b->cursor_color(TXT_COLOR2);
00829   p10_12b->textfont(IN_TEXT_FONTS);
00830 
00831   bt_enable_p10b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*4+20,20,20);
00832   bt_enable_p10b->tooltip("Enable p20 serie");
00833   bt_enable_p10b->box(BOX_TYPE);
00834   bt_enable_p10b->selection_color(E_BUTTTON_COLOR);
00835   bt_enable_p10b->callback(enableCtpp10b_cb);
00836 
00837   bt_enable_p10bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*4+20,20,20);
00838   bt_enable_p10bCtp->tooltip("Enable p20 counterpoint functions");
00839   bt_enable_p10bCtp->box(BOX_TYPE);
00840   bt_enable_p10bCtp->selection_color(E_BUTTTON_COLOR);
00841   bt_enable_p10bCtp->callback(enable_p10b_cb);
00842 
00843   outP10b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*4+20,HB,CTRL_H,"M");
00844   outP10b->box(BOX_TYPE);
00845   outP10b->labelsize(11);
00846   outP10b->selection_color(FL_GREEN);
00847   outP10b->labelcolor(FL_RED);
00848   outP10b->tooltip(MEMO);
00849 
00850   p11_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00851   p11_1b->textsize(TXT_SIZE);
00852   p11_1b->box(BOX_TYPE3);
00853   p11_1b->align(FL_ALIGN_TOP_LEFT);
00854   p11_1b->color(COLOR3);
00855   p11_1b->textcolor(TXT_COLOR);
00856   p11_1b->selection_color(COLOR_SEL);
00857   p11_1b->labelcolor(CTRL_LABEL_COLOR);
00858   p11_1b->tooltip("p21 serie");
00859   p11_1b->cursor_color(TXT_COLOR2);
00860   p11_1b->textfont(IN_TEXT_FONTS);
00861 
00862   p11_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00863   p11_2b->box(BOX_TYPE3);
00864   p11_2b->textsize(TXT_SIZE);
00865   p11_2b->color(COLOR3);
00866   p11_2b->textcolor(TXT_COLOR);
00867   p11_2b->selection_color(COLOR_SEL);
00868   p11_2b->tooltip("p21 serie");
00869   p11_2b->cursor_color(TXT_COLOR2);
00870   p11_2b->textfont(IN_TEXT_FONTS);
00871 
00872   p11_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00873   p11_3b->box(BOX_TYPE3);
00874   p11_3b->textsize(TXT_SIZE);
00875   p11_3b->color(COLOR3);
00876   p11_3b->textcolor(TXT_COLOR);
00877   p11_3b->selection_color(COLOR_SEL);
00878   p11_3b->tooltip("p21 serie");
00879   p11_3b->cursor_color(TXT_COLOR2);
00880   p11_3b->textfont(IN_TEXT_FONTS);
00881 
00882   p11_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00883   p11_4b->box(BOX_TYPE3);
00884   p11_4b->textsize(TXT_SIZE);
00885   p11_4b->color(COLOR3);
00886   p11_4b->textcolor(TXT_COLOR);
00887   p11_4b->selection_color(COLOR_SEL);
00888   p11_4b->tooltip("p21 serie");
00889   p11_4b->cursor_color(TXT_COLOR2);
00890   p11_4b->textfont(IN_TEXT_FONTS);
00891 
00892   p11_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00893   p11_5b->box(BOX_TYPE3);
00894   p11_5b->textsize(TXT_SIZE);
00895   p11_5b->color(COLOR3);
00896   p11_5b->textcolor(TXT_COLOR);
00897   p11_5b->selection_color(COLOR_SEL);
00898   p11_5b->tooltip("p21 serie");
00899   p11_5b->cursor_color(TXT_COLOR2);
00900   p11_5b->textfont(IN_TEXT_FONTS);
00901 
00902   p11_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00903   p11_6b->box(BOX_TYPE3);
00904   p11_6b->textsize(TXT_SIZE);
00905   p11_6b->color(COLOR3);
00906   p11_6b->textcolor(TXT_COLOR);
00907   p11_6b->selection_color(COLOR_SEL);
00908   p11_6b->tooltip("p21 serie");
00909   p11_6b->cursor_color(TXT_COLOR2);
00910   p11_6b->textfont(IN_TEXT_FONTS);
00911 
00912   p11_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00913   p11_7b->box(BOX_TYPE3);
00914   p11_7b->textsize(TXT_SIZE);
00915   p11_7b->color(COLOR3);
00916   p11_7b->textcolor(TXT_COLOR);
00917   p11_7b->selection_color(COLOR_SEL);
00918   p11_7b->tooltip("p21 serie");
00919   p11_7b->cursor_color(TXT_COLOR2);
00920   p11_7b->textfont(IN_TEXT_FONTS);
00921 
00922   p11_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00923   p11_8b->box(BOX_TYPE3);
00924   p11_8b->textsize(TXT_SIZE);
00925   p11_8b->color(COLOR3);
00926   p11_8b->textcolor(TXT_COLOR);
00927   p11_8b->selection_color(COLOR_SEL);
00928   p11_8b->tooltip("p21 serie");
00929   p11_8b->cursor_color(TXT_COLOR2);
00930   p11_8b->textfont(IN_TEXT_FONTS);
00931 
00932   p11_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00933   p11_9b->box(BOX_TYPE3);
00934   p11_9b->textsize(TXT_SIZE);
00935   p11_9b->color(COLOR3);
00936   p11_9b->textcolor(TXT_COLOR);
00937   p11_9b->selection_color(COLOR_SEL);
00938   p11_9b->tooltip("p21 serie");
00939   p11_9b->cursor_color(TXT_COLOR2);
00940   p11_9b->textfont(IN_TEXT_FONTS);
00941 
00942   p11_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00943   p11_10b->box(BOX_TYPE3);
00944   p11_10b->textsize(TXT_SIZE);
00945   p11_10b->color(COLOR3);
00946   p11_10b->textcolor(TXT_COLOR);
00947   p11_10b->selection_color(COLOR_SEL);
00948   p11_10b->tooltip("p21 serie");
00949   p11_10b->cursor_color(TXT_COLOR2);
00950   p11_10b->textfont(IN_TEXT_FONTS);
00951 
00952   p11_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00953   p11_11b->box(BOX_TYPE3);
00954   p11_11b->textsize(TXT_SIZE);
00955   p11_11b->color(COLOR3);
00956   p11_11b->textcolor(TXT_COLOR);
00957   p11_11b->selection_color(COLOR_SEL);
00958   p11_11b->tooltip("p21 serie");
00959   p11_11b->cursor_color(TXT_COLOR2);
00960   p11_11b->textfont(IN_TEXT_FONTS);
00961 
00962   p11_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00963   p11_12b->box(BOX_TYPE3);
00964   p11_12b->textsize(TXT_SIZE);
00965   p11_12b->color(COLOR3);
00966   p11_12b->textcolor(TXT_COLOR);
00967   p11_12b->selection_color(COLOR_SEL);
00968   p11_12b->tooltip("p21 serie");
00969   p11_12b->cursor_color(TXT_COLOR2);
00970   p11_12b->textfont(IN_TEXT_FONTS);
00971 
00972   bt_enable_p11b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*5+25,20,20);
00973   bt_enable_p11b->tooltip("Enable p21 serie");
00974   bt_enable_p11b->box(BOX_TYPE);
00975   bt_enable_p11b->selection_color(E_BUTTTON_COLOR);
00976   bt_enable_p11b->callback(enableCtpp11b_cb);
00977 
00978   bt_enable_p11bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*5+25,20,20);
00979   bt_enable_p11bCtp->tooltip("Enable p21 counterpoint functions");
00980   bt_enable_p11bCtp->box(BOX_TYPE);
00981   bt_enable_p11bCtp->selection_color(E_BUTTTON_COLOR);
00982   bt_enable_p11bCtp->callback(enable_p11b_cb);
00983 
00984   outP11b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*5+25,HB,CTRL_H,"M");
00985   outP11b->box(BOX_TYPE);
00986   outP11b->labelsize(11);
00987   outP11b->selection_color(FL_GREEN);
00988   outP11b->labelcolor(FL_RED);
00989   outP11b->tooltip(MEMO);
00990 
00991   p12_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
00992   p12_1b->textsize(TXT_SIZE);
00993   p12_1b->box(BOX_TYPE3);
00994   p12_1b->align(FL_ALIGN_TOP_LEFT);
00995   p12_1b->color(COLOR3);
00996   p12_1b->textcolor(TXT_COLOR);
00997   p12_1b->selection_color(COLOR_SEL);
00998   p12_1b->labelcolor(CTRL_LABEL_COLOR);
00999   p12_1b->tooltip("p22 serie");
01000   p12_1b->cursor_color(TXT_COLOR2);
01001   p12_1b->textfont(IN_TEXT_FONTS);
01002 
01003   p12_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01004   p12_2b->box(BOX_TYPE3);
01005   p12_2b->textsize(TXT_SIZE);
01006   p12_2b->color(COLOR3);
01007   p12_2b->textcolor(TXT_COLOR);
01008   p12_2b->selection_color(COLOR_SEL);
01009   p12_2b->tooltip("p22 serie");
01010   p12_2b->cursor_color(TXT_COLOR2);
01011   p12_2b->textfont(IN_TEXT_FONTS);
01012 
01013   p12_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01014   p12_3b->box(BOX_TYPE3);
01015   p12_3b->textsize(TXT_SIZE);
01016   p12_3b->color(COLOR3);
01017   p12_3b->textcolor(TXT_COLOR);
01018   p12_3b->selection_color(COLOR_SEL);
01019   p12_3b->tooltip("p22 serie");
01020   p12_3b->cursor_color(TXT_COLOR2);
01021   p12_3b->textfont(IN_TEXT_FONTS);
01022 
01023   p12_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01024   p12_4b->box(BOX_TYPE3);
01025   p12_4b->textsize(TXT_SIZE);
01026   p12_4b->color(COLOR3);
01027   p12_4b->textcolor(TXT_COLOR);
01028   p12_4b->selection_color(COLOR_SEL);
01029   p12_4b->tooltip("p22 serie");
01030   p12_4b->cursor_color(TXT_COLOR2);
01031   p12_4b->textfont(IN_TEXT_FONTS);
01032 
01033   p12_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01034   p12_5b->box(BOX_TYPE3);
01035   p12_5b->textsize(TXT_SIZE);
01036   p12_5b->color(COLOR3);
01037   p12_5b->textcolor(TXT_COLOR);
01038   p12_5b->selection_color(COLOR_SEL);
01039   p12_5b->tooltip("p22 serie");
01040   p12_5b->cursor_color(TXT_COLOR2);
01041   p12_5b->textfont(IN_TEXT_FONTS);
01042 
01043   p12_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01044   p12_6b->box(BOX_TYPE3);
01045   p12_6b->textsize(TXT_SIZE);
01046   p12_6b->color(COLOR3);
01047   p12_6b->textcolor(TXT_COLOR);
01048   p12_6b->selection_color(COLOR_SEL);
01049   p12_6b->tooltip("p22 serie");
01050   p12_6b->cursor_color(TXT_COLOR2);
01051   p12_6b->textfont(IN_TEXT_FONTS);
01052 
01053   p12_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01054   p12_7b->box(BOX_TYPE3);
01055   p12_7b->textsize(TXT_SIZE);
01056   p12_7b->color(COLOR3);
01057   p12_7b->textcolor(TXT_COLOR);
01058   p12_7b->selection_color(COLOR_SEL);
01059   p12_7b->tooltip("p22 serie");
01060   p12_7b->cursor_color(TXT_COLOR2);
01061   p12_7b->textfont(IN_TEXT_FONTS);
01062 
01063   p12_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01064   p12_8b->box(BOX_TYPE3);
01065   p12_8b->textsize(TXT_SIZE);
01066   p12_8b->color(COLOR3);
01067   p12_8b->textcolor(TXT_COLOR);
01068   p12_8b->selection_color(COLOR_SEL);
01069   p12_8b->tooltip("p22 serie");
01070   p12_8b->cursor_color(TXT_COLOR2);
01071   p12_8b->textfont(IN_TEXT_FONTS);
01072 
01073   p12_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01074   p12_9b->box(BOX_TYPE3);
01075   p12_9b->textsize(TXT_SIZE);
01076   p12_9b->color(COLOR3);
01077   p12_9b->textcolor(TXT_COLOR);
01078   p12_9b->selection_color(COLOR_SEL);
01079   p12_9b->tooltip("p22 serie");
01080   p12_9b->cursor_color(TXT_COLOR2);
01081   p12_9b->textfont(IN_TEXT_FONTS);
01082 
01083   p12_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01084   p12_10b->box(BOX_TYPE3);
01085   p12_10b->textsize(TXT_SIZE);
01086   p12_10b->color(COLOR3);
01087   p12_10b->textcolor(TXT_COLOR);
01088   p12_10b->selection_color(COLOR_SEL);
01089   p12_10b->tooltip("p22 serie");
01090   p12_10b->cursor_color(TXT_COLOR2);
01091   p12_10b->textfont(IN_TEXT_FONTS);
01092 
01093   p12_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01094   p12_11b->box(BOX_TYPE3);
01095   p12_11b->textsize(TXT_SIZE);
01096   p12_11b->color(COLOR3);
01097   p12_11b->textcolor(TXT_COLOR);
01098   p12_11b->selection_color(COLOR_SEL);
01099   p12_11b->tooltip("p22 serie");
01100   p12_11b->cursor_color(TXT_COLOR2);
01101   p12_11b->textfont(IN_TEXT_FONTS);
01102 
01103   p12_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01104   p12_12b->box(BOX_TYPE3);
01105   p12_12b->textsize(TXT_SIZE);
01106   p12_12b->color(COLOR3);
01107   p12_12b->textcolor(TXT_COLOR);
01108   p12_12b->selection_color(COLOR_SEL);
01109   p12_12b->tooltip("p22 serie");
01110   p12_12b->cursor_color(TXT_COLOR2);
01111   p12_12b->textfont(IN_TEXT_FONTS);
01112 
01113   bt_enable_p12b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*6+30,20,20);
01114   bt_enable_p12b->tooltip("Enable p22 serie");
01115   bt_enable_p12b->box(BOX_TYPE);
01116   bt_enable_p12b->selection_color(E_BUTTTON_COLOR);
01117   bt_enable_p12b->callback(enableCtpp12b_cb);
01118 
01119   bt_enable_p12bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*6+30,20,20);
01120   bt_enable_p12bCtp->tooltip("Enable p22 counterpoint functions");
01121   bt_enable_p12bCtp->box(BOX_TYPE);
01122   bt_enable_p12bCtp->selection_color(E_BUTTTON_COLOR);
01123   bt_enable_p12bCtp->callback(enable_p12b_cb);
01124 
01125   outP12b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*6+30,HB,CTRL_H,"M");
01126   outP12b->box(BOX_TYPE);
01127   outP12b->labelsize(11);
01128   outP12b->selection_color(FL_GREEN);
01129   outP12b->labelcolor(FL_RED);
01130   outP12b->tooltip(MEMO);
01131 
01132   p13_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01133   p13_1b->textsize(TXT_SIZE);
01134   p13_1b->box(BOX_TYPE3);
01135   p13_1b->align(FL_ALIGN_TOP_LEFT);
01136   p13_1b->color(COLOR3);
01137   p13_1b->textcolor(TXT_COLOR);
01138   p13_1b->selection_color(COLOR_SEL);
01139   p13_1b->labelcolor(CTRL_LABEL_COLOR);
01140   p13_1b->tooltip("p23 serie");
01141   p13_1b->cursor_color(TXT_COLOR2);
01142   p13_1b->textfont(IN_TEXT_FONTS);
01143 
01144   p13_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01145   p13_2b->box(BOX_TYPE3);
01146   p13_2b->textsize(TXT_SIZE);
01147   p13_2b->color(COLOR3);
01148   p13_2b->textcolor(TXT_COLOR);
01149   p13_2b->selection_color(COLOR_SEL);
01150   p13_2b->tooltip("p23 serie");
01151   p13_2b->cursor_color(TXT_COLOR2);
01152   p13_2b->textfont(IN_TEXT_FONTS);
01153 
01154   p13_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01155   p13_3b->box(BOX_TYPE3);
01156   p13_3b->textsize(TXT_SIZE);
01157   p13_3b->color(COLOR3);
01158   p13_3b->textcolor(TXT_COLOR);
01159   p13_3b->selection_color(COLOR_SEL);
01160   p13_3b->tooltip("p23 serie");
01161   p13_3b->cursor_color(TXT_COLOR2);
01162   p13_3b->textfont(IN_TEXT_FONTS);
01163 
01164   p13_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01165   p13_4b->box(BOX_TYPE3);
01166   p13_4b->textsize(TXT_SIZE);
01167   p13_4b->color(COLOR3);
01168   p13_4b->textcolor(TXT_COLOR);
01169   p13_4b->selection_color(COLOR_SEL);
01170   p13_4b->tooltip("p23 serie");
01171   p13_4b->cursor_color(TXT_COLOR2);
01172   p13_4b->textfont(IN_TEXT_FONTS);
01173 
01174   p13_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01175   p13_5b->box(BOX_TYPE3);
01176   p13_5b->textsize(TXT_SIZE);
01177   p13_5b->color(COLOR3);
01178   p13_5b->textcolor(TXT_COLOR);
01179   p13_5b->selection_color(COLOR_SEL);
01180   p13_5b->tooltip("p23 serie");
01181   p13_5b->cursor_color(TXT_COLOR2);
01182   p13_5b->textfont(IN_TEXT_FONTS);
01183 
01184   p13_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01185   p13_6b->box(BOX_TYPE3);
01186   p13_6b->textsize(TXT_SIZE);
01187   p13_6b->color(COLOR3);
01188   p13_6b->textcolor(TXT_COLOR);
01189   p13_6b->selection_color(COLOR_SEL);
01190   p13_6b->tooltip("p23 serie");
01191   p13_6b->cursor_color(TXT_COLOR2);
01192   p13_6b->textfont(IN_TEXT_FONTS);
01193 
01194   p13_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01195   p13_7b->box(BOX_TYPE3);
01196   p13_7b->textsize(TXT_SIZE);
01197   p13_7b->color(COLOR3);
01198   p13_7b->textcolor(TXT_COLOR);
01199   p13_7b->selection_color(COLOR_SEL);
01200   p13_7b->tooltip("p23 serie");
01201   p13_7b->cursor_color(TXT_COLOR2);
01202   p13_7b->textfont(IN_TEXT_FONTS);
01203 
01204   p13_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01205   p13_8b->box(BOX_TYPE3);
01206   p13_8b->textsize(TXT_SIZE);
01207   p13_8b->color(COLOR3);
01208   p13_8b->textcolor(TXT_COLOR);
01209   p13_8b->selection_color(COLOR_SEL);
01210   p13_8b->tooltip("p23 serie");
01211   p13_8b->cursor_color(TXT_COLOR2);
01212   p13_8b->textfont(IN_TEXT_FONTS);
01213 
01214   p13_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01215   p13_9b->box(BOX_TYPE3);
01216   p13_9b->textsize(TXT_SIZE);
01217   p13_9b->color(COLOR3);
01218   p13_9b->textcolor(TXT_COLOR);
01219   p13_9b->selection_color(COLOR_SEL);
01220   p13_9b->tooltip("p23 serie");
01221   p13_9b->cursor_color(TXT_COLOR2);
01222   p13_9b->textfont(IN_TEXT_FONTS);
01223 
01224   p13_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01225   p13_10b->box(BOX_TYPE3);
01226   p13_10b->textsize(TXT_SIZE);
01227   p13_10b->color(COLOR3);
01228   p13_10b->textcolor(TXT_COLOR);
01229   p13_10b->selection_color(COLOR_SEL);
01230   p13_10b->tooltip("p23 serie");
01231   p13_10b->cursor_color(TXT_COLOR2);
01232   p13_10b->textfont(IN_TEXT_FONTS);
01233 
01234   p13_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01235   p13_11b->box(BOX_TYPE3);
01236   p13_11b->textsize(TXT_SIZE);
01237   p13_11b->color(COLOR3);
01238   p13_11b->textcolor(TXT_COLOR);
01239   p13_11b->selection_color(COLOR_SEL);
01240   p13_11b->tooltip("p23 serie");
01241   p13_11b->cursor_color(TXT_COLOR2);
01242   p13_11b->textfont(IN_TEXT_FONTS);
01243 
01244   p13_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01245   p13_12b->box(BOX_TYPE3);
01246   p13_12b->textsize(TXT_SIZE);
01247   p13_12b->color(COLOR3);
01248   p13_12b->textcolor(TXT_COLOR);
01249   p13_12b->selection_color(COLOR_SEL);
01250   p13_12b->tooltip("p23 serie");
01251   p13_12b->cursor_color(TXT_COLOR2);
01252   p13_12b->textfont(IN_TEXT_FONTS);
01253 
01254   bt_enable_p13b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*7+35,20,20);
01255   bt_enable_p13b->tooltip("Enable p23 serie");
01256   bt_enable_p13b->box(BOX_TYPE);
01257   bt_enable_p13b->selection_color(E_BUTTTON_COLOR);
01258   bt_enable_p13b->callback(enableCtpp13b_cb);
01259 
01260   bt_enable_p13bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*7+35,20,20);
01261   bt_enable_p13bCtp->tooltip("Enable p23 counterpoint functions");
01262   bt_enable_p13bCtp->box(BOX_TYPE);
01263   bt_enable_p13bCtp->selection_color(E_BUTTTON_COLOR);
01264   bt_enable_p13bCtp->callback(enable_p13b_cb);
01265 
01266   outP13b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*7+35,HB,CTRL_H,"M");
01267   outP13b->box(BOX_TYPE);
01268   outP13b->labelsize(11);
01269   outP13b->selection_color(FL_GREEN);
01270   outP13b->labelcolor(FL_RED);
01271   outP13b->tooltip(MEMO);
01272 
01273   p14_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01274   p14_1b->textsize(TXT_SIZE);
01275   p14_1b->box(BOX_TYPE3);
01276   p14_1b->align(FL_ALIGN_TOP_LEFT);
01277   p14_1b->color(COLOR3);
01278   p14_1b->textcolor(TXT_COLOR);
01279   p14_1b->selection_color(COLOR_SEL);
01280   p14_1b->labelcolor(CTRL_LABEL_COLOR);
01281   p14_1b->tooltip("p24 serie");
01282   p14_1b->cursor_color(TXT_COLOR2);
01283   p14_1b->textfont(IN_TEXT_FONTS);
01284 
01285   p14_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01286   p14_2b->box(BOX_TYPE3);
01287   p14_2b->textsize(TXT_SIZE);
01288   p14_2b->color(COLOR3);
01289   p14_2b->textcolor(TXT_COLOR);
01290   p14_2b->selection_color(COLOR_SEL);
01291   p14_2b->tooltip("p24 serie");
01292   p14_2b->cursor_color(TXT_COLOR2);
01293   p14_2b->textfont(IN_TEXT_FONTS);
01294 
01295   p14_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01296   p14_3b->box(BOX_TYPE3);
01297   p14_3b->textsize(TXT_SIZE);
01298   p14_3b->color(COLOR3);
01299   p14_3b->textcolor(TXT_COLOR);
01300   p14_3b->selection_color(COLOR_SEL);
01301   p14_3b->tooltip("p24 serie");
01302   p14_3b->cursor_color(TXT_COLOR2);
01303   p14_3b->textfont(IN_TEXT_FONTS);
01304 
01305   p14_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01306   p14_4b->box(BOX_TYPE3);
01307   p14_4b->textsize(TXT_SIZE);
01308   p14_4b->color(COLOR3);
01309   p14_4b->textcolor(TXT_COLOR);
01310   p14_4b->selection_color(COLOR_SEL);
01311   p14_4b->tooltip("p24 serie");
01312   p14_4b->cursor_color(TXT_COLOR2);
01313   p14_4b->textfont(IN_TEXT_FONTS);
01314 
01315   p14_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01316   p14_5b->box(BOX_TYPE3);
01317   p14_5b->textsize(TXT_SIZE);
01318   p14_5b->color(COLOR3);
01319   p14_5b->textcolor(TXT_COLOR);
01320   p14_5b->selection_color(COLOR_SEL);
01321   p14_5b->tooltip("p24 serie");
01322   p14_5b->cursor_color(TXT_COLOR2);
01323   p14_5b->textfont(IN_TEXT_FONTS);
01324 
01325   p14_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01326   p14_6b->box(BOX_TYPE3);
01327   p14_6b->textsize(TXT_SIZE);
01328   p14_6b->color(COLOR3);
01329   p14_6b->textcolor(TXT_COLOR);
01330   p14_6b->selection_color(COLOR_SEL);
01331   p14_6b->tooltip("p24 serie");
01332   p14_6b->cursor_color(TXT_COLOR2);
01333   p14_6b->textfont(IN_TEXT_FONTS);
01334 
01335   p14_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01336   p14_7b->box(BOX_TYPE3);
01337   p14_7b->textsize(TXT_SIZE);
01338   p14_7b->color(COLOR3);
01339   p14_7b->textcolor(TXT_COLOR);
01340   p14_7b->selection_color(COLOR_SEL);
01341   p14_7b->tooltip("p24 serie");
01342   p14_7b->cursor_color(TXT_COLOR2);
01343   p14_7b->textfont(IN_TEXT_FONTS);
01344 
01345   p14_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01346   p14_8b->box(BOX_TYPE3);
01347   p14_8b->textsize(TXT_SIZE);
01348   p14_8b->color(COLOR3);
01349   p14_8b->textcolor(TXT_COLOR);
01350   p14_8b->selection_color(COLOR_SEL);
01351   p14_8b->tooltip("p24 serie");
01352   p14_8b->cursor_color(TXT_COLOR2);
01353   p14_8b->textfont(IN_TEXT_FONTS);
01354 
01355   p14_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01356   p14_9b->box(BOX_TYPE3);
01357   p14_9b->textsize(TXT_SIZE);
01358   p14_9b->color(COLOR3);
01359   p14_9b->textcolor(TXT_COLOR);
01360   p14_9b->selection_color(COLOR_SEL);
01361   p14_9b->tooltip("p24 serie");
01362   p14_9b->cursor_color(TXT_COLOR2);
01363   p14_9b->textfont(IN_TEXT_FONTS);
01364 
01365   p14_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01366   p14_10b->box(BOX_TYPE3);
01367   p14_10b->textsize(TXT_SIZE);
01368   p14_10b->color(COLOR3);
01369   p14_10b->textcolor(TXT_COLOR);
01370   p14_10b->selection_color(COLOR_SEL);
01371   p14_10b->tooltip("p24 serie");
01372   p14_10b->cursor_color(TXT_COLOR2);
01373   p14_10b->textfont(IN_TEXT_FONTS);
01374 
01375   p14_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01376   p14_11b->box(BOX_TYPE3);
01377   p14_11b->textsize(TXT_SIZE);
01378   p14_11b->color(COLOR3);
01379   p14_11b->textcolor(TXT_COLOR);
01380   p14_11b->selection_color(COLOR_SEL);
01381   p14_11b->tooltip("p24 serie");
01382   p14_11b->cursor_color(TXT_COLOR2);
01383   p14_11b->textfont(IN_TEXT_FONTS);
01384 
01385   p14_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01386   p14_12b->box(BOX_TYPE3);
01387   p14_12b->textsize(TXT_SIZE);
01388   p14_12b->color(COLOR3);
01389   p14_12b->textcolor(TXT_COLOR);
01390   p14_12b->selection_color(COLOR_SEL);
01391   p14_12b->tooltip("p24 serie");
01392   p14_12b->cursor_color(TXT_COLOR2);
01393   p14_12b->textfont(IN_TEXT_FONTS);
01394 
01395   bt_enable_p14b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*8+40,20,20);
01396   bt_enable_p14b->tooltip("Enable p24 serie");
01397   bt_enable_p14b->box(BOX_TYPE);
01398   bt_enable_p14b->selection_color(E_BUTTTON_COLOR);
01399   bt_enable_p14b->callback(enableCtpp14b_cb);
01400 
01401   bt_enable_p14bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*8+40,20,20);
01402   bt_enable_p14bCtp->tooltip("Enable p24 counterpoint functions");
01403   bt_enable_p14bCtp->box(BOX_TYPE);
01404   bt_enable_p14bCtp->selection_color(E_BUTTTON_COLOR);
01405   bt_enable_p14bCtp->callback(enable_p14b_cb);
01406 
01407   outP14b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*8+40,HB,CTRL_H,"M");
01408   outP14b->box(BOX_TYPE);
01409   outP14b->labelsize(11);
01410   outP14b->selection_color(FL_GREEN);
01411   outP14b->labelcolor(FL_RED);
01412   outP14b->tooltip(MEMO);
01413 
01414   p15_1b = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01415   p15_1b->textsize(TXT_SIZE);
01416   p15_1b->box(BOX_TYPE3);
01417   p15_1b->align(FL_ALIGN_TOP_LEFT);
01418   p15_1b->color(COLOR3);
01419   p15_1b->textcolor(TXT_COLOR);
01420   p15_1b->selection_color(COLOR_SEL);
01421   p15_1b->labelcolor(CTRL_LABEL_COLOR);
01422   p15_1b->tooltip("p25 serie");
01423   p15_1b->cursor_color(TXT_COLOR2);
01424   p15_1b->textfont(IN_TEXT_FONTS);
01425 
01426   p15_2b = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01427   p15_2b->box(BOX_TYPE3);
01428   p15_2b->textsize(TXT_SIZE);
01429   p15_2b->color(COLOR3);
01430   p15_2b->textcolor(TXT_COLOR);
01431   p15_2b->selection_color(COLOR_SEL);
01432   p15_2b->tooltip("p25 serie");
01433   p15_2b->cursor_color(TXT_COLOR2);
01434   p15_2b->textfont(IN_TEXT_FONTS);
01435 
01436   p15_3b = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01437   p15_3b->box(BOX_TYPE3);
01438   p15_3b->textsize(TXT_SIZE);
01439   p15_3b->color(COLOR3);
01440   p15_3b->textcolor(TXT_COLOR);
01441   p15_3b->selection_color(COLOR_SEL);
01442   p15_3b->tooltip("p25 serie");
01443   p15_3b->cursor_color(TXT_COLOR2);
01444   p15_3b->textfont(IN_TEXT_FONTS);
01445 
01446   p15_4b = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01447   p15_4b->box(BOX_TYPE3);
01448   p15_4b->textsize(TXT_SIZE);
01449   p15_4b->color(COLOR3);
01450   p15_4b->textcolor(TXT_COLOR);
01451   p15_4b->selection_color(COLOR_SEL);
01452   p15_4b->tooltip("p25 serie");
01453   p15_4b->cursor_color(TXT_COLOR2);
01454   p15_4b->textfont(IN_TEXT_FONTS);
01455 
01456   p15_5b = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01457   p15_5b->box(BOX_TYPE3);
01458   p15_5b->textsize(TXT_SIZE);
01459   p15_5b->color(COLOR3);
01460   p15_5b->textcolor(TXT_COLOR);
01461   p15_5b->selection_color(COLOR_SEL);
01462   p15_5b->tooltip("p25 serie");
01463   p15_5b->cursor_color(TXT_COLOR2);
01464   p15_5b->textfont(IN_TEXT_FONTS);
01465 
01466   p15_6b = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01467   p15_6b->box(BOX_TYPE3);
01468   p15_6b->textsize(TXT_SIZE);
01469   p15_6b->color(COLOR3);
01470   p15_6b->textcolor(TXT_COLOR);
01471   p15_6b->selection_color(COLOR_SEL);
01472   p15_6b->tooltip("p25 serie");
01473   p15_6b->cursor_color(TXT_COLOR2);
01474   p15_6b->textfont(IN_TEXT_FONTS);
01475 
01476   p15_7b = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01477   p15_7b->box(BOX_TYPE3);
01478   p15_7b->textsize(TXT_SIZE);
01479   p15_7b->color(COLOR3);
01480   p15_7b->textcolor(TXT_COLOR);
01481   p15_7b->selection_color(COLOR_SEL);
01482   p15_7b->tooltip("p25 serie");
01483   p15_7b->cursor_color(TXT_COLOR2);
01484   p15_7b->textfont(IN_TEXT_FONTS);
01485 
01486   p15_8b = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01487   p15_8b->box(BOX_TYPE3);
01488   p15_8b->textsize(TXT_SIZE);
01489   p15_8b->color(COLOR3);
01490   p15_8b->textcolor(TXT_COLOR);
01491   p15_8b->selection_color(COLOR_SEL);
01492   p15_8b->tooltip("p25 serie");
01493   p15_8b->cursor_color(TXT_COLOR2);
01494   p15_8b->textfont(IN_TEXT_FONTS);
01495 
01496   p15_9b = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01497   p15_9b->box(BOX_TYPE3);
01498   p15_9b->textsize(TXT_SIZE);
01499   p15_9b->color(COLOR3);
01500   p15_9b->textcolor(TXT_COLOR);
01501   p15_9b->selection_color(COLOR_SEL);
01502   p15_9b->tooltip("p25 serie");
01503   p15_9b->cursor_color(TXT_COLOR2);
01504   p15_9b->textfont(IN_TEXT_FONTS);
01505 
01506   p15_10b = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01507   p15_10b->box(BOX_TYPE3);
01508   p15_10b->textsize(TXT_SIZE);
01509   p15_10b->color(COLOR3);
01510   p15_10b->textcolor(TXT_COLOR);
01511   p15_10b->selection_color(COLOR_SEL);
01512   p15_10b->tooltip("p25 serie");
01513   p15_10b->cursor_color(TXT_COLOR2);
01514   p15_10b->textfont(IN_TEXT_FONTS);
01515 
01516   p15_11b = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01517   p15_11b->box(BOX_TYPE3);
01518   p15_11b->textsize(TXT_SIZE);
01519   p15_11b->color(COLOR3);
01520   p15_11b->textcolor(TXT_COLOR);
01521   p15_11b->selection_color(COLOR_SEL);
01522   p15_11b->tooltip("p25 serie");
01523   p15_11b->cursor_color(TXT_COLOR2);
01524   p15_11b->textfont(IN_TEXT_FONTS);
01525 
01526   p15_12b = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01527   p15_12b->box(BOX_TYPE3);
01528   p15_12b->textsize(TXT_SIZE);
01529   p15_12b->color(COLOR3);
01530   p15_12b->textcolor(TXT_COLOR);
01531   p15_12b->selection_color(COLOR_SEL);
01532   p15_12b->tooltip("p25 serie");
01533   p15_12b->cursor_color(TXT_COLOR2);
01534   p15_12b->textfont(IN_TEXT_FONTS);
01535 
01536   bt_enable_p15b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*9+45,20,20);
01537   bt_enable_p15b->tooltip("Enable p25 serie");
01538   bt_enable_p15b->box(BOX_TYPE);
01539   bt_enable_p15b->selection_color(E_BUTTTON_COLOR);
01540   bt_enable_p15b->callback(enableCtpp15b_cb);
01541 
01542   bt_enable_p15bCtp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*9+45,20,20);
01543   bt_enable_p15bCtp->tooltip("Enable p25 counterpoint functions");
01544   bt_enable_p15bCtp->box(BOX_TYPE);
01545   bt_enable_p15bCtp->selection_color(E_BUTTTON_COLOR);
01546   bt_enable_p15bCtp->callback(enable_p15b_cb);
01547 
01548   outP15b = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*9+45,HB,CTRL_H,"M");
01549   outP15b->box(BOX_TYPE);
01550   outP15b->labelsize(11);
01551   outP15b->selection_color(FL_GREEN);
01552   outP15b->labelcolor(FL_RED);
01553   outP15b->tooltip(MEMO);
01554 
01555   Fl_Button *btParamsAritmb = new Fl_Button(CTRL_W*9+30,CTRL_T+(ADD_TOP-125)+350,60,25,"Func.");
01556   btParamsAritmb->labelcolor(FL_RED);
01557   btParamsAritmb->box(BOX_TYPE);
01558   btParamsAritmb->labeltype(BT_LABEL_TYPE);
01559   btParamsAritmb->labelsize(14);
01560   btParamsAritmb->callback(makeWin_IncDecSParamsb_cb);
01561 
01562   Fl_Button *closeWparamb = new Fl_Button(CTRL_W*10+45,CTRL_T+(ADD_TOP-125)+350,60,25,"CLOSE");
01563   closeWparamb->callback(closeWparamsb_cb);
01564   closeWparamb->labelcolor(FL_RED);
01565   closeWparamb->box(BOX_TYPE);
01566   closeWparamb->labeltype(BT_LABEL_TYPE);
01567   closeWparamb->labelsize(14);
01568   
01569   readPrefsSerieParams2();
01570   winParamnb->end();
01571   winParamnb->show();
01572 }
01573 
01574 void makeWinParamsb_cb(Fl_Widget*,void*)
01575 {
01576   loadMoreParams2 = 1;
01577     makeWinParamsb();
01578 }
01579 
01580 void closeWparamsb_cb(Fl_Widget*,void*)
01581 {
01582     winParamnb->redraw();
01583     writePrefsSerieParams2();
01584     winParamnb->hide();
01585 }
01586 

Generated on Sun Jul 1 20:29:36 2012 for Csmusgen by  doxygen 1.4.7