Previous version were updated by error sorry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1958 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f9493271b8
commit
75660c7bca
@ -3,7 +3,7 @@ Author: Jerome LEVEQUE
|
||||
Email: jerl1@caramail.com
|
||||
*/
|
||||
#include "MidiPlayerView.h"
|
||||
//#include "Scope.h"
|
||||
#include "Scope.h"
|
||||
#include "Activity.h"
|
||||
|
||||
#include <StringView.h>
|
||||
@ -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);
|
||||
*/}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------
|
||||
//----------------------------------------------------------
|
||||
|
@ -17,7 +17,7 @@ Email: jerl1@caramail.com
|
||||
#include <File.h>
|
||||
#include <MidiStore.h>
|
||||
#include <MidiPort.h>
|
||||
//#include <MidiSynth.h>
|
||||
#include <MidiSynth.h>
|
||||
#include <MidiSynthFile.h>
|
||||
|
||||
//----------------------------------------------------------
|
||||
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user