From 75660c7bcab68170a9a63590039bf6df9b62e426 Mon Sep 17 00:00:00 2001 From: jerl1 Date: Sat, 16 Nov 2002 16:42:26 +0000 Subject: [PATCH] Previous version were updated by error sorry. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1958 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../midi_player_replacement/MidiPlayerView.cpp | 10 +++++----- .../midi_player_replacement/MidiPlayerWindow.cpp | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/tests/kits/midi/midi_player_replacement/MidiPlayerView.cpp b/src/tests/kits/midi/midi_player_replacement/MidiPlayerView.cpp index 56a9cdf714..fece89d001 100644 --- a/src/tests/kits/midi/midi_player_replacement/MidiPlayerView.cpp +++ b/src/tests/kits/midi/midi_player_replacement/MidiPlayerView.cpp @@ -3,7 +3,7 @@ Author: Jerome LEVEQUE Email: jerl1@caramail.com */ #include "MidiPlayerView.h" -//#include "Scope.h" +#include "Scope.h" #include "Activity.h" #include @@ -154,12 +154,12 @@ Activity *view = NULL; RemoveAll(fViewBox); break; //-------------- -/* case VIEW_CHANGE_TO_SCOPE : + case VIEW_CHANGE_TO_SCOPE : RemoveAll(fViewBox); fViewBox->AddChild(new Scope(BRect(10, 25, 340, 340))); break; //-------------- -*/ case VIEW_CHANGE_TO_ACTIVITY : + case VIEW_CHANGE_TO_ACTIVITY : RemoveAll(fViewBox); msg->FindPointer("View", (void**)&view); fViewBox->AddChild(view); @@ -229,7 +229,7 @@ BMessage *msg = NULL; BMenuItem *item = NULL; int32 temp = 0; -/* Menu = new BPopUpMenu("Sample Rate"); + Menu = new BPopUpMenu("Sample Rate"); temp = be_synth->SamplingRate(); msg = new BMessage(CHANGE_SAMPLE_RATE_SYNTH); Menu->AddItem(item = new BMenuItem("11025 Hz", msg)); @@ -303,7 +303,7 @@ BSlider *slider = new BSlider(BRect(5, 100, 275, 130), NULL, "Volume", slider->SetValue(temp); slider->SetLimitLabels("Min", "Max"); aView->AddChild(slider); -*/} +} //---------------------------------------------------------- //---------------------------------------------------------- diff --git a/src/tests/kits/midi/midi_player_replacement/MidiPlayerWindow.cpp b/src/tests/kits/midi/midi_player_replacement/MidiPlayerWindow.cpp index c8dd7ebc99..b10be5fa9b 100644 --- a/src/tests/kits/midi/midi_player_replacement/MidiPlayerWindow.cpp +++ b/src/tests/kits/midi/midi_player_replacement/MidiPlayerWindow.cpp @@ -17,7 +17,7 @@ Email: jerl1@caramail.com #include #include #include -//#include +#include #include //---------------------------------------------------------- @@ -210,7 +210,7 @@ entry_ref ref; PostMessage(msg, fStandartView); break; //-------------- -/* case OUTPUT_CHANGE_TO_BEOS_SYNTH : + case OUTPUT_CHANGE_TO_BEOS_SYNTH : if (fOutputType == BEOS_SYNTH) break; fOutputType = BEOS_SYNTH; @@ -244,7 +244,7 @@ entry_ref ref; PostMessage(msg, fStandartView); break; //-------------- -*/ case OUTPUT_CHANGE_TO_MIDIPORT : + case OUTPUT_CHANGE_TO_MIDIPORT : if (fOutputType == MIDIPORT) break; fOutputType = MIDIPORT; @@ -280,14 +280,14 @@ entry_ref ref; PostMessage(msg, fStandartView); break; //-------------- -/* case VIEW_CHANGE_TO_SCOPE : + case VIEW_CHANGE_TO_SCOPE : if (fDisplayType == SCOPE) break; fDisplayType = SCOPE; PostMessage(msg, fStandartView); break; //-------------- -*/ case VIEW_CHANGE_TO_ACTIVITY : + case VIEW_CHANGE_TO_ACTIVITY : if (fDisplayType == ACTIVITY) break; fDisplayType = ACTIVITY; @@ -422,7 +422,7 @@ entry_ref ref; //-------------- //Message from the BeOS Synth //-------------- -/* case CHANGE_BEOS_SYNTH_FILE: + case CHANGE_BEOS_SYNTH_FILE: if (fOutputFilePanel) { msg->FindRef("refs", &fOutputFile); @@ -545,7 +545,7 @@ entry_ref ref; //-------------- //For the drag and drop function //-------------- -*/ case B_SIMPLE_DATA : //A file had been dropped into application + case B_SIMPLE_DATA : //A file had been dropped into application if (msg->FindRef("refs", &ref) == B_OK) { message = BMessage(INPUT_CHANGE_TO_FILE);