3 GtkBuilder *monBuilderNote;
4 GtkWidget *maFenetreNote;
6 gtk_init( &argc, &argv );
8 monBuilderNote = gtk_builder_new();
10 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
11 gtk_builder_connect_signals( monBuilderNote, NULL);
13 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
15 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
18 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
20 gtk_widget_show_all (maFenetreNote);
25 GtkBuilder *monBuilderNote;
27 monBuilderNote = gtk_builder_new();
29 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
30 gtk_builder_connect_signals( monBuilderNote, NULL);
32 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
33 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
34 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
35 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
36 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
38 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,1);
42 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,3);
46 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,5);
48 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,6);
56 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,10);
58 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,11);
60 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,12);
62 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,0,13);
94 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,0,1);
96 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,0,2);
98 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,0,3);
100 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,0,4);
102 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,0,5);
107 GtkBuilder *monBuilderNote;
108 GtkWidget *maFenetreNote;
110 gtk_init( &argc, &argv );
112 monBuilderNote = gtk_builder_new();
114 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
115 gtk_builder_connect_signals( monBuilderNote, NULL);
117 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
119 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
122 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
124 gtk_widget_show_all (maFenetreNote);
129 GtkBuilder *monBuilderNote;
131 monBuilderNote = gtk_builder_new();
133 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
134 gtk_builder_connect_signals( monBuilderNote, NULL);
136 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
137 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
138 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
139 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
140 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
142 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,1);
144 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,2);
146 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,3);
148 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,4);
150 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,5);
152 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,6);
154 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,7);
156 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,8);
160 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,10);
162 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,11);
164 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,12);
166 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,1,13);
198 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,1,1);
200 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,1,2);
202 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,1,3);
204 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,1,4);
206 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,1,5);
211 GtkBuilder *monBuilderNote;
212 GtkWidget *maFenetreNote;
214 gtk_init( &argc, &argv );
216 monBuilderNote = gtk_builder_new();
218 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
219 gtk_builder_connect_signals( monBuilderNote, NULL);
221 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
223 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
226 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
228 gtk_widget_show_all (maFenetreNote);
233 GtkBuilder *monBuilderNote;
235 monBuilderNote = gtk_builder_new();
237 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
238 gtk_builder_connect_signals( monBuilderNote, NULL);
240 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
241 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
242 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
243 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
244 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
246 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,1);
248 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,2);
250 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,3);
252 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,4);
254 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,5);
256 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,6);
258 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,7);
260 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,8);
264 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,10);
266 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,11);
268 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,12);
270 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,2,13);
302 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,2,1);
304 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,2,2);
306 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,2,3);
308 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,2,4);
310 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,2,5);
315 GtkBuilder *monBuilderNote;
316 GtkWidget *maFenetreNote;
318 gtk_init( &argc, &argv );
320 monBuilderNote = gtk_builder_new();
322 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
323 gtk_builder_connect_signals( monBuilderNote, NULL);
325 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
327 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
330 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
332 gtk_widget_show_all (maFenetreNote);
337 GtkBuilder *monBuilderNote;
339 monBuilderNote = gtk_builder_new();
341 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
342 gtk_builder_connect_signals( monBuilderNote, NULL);
344 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
345 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
346 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
347 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
348 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
350 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,1);
352 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,2);
354 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,3);
356 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,4);
358 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,5);
360 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,6);
362 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,7);
364 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,8);
368 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,10);
370 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,11);
372 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,12);
374 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,3,13);
406 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,3,1);
408 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,3,2);
410 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,3,3);
412 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,3,4);
414 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,3,5);
419 GtkBuilder *monBuilderNote;
420 GtkWidget *maFenetreNote;
422 gtk_init( &argc, &argv );
424 monBuilderNote = gtk_builder_new();
426 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
427 gtk_builder_connect_signals( monBuilderNote, NULL);
429 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
431 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
434 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
436 gtk_widget_show_all (maFenetreNote);
441 GtkBuilder *monBuilderNote;
443 monBuilderNote = gtk_builder_new();
445 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
446 gtk_builder_connect_signals( monBuilderNote, NULL);
448 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
449 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
450 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
451 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
452 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
454 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,1);
456 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,2);
458 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,3);
460 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,4);
462 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,5);
464 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,6);
466 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,7);
468 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,8);
472 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,10);
474 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,11);
476 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,12);
478 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,4,13);
510 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,4,1);
512 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,4,2);
514 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,4,3);
516 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,4,4);
518 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,4,5);
523 GtkBuilder *monBuilderNote;
524 GtkWidget *maFenetreNote;
526 gtk_init( &argc, &argv );
528 monBuilderNote = gtk_builder_new();
530 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
531 gtk_builder_connect_signals( monBuilderNote, NULL);
533 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
535 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
538 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
540 gtk_widget_show_all (maFenetreNote);
545 GtkBuilder *monBuilderNote;
547 monBuilderNote = gtk_builder_new();
549 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
550 gtk_builder_connect_signals( monBuilderNote, NULL);
552 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
553 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
554 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
555 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
556 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
558 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,1);
560 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,2);
562 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,3);
564 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,4);
566 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,5);
568 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,6);
570 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,7);
572 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,8);
576 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,10);
578 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,11);
580 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,12);
582 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,5,13);
614 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,5,1);
616 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,5,2);
618 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,5,3);
620 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,5,4);
622 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,5,5);
627 GtkBuilder *monBuilderNote;
628 GtkWidget *maFenetreNote;
630 gtk_init( &argc, &argv );
632 monBuilderNote = gtk_builder_new();
634 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
635 gtk_builder_connect_signals( monBuilderNote, NULL);
637 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
639 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
642 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
644 gtk_widget_show_all (maFenetreNote);
649 GtkBuilder *monBuilderNote;
651 monBuilderNote = gtk_builder_new();
653 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
654 gtk_builder_connect_signals( monBuilderNote, NULL);
656 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
657 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
658 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
659 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
660 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
662 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,1);
664 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,2);
666 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,3);
668 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,4);
670 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,5);
672 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,6);
674 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,7);
676 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,8);
680 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,10);
682 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,11);
684 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,12);
686 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,6,13);
718 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,6,1);
720 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,6,2);
722 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,6,3);
724 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,6,4);
726 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,6,5);
731 GtkBuilder *monBuilderNote;
732 GtkWidget *maFenetreNote;
734 gtk_init( &argc, &argv );
736 monBuilderNote = gtk_builder_new();
738 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
739 gtk_builder_connect_signals( monBuilderNote, NULL);
741 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
743 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
746 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
748 gtk_widget_show_all (maFenetreNote);
753 GtkBuilder *monBuilderNote;
755 monBuilderNote = gtk_builder_new();
757 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
758 gtk_builder_connect_signals( monBuilderNote, NULL);
760 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
761 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
762 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
763 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
764 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
766 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,1);
768 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,2);
770 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,3);
772 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,4);
774 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,5);
776 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,6);
778 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,7);
780 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,8);
784 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,10);
786 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,11);
788 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,12);
790 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,7,13);
822 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,7,1);
824 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,7,2);
826 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,7,3);
828 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,7,4);
830 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,7,5);
835 GtkBuilder *monBuilderNote;
836 GtkWidget *maFenetreNote;
838 gtk_init( &argc, &argv );
840 monBuilderNote = gtk_builder_new();
842 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
843 gtk_builder_connect_signals( monBuilderNote, NULL);
845 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
847 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
850 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
852 gtk_widget_show_all (maFenetreNote);
857 GtkBuilder *monBuilderNote;
859 monBuilderNote = gtk_builder_new();
861 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
862 gtk_builder_connect_signals( monBuilderNote, NULL);
864 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
865 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
866 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
867 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
868 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
870 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,1);
872 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,2);
874 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,3);
876 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,4);
878 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,5);
880 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,6);
882 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,7);
884 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,8);
888 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,10);
890 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,11);
892 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,12);
894 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,8,13);
926 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,8,1);
928 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,8,2);
930 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,8,3);
932 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,8,4);
934 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,8,5);
939 GtkBuilder *monBuilderNote;
940 GtkWidget *maFenetreNote;
942 gtk_init( &argc, &argv );
944 monBuilderNote = gtk_builder_new();
946 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
947 gtk_builder_connect_signals( monBuilderNote, NULL);
949 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
951 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
954 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
956 gtk_widget_show_all (maFenetreNote);
961 GtkBuilder *monBuilderNote;
963 monBuilderNote = gtk_builder_new();
965 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
966 gtk_builder_connect_signals( monBuilderNote, NULL);
968 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
969 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
970 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
971 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
972 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
974 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,1);
976 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,2);
978 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,3);
980 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,4);
982 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,5);
984 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,6);
986 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,7);
988 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,8);
992 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,10);
994 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,11);
996 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,12);
998 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,9,13);
1030 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,9,1);
1032 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,9,2);
1034 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,9,3);
1036 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,9,4);
1038 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,9,5);
1043 GtkBuilder *monBuilderNote;
1044 GtkWidget *maFenetreNote;
1046 gtk_init( &argc, &argv );
1048 monBuilderNote = gtk_builder_new();
1050 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1051 gtk_builder_connect_signals( monBuilderNote, NULL);
1053 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1055 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1058 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1060 gtk_widget_show_all (maFenetreNote);
1065 GtkBuilder *monBuilderNote;
1067 monBuilderNote = gtk_builder_new();
1069 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1070 gtk_builder_connect_signals( monBuilderNote, NULL);
1072 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1073 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1074 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1075 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1076 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1078 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,1);
1080 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,2);
1082 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,3);
1084 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,4);
1086 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,5);
1088 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,6);
1090 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,7);
1092 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,8);
1096 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,10);
1098 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,11);
1100 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,12);
1102 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,10,13);
1104 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,10,1);
1106 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,10,2);
1108 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,10,3);
1110 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,10,4);
1112 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,10,5);
1124 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,10,1);
1126 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,10,2);
1128 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,10,3);
1130 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,10,4);
1132 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,10,5);
1134 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,10,1);
1136 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,10,2);
1138 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,10,3);
1140 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,10,4);
1142 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,10,5);
1147 GtkBuilder *monBuilderNote;
1148 GtkWidget *maFenetreNote;
1150 gtk_init( &argc, &argv );
1152 monBuilderNote = gtk_builder_new();
1154 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1155 gtk_builder_connect_signals( monBuilderNote, NULL);
1157 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1159 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1162 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1164 gtk_widget_show_all (maFenetreNote);
1169 GtkBuilder *monBuilderNote;
1171 monBuilderNote = gtk_builder_new();
1173 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1174 gtk_builder_connect_signals( monBuilderNote, NULL);
1176 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1177 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1178 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1179 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1180 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1182 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,1);
1184 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,2);
1186 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,3);
1188 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,4);
1190 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,5);
1192 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,6);
1194 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,7);
1196 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,8);
1200 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,10);
1202 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,11);
1204 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,12);
1206 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,11,13);
1208 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,11,1);
1210 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,11,2);
1212 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,11,3);
1214 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,11,4);
1216 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,11,5);
1228 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,11,1);
1230 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,11,2);
1232 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,11,3);
1234 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,11,4);
1236 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,11,5);
1238 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,11,1);
1240 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,11,2);
1242 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,11,3);
1244 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,11,4);
1246 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,11,5);
1251 GtkBuilder *monBuilderNote;
1252 GtkWidget *maFenetreNote;
1254 gtk_init( &argc, &argv );
1256 monBuilderNote = gtk_builder_new();
1258 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1259 gtk_builder_connect_signals( monBuilderNote, NULL);
1261 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1263 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1266 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1268 gtk_widget_show_all (maFenetreNote);
1273 GtkBuilder *monBuilderNote;
1275 monBuilderNote = gtk_builder_new();
1277 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1278 gtk_builder_connect_signals( monBuilderNote, NULL);
1280 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1281 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1282 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1283 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1284 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1286 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,1);
1288 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,2);
1290 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,3);
1292 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,4);
1294 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,5);
1296 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,6);
1298 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,7);
1300 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,8);
1304 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,10);
1306 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,11);
1308 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,12);
1310 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,12,13);
1312 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,12,1);
1314 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,12,2);
1316 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,12,3);
1318 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,12,4);
1320 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,12,5);
1332 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,12,1);
1334 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,12,2);
1336 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,12,3);
1338 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,12,4);
1340 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,12,5);
1342 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,12,1);
1344 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,12,2);
1346 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,12,3);
1348 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,12,4);
1350 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,12,5);
1355 GtkBuilder *monBuilderNote;
1356 GtkWidget *maFenetreNote;
1358 gtk_init( &argc, &argv );
1360 monBuilderNote = gtk_builder_new();
1362 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1363 gtk_builder_connect_signals( monBuilderNote, NULL);
1365 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1367 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1370 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1372 gtk_widget_show_all (maFenetreNote);
1377 GtkBuilder *monBuilderNote;
1379 monBuilderNote = gtk_builder_new();
1381 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1382 gtk_builder_connect_signals( monBuilderNote, NULL);
1384 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1385 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1386 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1387 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1388 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1390 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,1);
1392 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,2);
1394 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,3);
1396 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,4);
1398 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,5);
1400 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,6);
1402 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,7);
1404 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,8);
1408 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,10);
1410 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,11);
1412 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,12);
1414 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,13,13);
1416 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,13,1);
1418 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,13,2);
1420 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,13,3);
1422 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,13,4);
1424 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,13,5);
1436 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,13,1);
1438 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,13,2);
1440 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,13,3);
1442 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,13,4);
1444 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,13,5);
1446 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,13,1);
1448 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,13,2);
1450 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,13,3);
1452 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,13,4);
1454 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,13,5);
1459 GtkBuilder *monBuilderNote;
1460 GtkWidget *maFenetreNote;
1462 gtk_init( &argc, &argv );
1464 monBuilderNote = gtk_builder_new();
1466 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1467 gtk_builder_connect_signals( monBuilderNote, NULL);
1469 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1471 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1474 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1476 gtk_widget_show_all (maFenetreNote);
1481 GtkBuilder *monBuilderNote;
1483 monBuilderNote = gtk_builder_new();
1485 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1486 gtk_builder_connect_signals( monBuilderNote, NULL);
1488 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1489 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1490 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1491 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1492 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1494 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,1);
1496 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,2);
1498 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,3);
1500 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,4);
1502 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,5);
1504 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,6);
1506 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,7);
1508 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,8);
1512 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,10);
1514 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,11);
1516 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,12);
1518 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,14,13);
1520 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,14,1);
1522 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,14,2);
1524 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,14,3);
1526 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,14,4);
1528 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,14,5);
1540 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,14,1);
1542 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,14,2);
1544 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,14,3);
1546 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,14,4);
1548 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,14,5);
1550 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,14,1);
1552 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,14,2);
1554 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,14,3);
1556 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,14,4);
1558 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,14,5);
1563 GtkBuilder *monBuilderNote;
1564 GtkWidget *maFenetreNote;
1566 gtk_init( &argc, &argv );
1568 monBuilderNote = gtk_builder_new();
1570 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1571 gtk_builder_connect_signals( monBuilderNote, NULL);
1573 maFenetreNote = GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote"));
1575 GtkButton *button = (GtkButton*) gtk_builder_get_object(monBuilderNote,
"buttonok");
1578 GTK_WIDGET( gtk_builder_get_object( monBuilderNote,
"ajoutnote")));
1580 gtk_widget_show_all (maFenetreNote);
1585 GtkBuilder *monBuilderNote;
1587 monBuilderNote = gtk_builder_new();
1589 gtk_builder_add_from_file( monBuilderNote,
"GUI/ponytrackertest.glade", NULL);
1590 gtk_builder_connect_signals( monBuilderNote, NULL);
1592 GtkEntry *entryNote = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirnote");
1593 GtkEntry *entryOctave = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisiroctave");
1594 GtkEntry *entryInstrument = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"choisirinstrument");
1595 GtkEntry *entryVolume = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryvolume");
1596 GtkEntry *entryEffet = (GtkEntry*) gtk_builder_get_object(monBuilderNote,
"entryeffet");
1598 if (strcmp(
Do,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,1);
1600 if (strcmp(
DoD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,2);
1602 if (strcmp(
Re,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,3);
1604 if (strcmp(
ReD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,4);
1606 if (strcmp(
Mi,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,5);
1608 if (strcmp(
Fa,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,6);
1610 if (strcmp(
FaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,7);
1612 if (strcmp(
Sol,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,8);
1616 if (strcmp(
La,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,10);
1618 if (strcmp(
LaD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,11);
1620 if (strcmp(
Si,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,12);
1622 if (strcmp(SiD,gtk_entry_get_text(entryNote))==0)
definirNote(
m,0,15,13);
1624 if (strcmp(
N1,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,15,1);
1626 if (strcmp(
N2,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,15,2);
1628 if (strcmp(
N3,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,15,3);
1630 if (strcmp(
N4,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,15,4);
1632 if (strcmp(
N5,gtk_entry_get_text(entryOctave))==0)
definirOctave(
m,0,15,5);
1644 if (strcmp(
N1,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,15,1);
1646 if (strcmp(
N2,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,15,2);
1648 if (strcmp(
N3,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,15,3);
1650 if (strcmp(
N4,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,15,4);
1652 if (strcmp(
N5,gtk_entry_get_text(entryVolume))==0)
definirVolume(
m,0,15,5);
1654 if (strcmp(
N1,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,15,1);
1656 if (strcmp(
N2,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,15,2);
1658 if (strcmp(
N3,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,15,3);
1660 if (strcmp(
N4,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,15,4);
1662 if (strcmp(
N5,gtk_entry_get_text(entryEffet))==0)
definirEffet(
m,0,15,5);
void remplissageNote0_3(GtkWidget *widget, gpointer *data)
void remplissageNote0_2(GtkWidget *widget, gpointer *data)
void fenetreNote0_13(int argc, char *argv[])
void definirOctave(Motif *m, int portee, int tmp, int octave)
void fenetreNote0_10(int argc, char *argv[])
void remplissageNote0_9(GtkWidget *widget, gpointer *data)
void remplissageNote0_6(GtkWidget *widget, gpointer *data)
void fenetreNote0_1(int argc, char *argv[])
void fenetreNote0_7(int argc, char *argv[])
void remplissageNote0_10(GtkWidget *widget, gpointer *data)
void remplissageNote0_8(GtkWidget *widget, gpointer *data)
void definirNote(Motif *m, int portee, int tmp, int note)
void fenetreNote0_6(int argc, char *argv[])
void fenetreNote0_12(int argc, char *argv[])
void fenetreNote0_11(int argc, char *argv[])
void fenetreNote0_14(int argc, char *argv[])
void remplissageNote0_5(GtkWidget *widget, gpointer *data)
void fenetreNote0_9(int argc, char *argv[])
void remplissageNote0_1(GtkWidget *widget, gpointer *data)
void fenetreNote0_4(int argc, char *argv[])
void fenetreNote0_0(int argc, char *argv[])
void remplissageNote0_7(GtkWidget *widget, gpointer *data)
void remplissageNote0_14(GtkWidget *widget, gpointer *data)
void fenetreNote0_2(int argc, char *argv[])
void remplissageNote0_0(GtkWidget *widget, gpointer *data)
void remplissageNote0_12(GtkWidget *widget, gpointer *data)
void fenetreNote0_8(int argc, char *argv[])
void fenetreNote0_5(int argc, char *argv[])
void definirEffet(Motif *m, int portee, int tmp, int effet)
FMOD_TAGTYPE char void * data
void fenetreNote0_15(int argc, char *argv[])
void remplissageNote0_13(GtkWidget *widget, gpointer *data)
void remplissageNote0_4(GtkWidget *widget, gpointer *data)
void definirInstrument(Motif *m, int portee, int tmp, int instrument)
void fenetreNote0_3(int argc, char *argv[])
void definirVolume(Motif *m, int portee, int tmp, int volume)
void remplissageNote0_15(GtkWidget *widget, gpointer *data)
void remplissageNote0_11(GtkWidget *widget, gpointer *data)