addParam.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 makeWinParamsb_cb(Fl_Widget*,void*);
00021 void writePrefsSerieParams();
00022 void readPrefsSerieParams();
00023 void closeWparams_cb(Fl_Widget*,void*);
00024 void makeWin_IncDecS();
00025 
00026 void makeWin_IncDecSParams_cb(Fl_Widget*,void*)
00027 {
00028     funcMenuItems = 1;
00029     makeWin_IncDecS();
00030 }
00031 
00032 void enableCtpp6_cb(Fl_Widget*,void*)
00033 {
00034     if (bt_enable_p6->value() == 0) {bt_enable_p6Ctp->value(0);}
00035 }
00036 
00037 void enable_p6_cb(Fl_Widget*,void*)
00038 {
00039     if (bt_enable_p6Ctp->value() == 1){bt_enable_p6->value(1);}
00040 }
00041 //////////////////////////////////////////////////////////////////
00042 void enableCtpp7_cb(Fl_Widget*,void*)
00043 {
00044     if (bt_enable_p7->value() == 0) {bt_enable_p7Ctp->value(0);}
00045 }
00046 
00047 void enable_p7_cb(Fl_Widget*,void*)
00048 {
00049     if (bt_enable_p7Ctp->value() == 1){bt_enable_p7->value(1);}
00050 }
00051 //////////////////////////////////////////////////////////////////
00052 void enableCtpp8_cb(Fl_Widget*,void*)
00053 {
00054     if (bt_enable_p8->value() == 0) {bt_enable_p8Ctp->value(0);}
00055 }
00056 
00057 void enable_p8_cb(Fl_Widget*,void*)
00058 {
00059     if (bt_enable_p8Ctp->value() == 1){bt_enable_p8->value(1);}
00060 }
00061 //////////////////////////////////////////////////////////////////
00062 void enableCtpp9_cb(Fl_Widget*,void*)
00063 {
00064     if (bt_enable_p9->value() == 0) {bt_enable_p9Ctp->value(0);}
00065 }
00066 
00067 void enable_p9_cb(Fl_Widget*,void*)
00068 {
00069     if (bt_enable_p9Ctp->value() == 1){bt_enable_p9->value(1);}
00070 }
00071 //////////////////////////////////////////////////////////////////
00072 void enableCtpp10_cb(Fl_Widget*,void*)
00073 {
00074     if (bt_enable_p10->value() == 0) {bt_enable_p10Ctp->value(0);}
00075 }
00076 
00077 void enable_p10_cb(Fl_Widget*,void*)
00078 {
00079     if (bt_enable_p10Ctp->value() == 1){bt_enable_p10->value(1);}
00080 }
00081 //////////////////////////////////////////////////////////////////
00082 void enableCtpp11_cb(Fl_Widget*,void*)
00083 {
00084     if (bt_enable_p11->value() == 0) {bt_enable_p11Ctp->value(0);}
00085 }
00086 
00087 void enable_p11_cb(Fl_Widget*,void*)
00088 {
00089     if (bt_enable_p11Ctp->value() == 1){bt_enable_p11->value(1);}
00090 }
00091 //////////////////////////////////////////////////////////////////
00092 void enableCtpp12_cb(Fl_Widget*,void*)
00093 {
00094     if (bt_enable_p12->value() == 0) {bt_enable_p12Ctp->value(0);}
00095 }
00096 
00097 void enable_p12_cb(Fl_Widget*,void*)
00098 {
00099     if (bt_enable_p12Ctp->value() == 1){bt_enable_p12->value(1);}
00100 }
00101 //////////////////////////////////////////////////////////////////
00102 void enableCtpp13_cb(Fl_Widget*,void*)
00103 {
00104     if (bt_enable_p13->value() == 0) {bt_enable_p13Ctp->value(0);}
00105 }
00106 
00107 void enable_p13_cb(Fl_Widget*,void*)
00108 {
00109     if (bt_enable_p13Ctp->value() == 1){bt_enable_p13->value(1);}
00110 }
00111 //////////////////////////////////////////////////////////////////
00112 void enableCtpp14_cb(Fl_Widget*,void*)
00113 {
00114     if (bt_enable_p14->value() == 0) {bt_enable_p14Ctp->value(0);}
00115 }
00116 
00117 void enable_p14_cb(Fl_Widget*,void*)
00118 {
00119     if (bt_enable_p14Ctp->value() == 1){bt_enable_p14->value(1);}
00120 }
00121 //////////////////////////////////////////////////////////////////
00122 void enableCtpp15_cb(Fl_Widget*,void*)
00123 {
00124     if (bt_enable_p15->value() == 0) {bt_enable_p15Ctp->value(0);}
00125 }
00126 
00127 void enable_p15_cb(Fl_Widget*,void*)
00128 {
00129     if (bt_enable_p15Ctp->value() == 1){bt_enable_p15->value(1);}
00130 }
00131 //////////////////////////////////////////////////////////////////
00132 void makeWinParams()
00133 {
00134     winParamn = new Fl_Window (200,200,W-40,H-100,"Parameters p6 to p15");
00135     winParamn->color(COLOR);
00136     winParamn->set_modal();
00137 
00138   newPframe = new Fl_Box(CTRL_L4,0,CTRL_W*12+5,CTRL_H*10+55);
00139   newPframe->box(FL_ENGRAVED_BOX);
00140   newPframe->align(FL_ALIGN_TOP);
00141   newPframe->color(COLOR3);
00142   newPframe->labelcolor(CTRL_LABEL_COLOR);
00143 
00144   p6_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2,CTRL_W,CTRL_H);
00145   p6_1->textsize(TXT_SIZE);
00146   p6_1->box(BOX_TYPE3);
00147   p6_1->align(FL_ALIGN_TOP_LEFT);
00148   p6_1->color(COLOR3);
00149   p6_1->textcolor(TXT_COLOR);
00150   p6_1->selection_color(COLOR_SEL);
00151   p6_1->labelcolor(CTRL_LABEL_COLOR);
00152   p6_1->tooltip("p6 serie");
00153   p6_1->cursor_color(TXT_COLOR2);
00154   p6_1->textfont(IN_TEXT_FONTS);
00155   
00156   p6_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2,CTRL_W,CTRL_H);
00157   p6_2->box(BOX_TYPE3);
00158   p6_2->textsize(TXT_SIZE);
00159   p6_2->color(COLOR3);
00160   p6_2->textcolor(TXT_COLOR);
00161   p6_2->selection_color(COLOR_SEL);
00162   p6_2->tooltip("p6 serie");
00163   p6_2->cursor_color(TXT_COLOR2);
00164   p6_2->textfont(IN_TEXT_FONTS);
00165 
00166   p6_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2,CTRL_W,CTRL_H);
00167   p6_3->box(BOX_TYPE3);
00168   p6_3->textsize(TXT_SIZE);
00169   p6_3->color(COLOR3);
00170   p6_3->textcolor(TXT_COLOR);
00171   p6_3->selection_color(COLOR_SEL);
00172   p6_3->tooltip("p6 serie");
00173   p6_3->cursor_color(TXT_COLOR2);
00174   p6_3->textfont(IN_TEXT_FONTS);
00175 
00176   p6_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2,CTRL_W,CTRL_H);
00177   p6_4->box(BOX_TYPE3);
00178   p6_4->textsize(TXT_SIZE);
00179   p6_4->color(COLOR3);
00180   p6_4->textcolor(TXT_COLOR);
00181   p6_4->selection_color(COLOR_SEL);
00182   p6_4->tooltip("p6 serie");
00183   p6_4->cursor_color(TXT_COLOR2);
00184   p6_4->textfont(IN_TEXT_FONTS);
00185 
00186   p6_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2,CTRL_W,CTRL_H);
00187   p6_5->box(BOX_TYPE3);
00188   p6_5->textsize(TXT_SIZE);
00189   p6_5->color(COLOR3);
00190   p6_5->textcolor(TXT_COLOR);
00191   p6_5->selection_color(COLOR_SEL);
00192   p6_5->tooltip("p6 serie");
00193   p6_5->cursor_color(TXT_COLOR2);
00194   p6_5->textfont(IN_TEXT_FONTS);
00195 
00196   p6_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2,CTRL_W,CTRL_H);
00197   p6_6->box(BOX_TYPE3);
00198   p6_6->textsize(TXT_SIZE);
00199   p6_6->color(COLOR3);
00200   p6_6->textcolor(TXT_COLOR);
00201   p6_6->selection_color(COLOR_SEL);
00202   p6_6->tooltip("p6 serie");
00203   p6_6->cursor_color(TXT_COLOR2);
00204   p6_6->textfont(IN_TEXT_FONTS);
00205 
00206   p6_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2,CTRL_W,CTRL_H);
00207   p6_7->box(BOX_TYPE3);
00208   p6_7->textsize(TXT_SIZE);
00209   p6_7->color(COLOR3);
00210   p6_7->textcolor(TXT_COLOR);
00211   p6_7->selection_color(COLOR_SEL);
00212   p6_7->tooltip("p6 serie");
00213   p6_7->cursor_color(TXT_COLOR2);
00214   p6_7->textfont(IN_TEXT_FONTS);
00215 
00216   p6_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2,CTRL_W,CTRL_H);
00217   p6_8->box(BOX_TYPE3);
00218   p6_8->textsize(TXT_SIZE);
00219   p6_8->color(COLOR3);
00220   p6_8->textcolor(TXT_COLOR);
00221   p6_8->selection_color(COLOR_SEL);
00222   p6_8->tooltip("p6 serie");
00223   p6_8->cursor_color(TXT_COLOR2);
00224   p6_8->textfont(IN_TEXT_FONTS);
00225 
00226   p6_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2,CTRL_W,CTRL_H);
00227   p6_9->box(BOX_TYPE3);
00228   p6_9->textsize(TXT_SIZE);
00229   p6_9->color(COLOR3);
00230   p6_9->textcolor(TXT_COLOR);
00231   p6_9->selection_color(COLOR_SEL);
00232   p6_9->tooltip("p6 serie");
00233   p6_9->cursor_color(TXT_COLOR2);
00234   p6_9->textfont(IN_TEXT_FONTS);
00235 
00236   p6_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2,CTRL_W,CTRL_H);
00237   p6_10->box(BOX_TYPE3);
00238   p6_10->textsize(TXT_SIZE);
00239   p6_10->color(COLOR3);
00240   p6_10->textcolor(TXT_COLOR);
00241   p6_10->selection_color(COLOR_SEL);
00242   p6_10->tooltip("p6 serie");
00243   p6_10->cursor_color(TXT_COLOR2);
00244   p6_10->textfont(IN_TEXT_FONTS);
00245 
00246   p6_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2,CTRL_W,CTRL_H);
00247   p6_11->box(BOX_TYPE3);
00248   p6_11->textsize(TXT_SIZE);
00249   p6_11->color(COLOR3);
00250   p6_11->textcolor(TXT_COLOR);
00251   p6_11->selection_color(COLOR_SEL);
00252   p6_11->tooltip("p6 serie");
00253   p6_11->cursor_color(TXT_COLOR2);
00254   p6_11->textfont(IN_TEXT_FONTS);
00255 
00256   p6_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2,CTRL_W,CTRL_H);
00257   p6_12->box(BOX_TYPE3);
00258   p6_12->textsize(TXT_SIZE);
00259   p6_12->color(COLOR3);
00260   p6_12->textcolor(TXT_COLOR);
00261   p6_12->selection_color(COLOR_SEL);
00262   p6_12->tooltip("p6 serie");
00263   p6_12->cursor_color(TXT_COLOR2);
00264   p6_12->textfont(IN_TEXT_FONTS);
00265 
00266   bt_enable_p6 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2,20,20);
00267   bt_enable_p6->tooltip("Enable p6 serie");
00268   bt_enable_p6->box(BOX_TYPE);
00269   bt_enable_p6->selection_color(E_BUTTTON_COLOR);
00270   bt_enable_p6->callback(enableCtpp6_cb);
00271 
00272   bt_enable_p6Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2,20,20);
00273   bt_enable_p6Ctp->tooltip("Enable p6 counterpoint functions");
00274   bt_enable_p6Ctp->box(BOX_TYPE);
00275   bt_enable_p6Ctp->selection_color(E_BUTTTON_COLOR);
00276   bt_enable_p6Ctp->callback(enable_p6_cb);
00277 
00278   outP6 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2,HB,CTRL_H,"M");
00279   outP6->box(FL_PLASTIC_UP_BOX);
00280   outP6->labelsize(11);
00281   outP6->selection_color(FL_GREEN);
00282   outP6->labelcolor(FL_RED);
00283   outP6->tooltip(MEMO);
00284 
00285   p7_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00286   p7_1->textsize(TXT_SIZE);
00287   p7_1->box(BOX_TYPE3);
00288   p7_1->align(FL_ALIGN_TOP_LEFT);
00289   p7_1->color(COLOR3);
00290   p7_1->textcolor(TXT_COLOR);
00291   p7_1->selection_color(COLOR_SEL);
00292   p7_1->labelcolor(CTRL_LABEL_COLOR);
00293   p7_1->tooltip("pitch serie");
00294   p7_1->cursor_color(TXT_COLOR2);
00295   p7_1->textfont(IN_TEXT_FONTS);
00296 
00297   p7_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00298   p7_2->box(BOX_TYPE3);
00299   p7_2->textsize(TXT_SIZE);
00300   p7_2->color(COLOR3);
00301   p7_2->textcolor(TXT_COLOR);
00302   p7_2->selection_color(COLOR_SEL);
00303   p7_2->tooltip("p7 serie");
00304   p7_2->cursor_color(TXT_COLOR2);
00305   p7_2->textfont(IN_TEXT_FONTS);
00306 
00307   p7_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00308   p7_3->box(BOX_TYPE3);
00309   p7_3->textsize(TXT_SIZE);
00310   p7_3->color(COLOR3);
00311   p7_3->textcolor(TXT_COLOR);
00312   p7_3->selection_color(COLOR_SEL);
00313   p7_3->tooltip("p7 serie");
00314   p7_3->cursor_color(TXT_COLOR2);
00315   p7_3->textfont(IN_TEXT_FONTS);
00316 
00317   p7_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00318   p7_4->box(BOX_TYPE3);
00319   p7_4->textsize(TXT_SIZE);
00320   p7_4->color(COLOR3);
00321   p7_4->textcolor(TXT_COLOR);
00322   p7_4->selection_color(COLOR_SEL);
00323   p7_4->tooltip("p7 serie");
00324   p7_4->cursor_color(TXT_COLOR2);
00325   p7_4->textfont(IN_TEXT_FONTS);
00326 
00327   p7_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00328   p7_5->box(BOX_TYPE3);
00329   p7_5->textsize(TXT_SIZE);
00330   p7_5->color(COLOR3);
00331   p7_5->textcolor(TXT_COLOR);
00332   p7_5->selection_color(COLOR_SEL);
00333   p7_5->tooltip("p7 serie");
00334   p7_5->cursor_color(TXT_COLOR2);
00335   p7_5->textfont(IN_TEXT_FONTS);
00336 
00337   p7_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00338   p7_6->box(BOX_TYPE3);
00339   p7_6->textsize(TXT_SIZE);
00340   p7_6->color(COLOR3);
00341   p7_6->textcolor(TXT_COLOR);
00342   p7_6->selection_color(COLOR_SEL);
00343   p7_6->tooltip("p7 serie");
00344   p7_6->cursor_color(TXT_COLOR2);
00345   p7_6->textfont(IN_TEXT_FONTS);
00346 
00347   p7_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00348   p7_7->box(BOX_TYPE3);
00349   p7_7->textsize(TXT_SIZE);
00350   p7_7->color(COLOR3);
00351   p7_7->textcolor(TXT_COLOR);
00352   p7_7->selection_color(COLOR_SEL);
00353   p7_7->tooltip("p7 serie");
00354   p7_7->cursor_color(TXT_COLOR2);
00355   p7_7->textfont(IN_TEXT_FONTS);
00356 
00357   p7_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00358   p7_8->box(BOX_TYPE3);
00359   p7_8->textsize(TXT_SIZE);
00360   p7_8->color(COLOR3);
00361   p7_8->textcolor(TXT_COLOR);
00362   p7_8->selection_color(COLOR_SEL);
00363   p7_8->tooltip("p7 serie");
00364   p7_8->cursor_color(TXT_COLOR2);
00365   p7_8->textfont(IN_TEXT_FONTS);
00366 
00367   p7_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00368   p7_9->box(BOX_TYPE3);
00369   p7_9->textsize(TXT_SIZE);
00370   p7_9->color(COLOR3);
00371   p7_9->textcolor(TXT_COLOR);
00372   p7_9->selection_color(COLOR_SEL);
00373   p7_9->tooltip("p7 serie");
00374   p7_9->cursor_color(TXT_COLOR2);
00375   p7_9->textfont(IN_TEXT_FONTS);
00376 
00377   p7_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00378   p7_10->box(BOX_TYPE3);
00379   p7_10->textsize(TXT_SIZE);
00380   p7_10->color(COLOR3);
00381   p7_10->textcolor(TXT_COLOR);
00382   p7_10->selection_color(COLOR_SEL);
00383   p7_10->tooltip("p7 serie");
00384   p7_10->cursor_color(TXT_COLOR2);
00385   p7_10->textfont(IN_TEXT_FONTS);
00386 
00387   p7_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00388   p7_11->box(BOX_TYPE3);
00389   p7_11->textsize(TXT_SIZE);
00390   p7_11->color(COLOR3);
00391   p7_11->textcolor(TXT_COLOR);
00392   p7_11->selection_color(COLOR_SEL);
00393   p7_11->tooltip("p7 serie");
00394   p7_11->cursor_color(TXT_COLOR2);
00395   p7_11->textfont(IN_TEXT_FONTS);
00396 
00397   p7_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H+5,CTRL_W,CTRL_H);
00398   p7_12->box(BOX_TYPE3);
00399   p7_12->textsize(TXT_SIZE);
00400   p7_12->color(COLOR3);
00401   p7_12->textcolor(TXT_COLOR);
00402   p7_12->selection_color(COLOR_SEL);
00403   p7_12->tooltip("p7 serie");
00404   p7_12->cursor_color(TXT_COLOR2);
00405   p7_12->textfont(IN_TEXT_FONTS);
00406 
00407   bt_enable_p7 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H+5,20,20);
00408   bt_enable_p7->tooltip("Enable p7 serie");
00409   bt_enable_p7->box(BOX_TYPE);
00410   bt_enable_p7->selection_color(E_BUTTTON_COLOR);
00411   bt_enable_p7->callback(enableCtpp7_cb);
00412 
00413   bt_enable_p7Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H+5,20,20);
00414   bt_enable_p7Ctp->tooltip("Enable p7 counterpoint functions");
00415   bt_enable_p7Ctp->box(BOX_TYPE);
00416   bt_enable_p7Ctp->selection_color(E_BUTTTON_COLOR);
00417   bt_enable_p7Ctp->callback(enable_p7_cb);
00418 
00419   outP7 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H+5,HB,CTRL_H,"M");
00420   outP7->box(FL_PLASTIC_UP_BOX);
00421   outP7->labelsize(11);
00422   outP7->selection_color(FL_GREEN);
00423   outP7->labelcolor(FL_RED);
00424   outP7->tooltip(MEMO);
00425 
00426   p8_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00427   p8_1->textsize(TXT_SIZE);
00428   p8_1->box(BOX_TYPE3);
00429   p8_1->align(FL_ALIGN_TOP_LEFT);
00430   p8_1->color(COLOR3);
00431   p8_1->textcolor(TXT_COLOR);
00432   p8_1->selection_color(COLOR_SEL);
00433   p8_1->labelcolor(CTRL_LABEL_COLOR);
00434   p8_1->tooltip("p8 serie");
00435   p8_1->cursor_color(TXT_COLOR2);
00436   p8_1->textfont(IN_TEXT_FONTS);
00437 
00438   p8_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00439   p8_2->box(BOX_TYPE3);
00440   p8_2->textsize(TXT_SIZE);
00441   p8_2->color(COLOR3);
00442   p8_2->textcolor(TXT_COLOR);
00443   p8_2->selection_color(COLOR_SEL);
00444   p8_2->tooltip("p8 serie");
00445   p8_2->cursor_color(TXT_COLOR2);
00446   p8_2->textfont(IN_TEXT_FONTS);
00447 
00448   p8_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00449   p8_3->box(BOX_TYPE3);
00450   p8_3->textsize(TXT_SIZE);
00451   p8_3->color(COLOR3);
00452   p8_3->textcolor(TXT_COLOR);
00453   p8_3->selection_color(COLOR_SEL);
00454   p8_3->tooltip("p8 serie");
00455   p8_3->cursor_color(TXT_COLOR2);
00456   p8_3->textfont(IN_TEXT_FONTS);
00457 
00458   p8_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00459   p8_4->box(BOX_TYPE3);
00460   p8_4->textsize(TXT_SIZE);
00461   p8_4->color(COLOR3);
00462   p8_4->textcolor(TXT_COLOR);
00463   p8_4->selection_color(COLOR_SEL);
00464   p8_4->tooltip("p8 serie");
00465   p8_4->cursor_color(TXT_COLOR2);
00466   p8_4->textfont(IN_TEXT_FONTS);
00467 
00468   p8_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00469   p8_5->box(BOX_TYPE3);
00470   p8_5->textsize(TXT_SIZE);
00471   p8_5->color(COLOR3);
00472   p8_5->textcolor(TXT_COLOR);
00473   p8_5->selection_color(COLOR_SEL);
00474   p8_5->tooltip("p8 serie");
00475   p8_5->cursor_color(TXT_COLOR2);
00476   p8_5->textfont(IN_TEXT_FONTS);
00477 
00478   p8_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00479   p8_6->box(BOX_TYPE3);
00480   p8_6->textsize(TXT_SIZE);
00481   p8_6->color(COLOR3);
00482   p8_6->textcolor(TXT_COLOR);
00483   p8_6->selection_color(COLOR_SEL);
00484   p8_6->tooltip("p8 serie");
00485   p8_6->cursor_color(TXT_COLOR2);
00486   p8_6->textfont(IN_TEXT_FONTS);
00487 
00488   p8_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00489   p8_7->box(BOX_TYPE3);
00490   p8_7->textsize(TXT_SIZE);
00491   p8_7->color(COLOR3);
00492   p8_7->textcolor(TXT_COLOR);
00493   p8_7->selection_color(COLOR_SEL);
00494   p8_7->tooltip("p8 serie");
00495   p8_7->cursor_color(TXT_COLOR2);
00496   p8_7->textfont(IN_TEXT_FONTS);
00497 
00498   p8_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00499   p8_8->box(BOX_TYPE3);
00500   p8_8->textsize(TXT_SIZE);
00501   p8_8->color(COLOR3);
00502   p8_8->textcolor(TXT_COLOR);
00503   p8_8->selection_color(COLOR_SEL);
00504   p8_8->tooltip("p8 serie");
00505   p8_8->cursor_color(TXT_COLOR2);
00506   p8_8->textfont(IN_TEXT_FONTS);
00507 
00508   p8_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00509   p8_9->box(BOX_TYPE3);
00510   p8_9->textsize(TXT_SIZE);
00511   p8_9->color(COLOR3);
00512   p8_9->textcolor(TXT_COLOR);
00513   p8_9->selection_color(COLOR_SEL);
00514   p8_9->tooltip("p8 serie");
00515   p8_9->cursor_color(TXT_COLOR2);
00516   p8_9->textfont(IN_TEXT_FONTS);
00517 
00518   p8_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00519   p8_10->box(BOX_TYPE3);
00520   p8_10->textsize(TXT_SIZE);
00521   p8_10->color(COLOR3);
00522   p8_10->textcolor(TXT_COLOR);
00523   p8_10->selection_color(COLOR_SEL);
00524   p8_10->tooltip("p8 serie");
00525   p8_10->cursor_color(TXT_COLOR2);
00526   p8_10->textfont(IN_TEXT_FONTS);
00527 
00528   p8_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00529   p8_11->box(BOX_TYPE3);
00530   p8_11->textsize(TXT_SIZE);
00531   p8_11->color(COLOR3);
00532   p8_11->textcolor(TXT_COLOR);
00533   p8_11->selection_color(COLOR_SEL);
00534   p8_11->tooltip("p8 serie");
00535   p8_11->cursor_color(TXT_COLOR2);
00536   p8_11->textfont(IN_TEXT_FONTS);
00537 
00538   p8_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*2+10,CTRL_W,CTRL_H);
00539   p8_12->box(BOX_TYPE3);
00540   p8_12->textsize(TXT_SIZE);
00541   p8_12->color(COLOR3);
00542   p8_12->textcolor(TXT_COLOR);
00543   p8_12->selection_color(COLOR_SEL);
00544   p8_12->tooltip("p8 serie");
00545   p8_12->cursor_color(TXT_COLOR2);
00546   p8_12->textfont(IN_TEXT_FONTS);
00547 
00548   bt_enable_p8 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*2+10,20,20);
00549   bt_enable_p8->tooltip("Enable p8 serie");
00550   bt_enable_p8->box(BOX_TYPE);
00551   bt_enable_p8->selection_color(E_BUTTTON_COLOR);
00552   bt_enable_p8->callback(enableCtpp8_cb);
00553 
00554   bt_enable_p8Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*2+10,20,20);
00555   bt_enable_p8Ctp->tooltip("Enable p8 counterpoint functions");
00556   bt_enable_p8Ctp->box(BOX_TYPE);
00557   bt_enable_p8Ctp->selection_color(E_BUTTTON_COLOR);
00558   bt_enable_p8Ctp->callback(enable_p8_cb);
00559 
00560   outP8 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*2+10,HB,CTRL_H,"M");
00561   outP8->box(FL_PLASTIC_UP_BOX);
00562   outP8->labelsize(11);
00563   outP8->selection_color(FL_GREEN);
00564   outP8->labelcolor(FL_RED);
00565   outP8->tooltip(MEMO);
00566 
00567   p9_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00568   p9_1->textsize(TXT_SIZE);
00569   p9_1->box(BOX_TYPE3);
00570   p9_1->align(FL_ALIGN_TOP_LEFT);
00571   p9_1->color(COLOR3);
00572   p9_1->textcolor(TXT_COLOR);
00573   p9_1->selection_color(COLOR_SEL);
00574   p9_1->labelcolor(CTRL_LABEL_COLOR);
00575   p9_1->tooltip("p9 serie");
00576   p9_1->cursor_color(TXT_COLOR2);
00577   p9_1->textfont(IN_TEXT_FONTS);
00578 
00579   p9_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00580   p9_2->box(BOX_TYPE3);
00581   p9_2->textsize(TXT_SIZE);
00582   p9_2->color(COLOR3);
00583   p9_2->textcolor(TXT_COLOR);
00584   p9_2->selection_color(COLOR_SEL);
00585   p9_2->tooltip("p9 serie");
00586   p9_2->cursor_color(TXT_COLOR2);
00587   p9_2->textfont(IN_TEXT_FONTS);
00588 
00589   p9_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00590   p9_3->box(BOX_TYPE3);
00591   p9_3->textsize(TXT_SIZE);
00592   p9_3->color(COLOR3);
00593   p9_3->textcolor(TXT_COLOR);
00594   p9_3->selection_color(COLOR_SEL);
00595   p9_3->tooltip("p9 serie");
00596   p9_3->cursor_color(TXT_COLOR2);
00597   p9_3->textfont(IN_TEXT_FONTS);
00598 
00599   p9_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00600   p9_4->box(BOX_TYPE3);
00601   p9_4->textsize(TXT_SIZE);
00602   p9_4->color(COLOR3);
00603   p9_4->textcolor(TXT_COLOR);
00604   p9_4->selection_color(COLOR_SEL);
00605   p9_4->tooltip("p9 serie");
00606   p9_4->cursor_color(TXT_COLOR2);
00607   p9_4->textfont(IN_TEXT_FONTS);
00608 
00609   p9_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00610   p9_5->box(BOX_TYPE3);
00611   p9_5->textsize(TXT_SIZE);
00612   p9_5->color(COLOR3);
00613   p9_5->textcolor(TXT_COLOR);
00614   p9_5->selection_color(COLOR_SEL);
00615   p9_5->tooltip("p9 serie");
00616   p9_5->cursor_color(TXT_COLOR2);
00617   p9_5->textfont(IN_TEXT_FONTS);
00618 
00619   p9_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00620   p9_6->box(BOX_TYPE3);
00621   p9_6->textsize(TXT_SIZE);
00622   p9_6->color(COLOR3);
00623   p9_6->textcolor(TXT_COLOR);
00624   p9_6->selection_color(COLOR_SEL);
00625   p9_6->tooltip("p9 serie");
00626   p9_6->cursor_color(TXT_COLOR2);
00627   p9_6->textfont(IN_TEXT_FONTS);
00628 
00629   p9_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00630   p9_7->box(BOX_TYPE3);
00631   p9_7->textsize(TXT_SIZE);
00632   p9_7->color(COLOR3);
00633   p9_7->textcolor(TXT_COLOR);
00634   p9_7->selection_color(COLOR_SEL);
00635   p9_7->tooltip("p9 serie");
00636   p9_7->cursor_color(TXT_COLOR2);
00637   p9_7->textfont(IN_TEXT_FONTS);
00638 
00639   p9_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00640   p9_8->box(BOX_TYPE3);
00641   p9_8->textsize(TXT_SIZE);
00642   p9_8->color(COLOR3);
00643   p9_8->textcolor(TXT_COLOR);
00644   p9_8->selection_color(COLOR_SEL);
00645   p9_8->tooltip("p9 serie");
00646   p9_8->cursor_color(TXT_COLOR2);
00647   p9_8->textfont(IN_TEXT_FONTS);
00648 
00649   p9_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00650   p9_9->box(BOX_TYPE3);
00651   p9_9->textsize(TXT_SIZE);
00652   p9_9->color(COLOR3);
00653   p9_9->textcolor(TXT_COLOR);
00654   p9_9->selection_color(COLOR_SEL);
00655   p9_9->tooltip("p9 serie");
00656   p9_9->cursor_color(TXT_COLOR2);
00657   p9_9->textfont(IN_TEXT_FONTS);
00658 
00659   p9_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00660   p9_10->box(BOX_TYPE3);
00661   p9_10->textsize(TXT_SIZE);
00662   p9_10->color(COLOR3);
00663   p9_10->textcolor(TXT_COLOR);
00664   p9_10->selection_color(COLOR_SEL);
00665   p9_10->tooltip("p9 serie");
00666   p9_10->cursor_color(TXT_COLOR2);
00667   p9_10->textfont(IN_TEXT_FONTS);
00668 
00669   p9_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00670   p9_11->box(BOX_TYPE3);
00671   p9_11->textsize(TXT_SIZE);
00672   p9_11->color(COLOR3);
00673   p9_11->textcolor(TXT_COLOR);
00674   p9_11->selection_color(COLOR_SEL);
00675   p9_11->tooltip("p9 serie");
00676   p9_11->cursor_color(TXT_COLOR2);
00677   p9_11->textfont(IN_TEXT_FONTS);
00678 
00679   p9_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*3+15,CTRL_W,CTRL_H);
00680   p9_12->box(BOX_TYPE3);
00681   p9_12->textsize(TXT_SIZE);
00682   p9_12->color(COLOR3);
00683   p9_12->textcolor(TXT_COLOR);
00684   p9_12->selection_color(COLOR_SEL);
00685   p9_12->tooltip("p9 serie");
00686   p9_12->cursor_color(TXT_COLOR2);
00687   p9_12->textfont(IN_TEXT_FONTS);
00688   
00689   bt_enable_p9 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*3+15,20,20);
00690   bt_enable_p9->tooltip("Enable p9 serie");
00691   bt_enable_p9->box(BOX_TYPE);
00692   bt_enable_p9->selection_color(E_BUTTTON_COLOR);
00693   bt_enable_p9->callback(enableCtpp9_cb);
00694 
00695   bt_enable_p9Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*3+15,20,20);
00696   bt_enable_p9Ctp->tooltip("Enable p9 counterpoint functions");
00697   bt_enable_p9Ctp->box(BOX_TYPE);
00698   bt_enable_p9Ctp->selection_color(E_BUTTTON_COLOR);
00699   bt_enable_p9Ctp->callback(enable_p9_cb);
00700 
00701   outP9 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*3+15,HB,CTRL_H,"M");
00702   outP9->box(FL_PLASTIC_UP_BOX);
00703   outP9->labelsize(11);
00704   outP9->selection_color(FL_GREEN);
00705   outP9->labelcolor(FL_RED);
00706   outP9->tooltip(MEMO);
00707 
00708   p10_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00709   p10_1->textsize(TXT_SIZE);
00710   p10_1->box(BOX_TYPE3);
00711   p10_1->align(FL_ALIGN_TOP_LEFT);
00712   p10_1->color(COLOR3);
00713   p10_1->textcolor(TXT_COLOR);
00714   p10_1->selection_color(COLOR_SEL);
00715   p10_1->labelcolor(CTRL_LABEL_COLOR);
00716   p10_1->tooltip("p10 serie");
00717   p10_1->cursor_color(TXT_COLOR2);
00718   p10_1->textfont(IN_TEXT_FONTS);
00719 
00720   p10_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00721   p10_2->box(BOX_TYPE3);
00722   p10_2->textsize(TXT_SIZE);
00723   p10_2->color(COLOR3);
00724   p10_2->textcolor(TXT_COLOR);
00725   p10_2->selection_color(COLOR_SEL);
00726   p10_2->tooltip("p10 serie");
00727   p10_2->cursor_color(TXT_COLOR2);
00728   p10_2->textfont(IN_TEXT_FONTS);
00729 
00730   p10_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00731   p10_3->box(BOX_TYPE3);
00732   p10_3->textsize(TXT_SIZE);
00733   p10_3->color(COLOR3);
00734   p10_3->textcolor(TXT_COLOR);
00735   p10_3->selection_color(COLOR_SEL);
00736   p10_3->tooltip("p10 serie");
00737   p10_3->cursor_color(TXT_COLOR2);
00738   p10_3->textfont(IN_TEXT_FONTS);
00739 
00740   p10_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00741   p10_4->box(BOX_TYPE3);
00742   p10_4->textsize(TXT_SIZE);
00743   p10_4->color(COLOR3);
00744   p10_4->textcolor(TXT_COLOR);
00745   p10_4->selection_color(COLOR_SEL);
00746   p10_4->tooltip("p10 serie");
00747   p10_4->cursor_color(TXT_COLOR2);
00748   p10_4->textfont(IN_TEXT_FONTS);
00749 
00750   p10_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00751   p10_5->box(BOX_TYPE3);
00752   p10_5->textsize(TXT_SIZE);
00753   p10_5->color(COLOR3);
00754   p10_5->textcolor(TXT_COLOR);
00755   p10_5->selection_color(COLOR_SEL);
00756   p10_5->tooltip("p10 serie");
00757   p10_5->cursor_color(TXT_COLOR2);
00758   p10_5->textfont(IN_TEXT_FONTS);
00759 
00760   p10_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00761   p10_6->box(BOX_TYPE3);
00762   p10_6->textsize(TXT_SIZE);
00763   p10_6->color(COLOR3);
00764   p10_6->textcolor(TXT_COLOR);
00765   p10_6->selection_color(COLOR_SEL);
00766   p10_6->tooltip("p10 serie");
00767   p10_6->cursor_color(TXT_COLOR2);
00768   p10_6->textfont(IN_TEXT_FONTS);
00769 
00770   p10_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00771   p10_7->box(BOX_TYPE3);
00772   p10_7->textsize(TXT_SIZE);
00773   p10_7->color(COLOR3);
00774   p10_7->textcolor(TXT_COLOR);
00775   p10_7->selection_color(COLOR_SEL);
00776   p10_7->tooltip("p10 serie");
00777   p10_7->cursor_color(TXT_COLOR2);
00778   p10_7->textfont(IN_TEXT_FONTS);
00779 
00780   p10_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00781   p10_8->box(BOX_TYPE3);
00782   p10_8->textsize(TXT_SIZE);
00783   p10_8->color(COLOR3);
00784   p10_8->textcolor(TXT_COLOR);
00785   p10_8->selection_color(COLOR_SEL);
00786   p10_8->tooltip("p10 serie");
00787   p10_8->cursor_color(TXT_COLOR2);
00788   p10_8->textfont(IN_TEXT_FONTS);
00789 
00790   p10_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00791   p10_9->box(BOX_TYPE3);
00792   p10_9->textsize(TXT_SIZE);
00793   p10_9->color(COLOR3);
00794   p10_9->textcolor(TXT_COLOR);
00795   p10_9->selection_color(COLOR_SEL);
00796   p10_9->tooltip("p10 serie");
00797   p10_9->cursor_color(TXT_COLOR2);
00798   p10_9->textfont(IN_TEXT_FONTS);
00799 
00800   p10_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00801   p10_10->box(BOX_TYPE3);
00802   p10_10->textsize(TXT_SIZE);
00803   p10_10->color(COLOR3);
00804   p10_10->textcolor(TXT_COLOR);
00805   p10_10->selection_color(COLOR_SEL);
00806   p10_10->tooltip("p10 serie");
00807   p10_10->cursor_color(TXT_COLOR2);
00808   p10_10->textfont(IN_TEXT_FONTS);
00809 
00810   p10_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00811   p10_11->box(BOX_TYPE3);
00812   p10_11->textsize(TXT_SIZE);
00813   p10_11->color(COLOR3);
00814   p10_11->textcolor(TXT_COLOR);
00815   p10_11->selection_color(COLOR_SEL);
00816   p10_11->tooltip("p10 serie");
00817   p10_11->cursor_color(TXT_COLOR2);
00818   p10_11->textfont(IN_TEXT_FONTS);
00819 
00820   p10_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*4+20,CTRL_W,CTRL_H);
00821   p10_12->box(BOX_TYPE3);
00822   p10_12->textsize(TXT_SIZE);
00823   p10_12->color(COLOR3);
00824   p10_12->textcolor(TXT_COLOR);
00825   p10_12->selection_color(COLOR_SEL);
00826   p10_12->tooltip("p10 serie");
00827   p10_12->cursor_color(TXT_COLOR2);
00828   p10_12->textfont(IN_TEXT_FONTS);
00829 
00830   bt_enable_p10 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*4+20,20,20);
00831   bt_enable_p10->tooltip("Enable p10 serie");
00832   bt_enable_p10->box(BOX_TYPE);
00833   bt_enable_p10->selection_color(E_BUTTTON_COLOR);
00834   bt_enable_p10->callback(enableCtpp10_cb);
00835 
00836   bt_enable_p10Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*4+20,20,20);
00837   bt_enable_p10Ctp->tooltip("Enable p10 counterpoint functions");
00838   bt_enable_p10Ctp->box(BOX_TYPE);
00839   bt_enable_p10Ctp->selection_color(E_BUTTTON_COLOR);
00840   bt_enable_p10Ctp->callback(enable_p10_cb);
00841 
00842   outP10 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*4+20,HB,CTRL_H,"M");
00843   outP10->box(FL_PLASTIC_UP_BOX);
00844   outP10->labelsize(11);
00845   outP10->selection_color(FL_GREEN);
00846   outP10->labelcolor(FL_RED);
00847   outP10->tooltip(MEMO);
00848 
00849   p11_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00850   p11_1->textsize(TXT_SIZE);
00851   p11_1->box(BOX_TYPE3);
00852   p11_1->align(FL_ALIGN_TOP_LEFT);
00853   p11_1->color(COLOR3);
00854   p11_1->textcolor(TXT_COLOR);
00855   p11_1->selection_color(COLOR_SEL);
00856   p11_1->labelcolor(CTRL_LABEL_COLOR);
00857   p11_1->tooltip("p11 serie");
00858   p11_1->cursor_color(TXT_COLOR2);
00859   p11_1->textfont(IN_TEXT_FONTS);
00860 
00861   p11_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00862   p11_2->box(BOX_TYPE3);
00863   p11_2->textsize(TXT_SIZE);
00864   p11_2->color(COLOR3);
00865   p11_2->textcolor(TXT_COLOR);
00866   p11_2->selection_color(COLOR_SEL);
00867   p11_2->tooltip("p11 serie");
00868   p11_2->cursor_color(TXT_COLOR2);
00869   p11_2->textfont(IN_TEXT_FONTS);
00870 
00871   p11_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00872   p11_3->box(BOX_TYPE3);
00873   p11_3->textsize(TXT_SIZE);
00874   p11_3->color(COLOR3);
00875   p11_3->textcolor(TXT_COLOR);
00876   p11_3->selection_color(COLOR_SEL);
00877   p11_3->tooltip("p11 serie");
00878   p11_3->cursor_color(TXT_COLOR2);
00879   p11_3->textfont(IN_TEXT_FONTS);
00880 
00881   p11_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00882   p11_4->box(BOX_TYPE3);
00883   p11_4->textsize(TXT_SIZE);
00884   p11_4->color(COLOR3);
00885   p11_4->textcolor(TXT_COLOR);
00886   p11_4->selection_color(COLOR_SEL);
00887   p11_4->tooltip("p11 serie");
00888   p11_4->cursor_color(TXT_COLOR2);
00889   p11_4->textfont(IN_TEXT_FONTS);
00890 
00891   p11_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00892   p11_5->box(BOX_TYPE3);
00893   p11_5->textsize(TXT_SIZE);
00894   p11_5->color(COLOR3);
00895   p11_5->textcolor(TXT_COLOR);
00896   p11_5->selection_color(COLOR_SEL);
00897   p11_5->tooltip("p11 serie");
00898   p11_5->cursor_color(TXT_COLOR2);
00899   p11_5->textfont(IN_TEXT_FONTS);
00900 
00901   p11_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00902   p11_6->box(BOX_TYPE3);
00903   p11_6->textsize(TXT_SIZE);
00904   p11_6->color(COLOR3);
00905   p11_6->textcolor(TXT_COLOR);
00906   p11_6->selection_color(COLOR_SEL);
00907   p11_6->tooltip("p11 serie");
00908   p11_6->cursor_color(TXT_COLOR2);
00909   p11_6->textfont(IN_TEXT_FONTS);
00910 
00911   p11_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00912   p11_7->box(BOX_TYPE3);
00913   p11_7->textsize(TXT_SIZE);
00914   p11_7->color(COLOR3);
00915   p11_7->textcolor(TXT_COLOR);
00916   p11_7->selection_color(COLOR_SEL);
00917   p11_7->tooltip("p11 serie");
00918   p11_7->cursor_color(TXT_COLOR2);
00919   p11_7->textfont(IN_TEXT_FONTS);
00920 
00921   p11_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00922   p11_8->box(BOX_TYPE3);
00923   p11_8->textsize(TXT_SIZE);
00924   p11_8->color(COLOR3);
00925   p11_8->textcolor(TXT_COLOR);
00926   p11_8->selection_color(COLOR_SEL);
00927   p11_8->tooltip("p11 serie");
00928   p11_8->cursor_color(TXT_COLOR2);
00929   p11_8->textfont(IN_TEXT_FONTS);
00930 
00931   p11_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00932   p11_9->box(BOX_TYPE3);
00933   p11_9->textsize(TXT_SIZE);
00934   p11_9->color(COLOR3);
00935   p11_9->textcolor(TXT_COLOR);
00936   p11_9->selection_color(COLOR_SEL);
00937   p11_9->tooltip("p11 serie");
00938   p11_9->cursor_color(TXT_COLOR2);
00939   p11_9->textfont(IN_TEXT_FONTS);
00940 
00941   p11_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00942   p11_10->box(BOX_TYPE3);
00943   p11_10->textsize(TXT_SIZE);
00944   p11_10->color(COLOR3);
00945   p11_10->textcolor(TXT_COLOR);
00946   p11_10->selection_color(COLOR_SEL);
00947   p11_10->tooltip("p11 serie");
00948   p11_10->cursor_color(TXT_COLOR2);
00949   p11_10->textfont(IN_TEXT_FONTS);
00950 
00951   p11_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00952   p11_11->box(BOX_TYPE3);
00953   p11_11->textsize(TXT_SIZE);
00954   p11_11->color(COLOR3);
00955   p11_11->textcolor(TXT_COLOR);
00956   p11_11->selection_color(COLOR_SEL);
00957   p11_11->tooltip("p11 serie");
00958   p11_11->cursor_color(TXT_COLOR2);
00959   p11_11->textfont(IN_TEXT_FONTS);
00960 
00961   p11_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*5+25,CTRL_W,CTRL_H);
00962   p11_12->box(BOX_TYPE3);
00963   p11_12->textsize(TXT_SIZE);
00964   p11_12->color(COLOR3);
00965   p11_12->textcolor(TXT_COLOR);
00966   p11_12->selection_color(COLOR_SEL);
00967   p11_12->tooltip("p11 serie");
00968   p11_12->cursor_color(TXT_COLOR2);
00969   p11_12->textfont(IN_TEXT_FONTS);
00970 
00971   bt_enable_p11 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*5+25,20,20);
00972   bt_enable_p11->tooltip("Enable p11 serie");
00973   bt_enable_p11->box(BOX_TYPE);
00974   bt_enable_p11->selection_color(E_BUTTTON_COLOR);
00975   bt_enable_p11->callback(enableCtpp11_cb);
00976 
00977   bt_enable_p11Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*5+25,20,20);
00978   bt_enable_p11Ctp->tooltip("Enable p11 counterpoint functions");
00979   bt_enable_p11Ctp->box(BOX_TYPE);
00980   bt_enable_p11Ctp->selection_color(E_BUTTTON_COLOR);
00981   bt_enable_p11Ctp->callback(enable_p11_cb);
00982 
00983   outP11 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*5+25,HB,CTRL_H,"M");
00984   outP11->box(FL_PLASTIC_UP_BOX);
00985   outP11->labelsize(11);
00986   outP11->selection_color(FL_GREEN);
00987   outP11->labelcolor(FL_RED);
00988   outP11->tooltip(MEMO);
00989 
00990   p12_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
00991   p12_1->textsize(TXT_SIZE);
00992   p12_1->box(BOX_TYPE3);
00993   p12_1->align(FL_ALIGN_TOP_LEFT);
00994   p12_1->color(COLOR3);
00995   p12_1->textcolor(TXT_COLOR);
00996   p12_1->selection_color(COLOR_SEL);
00997   p12_1->labelcolor(CTRL_LABEL_COLOR);
00998   p12_1->tooltip("p12 serie");
00999   p12_1->cursor_color(TXT_COLOR2);
01000   p12_1->textfont(IN_TEXT_FONTS);
01001 
01002   p12_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01003   p12_2->box(BOX_TYPE3);
01004   p12_2->textsize(TXT_SIZE);
01005   p12_2->color(COLOR3);
01006   p12_2->textcolor(TXT_COLOR);
01007   p12_2->selection_color(COLOR_SEL);
01008   p12_2->tooltip("p12 serie");
01009   p12_2->cursor_color(TXT_COLOR2);
01010   p12_2->textfont(IN_TEXT_FONTS);
01011 
01012   p12_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01013   p12_3->box(BOX_TYPE3);
01014   p12_3->textsize(TXT_SIZE);
01015   p12_3->color(COLOR3);
01016   p12_3->textcolor(TXT_COLOR);
01017   p12_3->selection_color(COLOR_SEL);
01018   p12_3->tooltip("p12 serie");
01019   p12_3->cursor_color(TXT_COLOR2);
01020   p12_3->textfont(IN_TEXT_FONTS);
01021 
01022   p12_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01023   p12_4->box(BOX_TYPE3);
01024   p12_4->textsize(TXT_SIZE);
01025   p12_4->color(COLOR3);
01026   p12_4->textcolor(TXT_COLOR);
01027   p12_4->selection_color(COLOR_SEL);
01028   p12_4->tooltip("p12 serie");
01029   p12_4->cursor_color(TXT_COLOR2);
01030   p12_4->textfont(IN_TEXT_FONTS);
01031 
01032   p12_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01033   p12_5->box(BOX_TYPE3);
01034   p12_5->textsize(TXT_SIZE);
01035   p12_5->color(COLOR3);
01036   p12_5->textcolor(TXT_COLOR);
01037   p12_5->selection_color(COLOR_SEL);
01038   p12_5->tooltip("p12 serie");
01039   p12_5->cursor_color(TXT_COLOR2);
01040   p12_5->textfont(IN_TEXT_FONTS);
01041 
01042   p12_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01043   p12_6->box(BOX_TYPE3);
01044   p12_6->textsize(TXT_SIZE);
01045   p12_6->color(COLOR3);
01046   p12_6->textcolor(TXT_COLOR);
01047   p12_6->selection_color(COLOR_SEL);
01048   p12_6->tooltip("p12 serie");
01049   p12_6->cursor_color(TXT_COLOR2);
01050   p12_6->textfont(IN_TEXT_FONTS);
01051 
01052   p12_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01053   p12_7->box(BOX_TYPE3);
01054   p12_7->textsize(TXT_SIZE);
01055   p12_7->color(COLOR3);
01056   p12_7->textcolor(TXT_COLOR);
01057   p12_7->selection_color(COLOR_SEL);
01058   p12_7->tooltip("p12 serie");
01059   p12_7->cursor_color(TXT_COLOR2);
01060   p12_7->textfont(IN_TEXT_FONTS);
01061 
01062   p12_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01063   p12_8->box(BOX_TYPE3);
01064   p12_8->textsize(TXT_SIZE);
01065   p12_8->color(COLOR3);
01066   p12_8->textcolor(TXT_COLOR);
01067   p12_8->selection_color(COLOR_SEL);
01068   p12_8->tooltip("p12 serie");
01069   p12_8->cursor_color(TXT_COLOR2);
01070   p12_8->textfont(IN_TEXT_FONTS);
01071 
01072   p12_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01073   p12_9->box(BOX_TYPE3);
01074   p12_9->textsize(TXT_SIZE);
01075   p12_9->color(COLOR3);
01076   p12_9->textcolor(TXT_COLOR);
01077   p12_9->selection_color(COLOR_SEL);
01078   p12_9->tooltip("p12 serie");
01079   p12_9->cursor_color(TXT_COLOR2);
01080   p12_9->textfont(IN_TEXT_FONTS);
01081 
01082   p12_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01083   p12_10->box(BOX_TYPE3);
01084   p12_10->textsize(TXT_SIZE);
01085   p12_10->color(COLOR3);
01086   p12_10->textcolor(TXT_COLOR);
01087   p12_10->selection_color(COLOR_SEL);
01088   p12_10->tooltip("p12 serie");
01089   p12_10->cursor_color(TXT_COLOR2);
01090   p12_10->textfont(IN_TEXT_FONTS);
01091 
01092   p12_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01093   p12_11->box(BOX_TYPE3);
01094   p12_11->textsize(TXT_SIZE);
01095   p12_11->color(COLOR3);
01096   p12_11->textcolor(TXT_COLOR);
01097   p12_11->selection_color(COLOR_SEL);
01098   p12_11->tooltip("p12 serie");
01099   p12_11->cursor_color(TXT_COLOR2);
01100   p12_11->textfont(IN_TEXT_FONTS);
01101 
01102   p12_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*6+30,CTRL_W,CTRL_H);
01103   p12_12->box(BOX_TYPE3);
01104   p12_12->textsize(TXT_SIZE);
01105   p12_12->color(COLOR3);
01106   p12_12->textcolor(TXT_COLOR);
01107   p12_12->selection_color(COLOR_SEL);
01108   p12_12->tooltip("p12 serie");
01109   p12_12->cursor_color(TXT_COLOR2);
01110   p12_12->textfont(IN_TEXT_FONTS);
01111 
01112   bt_enable_p12 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*6+30,20,20);
01113   bt_enable_p12->tooltip("Enable p12 serie");
01114   bt_enable_p12->box(BOX_TYPE);
01115   bt_enable_p12->selection_color(E_BUTTTON_COLOR);
01116   bt_enable_p12->callback(enableCtpp12_cb);
01117 
01118   bt_enable_p12Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*6+30,20,20);
01119   bt_enable_p12Ctp->tooltip("Enable p12 counterpoint functions");
01120   bt_enable_p12Ctp->box(BOX_TYPE);
01121   bt_enable_p12Ctp->selection_color(E_BUTTTON_COLOR);
01122   bt_enable_p12Ctp->callback(enable_p12_cb);
01123 
01124   outP12 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*6+30,HB,CTRL_H,"M");
01125   outP12->box(FL_PLASTIC_UP_BOX);
01126   outP12->labelsize(11);
01127   outP12->selection_color(FL_GREEN);
01128   outP12->labelcolor(FL_RED);
01129   outP12->tooltip(MEMO);
01130 
01131   p13_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01132   p13_1->textsize(TXT_SIZE);
01133   p13_1->box(BOX_TYPE3);
01134   p13_1->align(FL_ALIGN_TOP_LEFT);
01135   p13_1->color(COLOR3);
01136   p13_1->textcolor(TXT_COLOR);
01137   p13_1->selection_color(COLOR_SEL);
01138   p13_1->labelcolor(CTRL_LABEL_COLOR);
01139   p13_1->tooltip("p13 serie");
01140   p13_1->cursor_color(TXT_COLOR2);
01141   p13_1->textfont(IN_TEXT_FONTS);
01142 
01143   p13_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01144   p13_2->box(BOX_TYPE3);
01145   p13_2->textsize(TXT_SIZE);
01146   p13_2->color(COLOR3);
01147   p13_2->textcolor(TXT_COLOR);
01148   p13_2->selection_color(COLOR_SEL);
01149   p13_2->tooltip("p13 serie");
01150   p13_2->cursor_color(TXT_COLOR2);
01151   p13_2->textfont(IN_TEXT_FONTS);
01152 
01153   p13_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01154   p13_3->box(BOX_TYPE3);
01155   p13_3->textsize(TXT_SIZE);
01156   p13_3->color(COLOR3);
01157   p13_3->textcolor(TXT_COLOR);
01158   p13_3->selection_color(COLOR_SEL);
01159   p13_3->tooltip("p13 serie");
01160   p13_3->cursor_color(TXT_COLOR2);
01161   p13_3->textfont(IN_TEXT_FONTS);
01162 
01163   p13_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01164   p13_4->box(BOX_TYPE3);
01165   p13_4->textsize(TXT_SIZE);
01166   p13_4->color(COLOR3);
01167   p13_4->textcolor(TXT_COLOR);
01168   p13_4->selection_color(COLOR_SEL);
01169   p13_4->tooltip("p13 serie");
01170   p13_4->cursor_color(TXT_COLOR2);
01171   p13_4->textfont(IN_TEXT_FONTS);
01172 
01173   p13_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01174   p13_5->box(BOX_TYPE3);
01175   p13_5->textsize(TXT_SIZE);
01176   p13_5->color(COLOR3);
01177   p13_5->textcolor(TXT_COLOR);
01178   p13_5->selection_color(COLOR_SEL);
01179   p13_5->tooltip("p13 serie");
01180   p13_5->cursor_color(TXT_COLOR2);
01181   p13_5->textfont(IN_TEXT_FONTS);
01182 
01183   p13_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01184   p13_6->box(BOX_TYPE3);
01185   p13_6->textsize(TXT_SIZE);
01186   p13_6->color(COLOR3);
01187   p13_6->textcolor(TXT_COLOR);
01188   p13_6->selection_color(COLOR_SEL);
01189   p13_6->tooltip("p13 serie");
01190   p13_6->cursor_color(TXT_COLOR2);
01191   p13_6->textfont(IN_TEXT_FONTS);
01192 
01193   p13_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01194   p13_7->box(BOX_TYPE3);
01195   p13_7->textsize(TXT_SIZE);
01196   p13_7->color(COLOR3);
01197   p13_7->textcolor(TXT_COLOR);
01198   p13_7->selection_color(COLOR_SEL);
01199   p13_7->tooltip("p13 serie");
01200   p13_7->cursor_color(TXT_COLOR2);
01201   p13_7->textfont(IN_TEXT_FONTS);
01202 
01203   p13_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01204   p13_8->box(BOX_TYPE3);
01205   p13_8->textsize(TXT_SIZE);
01206   p13_8->color(COLOR3);
01207   p13_8->textcolor(TXT_COLOR);
01208   p13_8->selection_color(COLOR_SEL);
01209   p13_8->tooltip("p13 serie");
01210   p13_8->cursor_color(TXT_COLOR2);
01211   p13_8->textfont(IN_TEXT_FONTS);
01212 
01213   p13_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01214   p13_9->box(BOX_TYPE3);
01215   p13_9->textsize(TXT_SIZE);
01216   p13_9->color(COLOR3);
01217   p13_9->textcolor(TXT_COLOR);
01218   p13_9->selection_color(COLOR_SEL);
01219   p13_9->tooltip("p13 serie");
01220   p13_9->cursor_color(TXT_COLOR2);
01221   p13_9->textfont(IN_TEXT_FONTS);
01222 
01223   p13_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01224   p13_10->box(BOX_TYPE3);
01225   p13_10->textsize(TXT_SIZE);
01226   p13_10->color(COLOR3);
01227   p13_10->textcolor(TXT_COLOR);
01228   p13_10->selection_color(COLOR_SEL);
01229   p13_10->tooltip("p13 serie");
01230   p13_10->cursor_color(TXT_COLOR2);
01231   p13_10->textfont(IN_TEXT_FONTS);
01232 
01233   p13_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01234   p13_11->box(BOX_TYPE3);
01235   p13_11->textsize(TXT_SIZE);
01236   p13_11->color(COLOR3);
01237   p13_11->textcolor(TXT_COLOR);
01238   p13_11->selection_color(COLOR_SEL);
01239   p13_11->tooltip("p13 serie");
01240   p13_11->cursor_color(TXT_COLOR2);
01241   p13_11->textfont(IN_TEXT_FONTS);
01242 
01243   p13_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*7+35,CTRL_W,CTRL_H);
01244   p13_12->box(BOX_TYPE3);
01245   p13_12->textsize(TXT_SIZE);
01246   p13_12->color(COLOR3);
01247   p13_12->textcolor(TXT_COLOR);
01248   p13_12->selection_color(COLOR_SEL);
01249   p13_12->tooltip("p13 serie");
01250   p13_12->cursor_color(TXT_COLOR2);
01251   p13_12->textfont(IN_TEXT_FONTS);
01252 
01253   bt_enable_p13 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*7+35,20,20);
01254   bt_enable_p13->tooltip("Enable p13 serie");
01255   bt_enable_p13->box(BOX_TYPE);
01256   bt_enable_p13->selection_color(E_BUTTTON_COLOR);
01257   bt_enable_p13->callback(enableCtpp13_cb);
01258 
01259   bt_enable_p13Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*7+35,20,20);
01260   bt_enable_p13Ctp->tooltip("Enable p13 counterpoint functions");
01261   bt_enable_p13Ctp->box(BOX_TYPE);  
01262   bt_enable_p13Ctp->selection_color(E_BUTTTON_COLOR);
01263   bt_enable_p13Ctp->callback(enable_p13_cb);
01264   
01265   outP13 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*7+35,HB,CTRL_H,"M");
01266   outP13->box(FL_PLASTIC_UP_BOX);
01267   outP13->labelsize(11);
01268   outP13->selection_color(FL_GREEN);
01269   outP13->labelcolor(FL_RED);
01270   outP13->tooltip(MEMO);
01271 
01272   p14_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01273   p14_1->textsize(TXT_SIZE);
01274   p14_1->box(BOX_TYPE3);
01275   p14_1->align(FL_ALIGN_TOP_LEFT);
01276   p14_1->color(COLOR3);
01277   p14_1->textcolor(TXT_COLOR);
01278   p14_1->selection_color(COLOR_SEL);
01279   p14_1->labelcolor(CTRL_LABEL_COLOR);
01280   p14_1->tooltip("p14 serie");
01281   p14_1->cursor_color(TXT_COLOR2);
01282   p14_1->textfont(IN_TEXT_FONTS);
01283 
01284   p14_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01285   p14_2->box(BOX_TYPE3);
01286   p14_2->textsize(TXT_SIZE);
01287   p14_2->color(COLOR3);
01288   p14_2->textcolor(TXT_COLOR);
01289   p14_2->selection_color(COLOR_SEL);
01290   p14_2->tooltip("p14 serie");
01291   p14_2->cursor_color(TXT_COLOR2);
01292   p14_2->textfont(IN_TEXT_FONTS);
01293 
01294   p14_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01295   p14_3->box(BOX_TYPE3);
01296   p14_3->textsize(TXT_SIZE);
01297   p14_3->color(COLOR3);
01298   p14_3->textcolor(TXT_COLOR);
01299   p14_3->selection_color(COLOR_SEL);
01300   p14_3->tooltip("p14 serie");
01301   p14_3->cursor_color(TXT_COLOR2);
01302   p14_3->textfont(IN_TEXT_FONTS);
01303 
01304   p14_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01305   p14_4->box(BOX_TYPE3);
01306   p14_4->textsize(TXT_SIZE);
01307   p14_4->color(COLOR3);
01308   p14_4->textcolor(TXT_COLOR);
01309   p14_4->selection_color(COLOR_SEL);
01310   p14_4->tooltip("p14 serie");
01311   p14_4->cursor_color(TXT_COLOR2);
01312   p14_4->textfont(IN_TEXT_FONTS);
01313 
01314   p14_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01315   p14_5->box(BOX_TYPE3);
01316   p14_5->textsize(TXT_SIZE);
01317   p14_5->color(COLOR3);
01318   p14_5->textcolor(TXT_COLOR);
01319   p14_5->selection_color(COLOR_SEL);
01320   p14_5->tooltip("p14 serie");
01321   p14_5->cursor_color(TXT_COLOR2);
01322   p14_5->textfont(IN_TEXT_FONTS);
01323 
01324   p14_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01325   p14_6->box(BOX_TYPE3);
01326   p14_6->textsize(TXT_SIZE);
01327   p14_6->color(COLOR3);
01328   p14_6->textcolor(TXT_COLOR);
01329   p14_6->selection_color(COLOR_SEL);
01330   p14_6->tooltip("p14 serie");
01331   p14_6->cursor_color(TXT_COLOR2);
01332   p14_6->textfont(IN_TEXT_FONTS);
01333 
01334   p14_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01335   p14_7->box(BOX_TYPE3);
01336   p14_7->textsize(TXT_SIZE);
01337   p14_7->color(COLOR3);
01338   p14_7->textcolor(TXT_COLOR);
01339   p14_7->selection_color(COLOR_SEL);
01340   p14_7->tooltip("p14 serie");
01341   p14_7->cursor_color(TXT_COLOR2);
01342   p14_7->textfont(IN_TEXT_FONTS);
01343 
01344   p14_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01345   p14_8->box(BOX_TYPE3);
01346   p14_8->textsize(TXT_SIZE);
01347   p14_8->color(COLOR3);
01348   p14_8->textcolor(TXT_COLOR);
01349   p14_8->selection_color(COLOR_SEL);
01350   p14_8->tooltip("p14 serie");
01351   p14_8->cursor_color(TXT_COLOR2);
01352   p14_8->textfont(IN_TEXT_FONTS);
01353 
01354   p14_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01355   p14_9->box(BOX_TYPE3);
01356   p14_9->textsize(TXT_SIZE);
01357   p14_9->color(COLOR3);
01358   p14_9->textcolor(TXT_COLOR);
01359   p14_9->selection_color(COLOR_SEL);
01360   p14_9->tooltip("p14 serie");
01361   p14_9->cursor_color(TXT_COLOR2);
01362   p14_9->textfont(IN_TEXT_FONTS);
01363 
01364   p14_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01365   p14_10->box(BOX_TYPE3);
01366   p14_10->textsize(TXT_SIZE);
01367   p14_10->color(COLOR3);
01368   p14_10->textcolor(TXT_COLOR);
01369   p14_10->selection_color(COLOR_SEL);
01370   p14_10->tooltip("p14 serie");
01371   p14_10->cursor_color(TXT_COLOR2);
01372   p14_10->textfont(IN_TEXT_FONTS);
01373 
01374   p14_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01375   p14_11->box(BOX_TYPE3);
01376   p14_11->textsize(TXT_SIZE);
01377   p14_11->color(COLOR3);
01378   p14_11->textcolor(TXT_COLOR);
01379   p14_11->selection_color(COLOR_SEL);
01380   p14_11->tooltip("p14 serie");
01381   p14_11->cursor_color(TXT_COLOR2);
01382   p14_11->textfont(IN_TEXT_FONTS);
01383 
01384   p14_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*8+40,CTRL_W,CTRL_H);
01385   p14_12->box(BOX_TYPE3);
01386   p14_12->textsize(TXT_SIZE);
01387   p14_12->color(COLOR3);
01388   p14_12->textcolor(TXT_COLOR);
01389   p14_12->selection_color(COLOR_SEL);
01390   p14_12->tooltip("p14 serie");
01391   p14_12->cursor_color(TXT_COLOR2);
01392   p14_12->textfont(IN_TEXT_FONTS);
01393 
01394   bt_enable_p14 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*8+40,20,20);
01395   bt_enable_p14->tooltip("Enable p14 serie");
01396   bt_enable_p14->box(BOX_TYPE);
01397   bt_enable_p14->selection_color(E_BUTTTON_COLOR);
01398   bt_enable_p14->callback(enableCtpp14_cb);
01399 
01400   bt_enable_p14Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*8+40,20,20);
01401   bt_enable_p14Ctp->tooltip("Enable p14 counterpoint functions");
01402   bt_enable_p14Ctp->box(BOX_TYPE);
01403   bt_enable_p14Ctp->selection_color(E_BUTTTON_COLOR);
01404   bt_enable_p14Ctp->callback(enable_p14_cb);
01405 
01406   outP14 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*8+40,HB,CTRL_H,"M");
01407   outP14->box(FL_PLASTIC_UP_BOX);
01408   outP14->labelsize(11);
01409   outP14->selection_color(FL_GREEN);
01410   outP14->labelcolor(FL_RED);
01411   outP14->tooltip(MEMO);
01412 
01413   p15_1 = new Fl_Value_Input(CTRL_L5,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01414   p15_1->textsize(TXT_SIZE);
01415   p15_1->box(BOX_TYPE3);
01416   p15_1->align(FL_ALIGN_TOP_LEFT);
01417   p15_1->color(COLOR3);
01418   p15_1->textcolor(TXT_COLOR);
01419   p15_1->selection_color(COLOR_SEL);
01420   p15_1->labelcolor(CTRL_LABEL_COLOR);
01421   p15_1->tooltip("p15 serie");
01422   p15_1->cursor_color(TXT_COLOR2);
01423   p15_1->textfont(IN_TEXT_FONTS);
01424 
01425   p15_2 = new Fl_Value_Input(CTRL_L4+CTRL_W,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01426   p15_2->box(BOX_TYPE3);
01427   p15_2->textsize(TXT_SIZE);
01428   p15_2->color(COLOR3);
01429   p15_2->textcolor(TXT_COLOR);
01430   p15_2->selection_color(COLOR_SEL);
01431   p15_2->tooltip("p15 serie");
01432   p15_2->cursor_color(TXT_COLOR2);
01433   p15_2->textfont(IN_TEXT_FONTS);
01434 
01435   p15_3 = new Fl_Value_Input(CTRL_L4+CTRL_W*2,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01436   p15_3->box(BOX_TYPE3);
01437   p15_3->textsize(TXT_SIZE);
01438   p15_3->color(COLOR3);
01439   p15_3->textcolor(TXT_COLOR);
01440   p15_3->selection_color(COLOR_SEL);
01441   p15_3->tooltip("p15 serie");
01442   p15_3->cursor_color(TXT_COLOR2);
01443   p15_3->textfont(IN_TEXT_FONTS);
01444 
01445   p15_4 = new Fl_Value_Input(CTRL_L4+CTRL_W*3,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01446   p15_4->box(BOX_TYPE3);
01447   p15_4->textsize(TXT_SIZE);
01448   p15_4->color(COLOR3);
01449   p15_4->textcolor(TXT_COLOR);
01450   p15_4->selection_color(COLOR_SEL);
01451   p15_4->tooltip("p15 serie");
01452   p15_4->cursor_color(TXT_COLOR2);
01453   p15_4->textfont(IN_TEXT_FONTS);
01454 
01455   p15_5 = new Fl_Value_Input(CTRL_L4+CTRL_W*4,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01456   p15_5->box(BOX_TYPE3);
01457   p15_5->textsize(TXT_SIZE);
01458   p15_5->color(COLOR3);
01459   p15_5->textcolor(TXT_COLOR);
01460   p15_5->selection_color(COLOR_SEL);
01461   p15_5->tooltip("p15 serie");
01462   p15_5->cursor_color(TXT_COLOR2);
01463   p15_5->textfont(IN_TEXT_FONTS);
01464 
01465   p15_6 = new Fl_Value_Input(CTRL_L4+CTRL_W*5,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01466   p15_6->box(BOX_TYPE3);
01467   p15_6->textsize(TXT_SIZE);
01468   p15_6->color(COLOR3);
01469   p15_6->textcolor(TXT_COLOR);
01470   p15_6->selection_color(COLOR_SEL);
01471   p15_6->tooltip("p15 serie");
01472   p15_6->cursor_color(TXT_COLOR2);
01473   p15_6->textfont(IN_TEXT_FONTS);
01474 
01475   p15_7 = new Fl_Value_Input(CTRL_L4+CTRL_W*6,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01476   p15_7->box(BOX_TYPE3);
01477   p15_7->textsize(TXT_SIZE);
01478   p15_7->color(COLOR3);
01479   p15_7->textcolor(TXT_COLOR);
01480   p15_7->selection_color(COLOR_SEL);
01481   p15_7->tooltip("p15 serie");
01482   p15_7->cursor_color(TXT_COLOR2);
01483   p15_7->textfont(IN_TEXT_FONTS);
01484 
01485   p15_8 = new Fl_Value_Input(CTRL_L4+CTRL_W*7,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01486   p15_8->box(BOX_TYPE3);
01487   p15_8->textsize(TXT_SIZE);
01488   p15_8->color(COLOR3);
01489   p15_8->textcolor(TXT_COLOR);
01490   p15_8->selection_color(COLOR_SEL);
01491   p15_8->tooltip("p15 serie");
01492   p15_8->cursor_color(TXT_COLOR2);
01493   p15_8->textfont(IN_TEXT_FONTS);
01494 
01495   p15_9 = new Fl_Value_Input(CTRL_L4+CTRL_W*8,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01496   p15_9->box(BOX_TYPE3);
01497   p15_9->textsize(TXT_SIZE);
01498   p15_9->color(COLOR3);
01499   p15_9->textcolor(TXT_COLOR);
01500   p15_9->selection_color(COLOR_SEL);
01501   p15_9->tooltip("p15 serie");
01502   p15_9->cursor_color(TXT_COLOR2);
01503   p15_9->textfont(IN_TEXT_FONTS);
01504 
01505   p15_10 = new Fl_Value_Input(CTRL_L4+CTRL_W*9,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01506   p15_10->box(BOX_TYPE3);
01507   p15_10->textsize(TXT_SIZE);
01508   p15_10->color(COLOR3);
01509   p15_10->textcolor(TXT_COLOR);
01510   p15_10->selection_color(COLOR_SEL);
01511   p15_10->tooltip("p15 serie");
01512   p15_10->cursor_color(TXT_COLOR2);
01513   p15_10->textfont(IN_TEXT_FONTS);
01514 
01515   p15_11 = new Fl_Value_Input(CTRL_L4+CTRL_W*10,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01516   p15_11->box(BOX_TYPE3);
01517   p15_11->textsize(TXT_SIZE);
01518   p15_11->color(COLOR3);
01519   p15_11->textcolor(TXT_COLOR);
01520   p15_11->selection_color(COLOR_SEL);
01521   p15_11->tooltip("p15 serie");
01522   p15_11->cursor_color(TXT_COLOR2);
01523   p15_11->textfont(IN_TEXT_FONTS);
01524 
01525   p15_12 = new Fl_Value_Input(CTRL_L4+CTRL_W*11,ADD_TOP2+CTRL_H*9+45,CTRL_W,CTRL_H);
01526   p15_12->box(BOX_TYPE3);
01527   p15_12->textsize(TXT_SIZE);
01528   p15_12->color(COLOR3);
01529   p15_12->textcolor(TXT_COLOR);
01530   p15_12->selection_color(COLOR_SEL);
01531   p15_12->tooltip("p15 serie");
01532   p15_12->cursor_color(TXT_COLOR2);
01533   p15_12->textfont(IN_TEXT_FONTS);
01534 
01535   bt_enable_p15 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+15,ADD_TOP2+CTRL_H*9+45,20,20);
01536   bt_enable_p15->tooltip("Enable p15 serie");
01537   bt_enable_p15->box(BOX_TYPE);
01538   bt_enable_p15->selection_color(E_BUTTTON_COLOR);
01539   bt_enable_p15->callback(enableCtpp15_cb);
01540 
01541   bt_enable_p15Ctp = new Fl_Light_Button(CTRL_L4+CTRL_W*12+45,ADD_TOP2+CTRL_H*9+45,20,20);
01542   bt_enable_p15Ctp->tooltip("Enable p15 counterpoint functions");
01543   bt_enable_p15Ctp->box(BOX_TYPE);
01544   bt_enable_p15Ctp->selection_color(E_BUTTTON_COLOR);
01545   bt_enable_p15Ctp->callback(enable_p15_cb);
01546 
01547   outP15 = new Fl_Light_Button(CTRL_L4+CTRL_W*12+75,ADD_TOP2+CTRL_H*9+45,HB,CTRL_H,"M");
01548   outP15->box(FL_PLASTIC_UP_BOX);
01549   outP15->labelsize(11);
01550   outP15->selection_color(FL_GREEN);
01551   outP15->labelcolor(FL_RED);
01552   outP15->tooltip(MEMO);
01553 
01554   Fl_Button *moreP2 = new Fl_Button(CTRL_W*8+15,CTRL_T+(ADD_TOP-125)+350,60,25,"p16-p25");
01555   moreP2->callback(makeWinParamsb_cb);
01556   moreP2->labelcolor(FL_RED);
01557   moreP2->box(BOX_TYPE);
01558   moreP2->labeltype(BT_LABEL_TYPE);
01559 
01560   Fl_Button *btParamsAritm = new Fl_Button(CTRL_W*9+30,CTRL_T+(ADD_TOP-125)+350,60,25,"Func.");
01561   btParamsAritm->labelcolor(FL_RED);
01562   btParamsAritm->box(BOX_TYPE);
01563   btParamsAritm->labeltype(BT_LABEL_TYPE);
01564   btParamsAritm->labelsize(14);
01565   btParamsAritm->callback(makeWin_IncDecSParams_cb);
01566 
01567   Fl_Button *closeWparam = new Fl_Button(CTRL_W*10+45,CTRL_T+(ADD_TOP-125)+350,60,25,"CLOSE");
01568   closeWparam->callback(closeWparams_cb);
01569   closeWparam->labelcolor(FL_RED);
01570   closeWparam->box(BOX_TYPE);
01571   closeWparam->labeltype(BT_LABEL_TYPE);
01572   closeWparam->labelsize(14);
01573   
01574   readPrefsSerieParams();
01575     winParamn->end();
01576     winParamn->show();
01577 }
01578 
01579 void makeWinParams_cb(Fl_Widget*,void*)
01580 {
01581     loadMoreParams = 1;
01582     makeWinParams();
01583 }
01584 
01585 void closeWparams_cb(Fl_Widget*,void*)
01586 {
01587     winParamn->redraw();
01588     writePrefsSerieParams();
01589     winParamn->hide();
01590 }

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