rearrange UI + various fixes #7
+158
-126
@@ -42,7 +42,7 @@ const int milInMinute = 60000;
|
||||
bool scrollBarChanged = false;
|
||||
float theCurrentMeasure = 0;
|
||||
// Variables for mouse things
|
||||
int mouseDownPos = 0;
|
||||
int mouseDownPos = -1;
|
||||
int lastMousePos = -1;
|
||||
bool rolloverPos = false;
|
||||
bool rolloverNeg = false;
|
||||
@@ -178,7 +178,7 @@ namespace BAKKAEditor {
|
||||
|
||||
|
||||
private: System::Windows::Forms::GroupBox^ GimmickBox;
|
||||
private: System::Windows::Forms::Button^ Mask;
|
||||
private: System::Windows::Forms::Button^ MaskButton;
|
||||
private: System::Windows::Forms::RadioButton^ RemoveMask;
|
||||
private: System::Windows::Forms::RadioButton^ AddMask;
|
||||
private: System::Windows::Forms::Button^ Reverse;
|
||||
@@ -236,7 +236,7 @@ private: System::Windows::Forms::GroupBox^ MaskSettingsBox;
|
||||
private: System::Windows::Forms::RadioButton^ MaskCenter;
|
||||
private: System::Windows::Forms::RadioButton^ MaskCClockwise;
|
||||
private: System::Windows::Forms::RadioButton^ MaskClockwise;
|
||||
private: System::Windows::Forms::Label^ label18;
|
||||
|
||||
private: System::Windows::Forms::Label^ CurrentObjectText;
|
||||
private: System::Windows::Forms::GroupBox^ PreChartViewBox;
|
||||
private: System::Windows::Forms::Button^ NextGimmickButton;
|
||||
@@ -308,13 +308,16 @@ private: System::ComponentModel::BackgroundWorker^ backgroundWorkerSong;
|
||||
private: System::ComponentModel::BackgroundWorker^ backgroundWorkerPaint;
|
||||
private: System::ComponentModel::BackgroundWorker^ backgroundWorker1;
|
||||
private: System::ComponentModel::BackgroundWorker^ backgroundWorker2;
|
||||
private: System::Windows::Forms::Panel^ panel1;
|
||||
|
||||
private: System::Windows::Forms::NumericUpDown^ PlaybackSpeedNum;
|
||||
private: System::Windows::Forms::Label^ label30;
|
||||
private: System::Windows::Forms::CheckBox^ HighlightCheckBox;
|
||||
|
||||
private: System::Windows::Forms::ToolStripMenuItem^ viewToolStripMenuItem;
|
||||
private: System::Windows::Forms::ToolStripMenuItem^ showCursorToolStripMenuItem;
|
||||
private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackToolStripMenuItem;
|
||||
private: System::Windows::Forms::GroupBox^ CurrentObjectBox;
|
||||
private: System::Windows::Forms::ToolStripMenuItem^ aboutBAKKAEditorToolStripMenuItem;
|
||||
private: System::Windows::Forms::ToolStripMenuItem^ highlightViewedNoteToolStripMenuItem;
|
||||
|
||||
|
||||
|
||||
@@ -381,7 +384,9 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->viewToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->showCursorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->showCursorDuringPlaybackToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->highlightViewedNoteToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->aboutBAKKAEditorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
||||
this->TapButton = (gcnew System::Windows::Forms::Button());
|
||||
this->OrangeButton = (gcnew System::Windows::Forms::Button());
|
||||
this->GreenButton = (gcnew System::Windows::Forms::Button());
|
||||
@@ -401,11 +406,12 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->Hispeed = (gcnew System::Windows::Forms::Button());
|
||||
this->Stop = (gcnew System::Windows::Forms::Button());
|
||||
this->Reverse = (gcnew System::Windows::Forms::Button());
|
||||
this->Mask = (gcnew System::Windows::Forms::Button());
|
||||
this->VisualHispeed = (gcnew System::Windows::Forms::NumericUpDown());
|
||||
this->label2 = (gcnew System::Windows::Forms::Label());
|
||||
this->label30 = (gcnew System::Windows::Forms::Label());
|
||||
this->PlaybackSpeedNum = (gcnew System::Windows::Forms::NumericUpDown());
|
||||
this->EditNoteButton = (gcnew System::Windows::Forms::Button());
|
||||
this->MaskButton = (gcnew System::Windows::Forms::Button());
|
||||
this->InsertButton = (gcnew System::Windows::Forms::Button());
|
||||
this->PosLabel = (gcnew System::Windows::Forms::Label());
|
||||
this->posInfo = (gcnew System::Windows::Forms::Label());
|
||||
@@ -462,7 +468,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->MaskCenter = (gcnew System::Windows::Forms::RadioButton());
|
||||
this->MaskCClockwise = (gcnew System::Windows::Forms::RadioButton());
|
||||
this->MaskClockwise = (gcnew System::Windows::Forms::RadioButton());
|
||||
this->label18 = (gcnew System::Windows::Forms::Label());
|
||||
this->CurrentObjectText = (gcnew System::Windows::Forms::Label());
|
||||
this->PreChartViewBox = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->GimmickValueLabel = (gcnew System::Windows::Forms::Label());
|
||||
@@ -477,7 +482,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->PrevGimmickButton = (gcnew System::Windows::Forms::Button());
|
||||
this->DeleteGimmickButton = (gcnew System::Windows::Forms::Button());
|
||||
this->NotesViewBox = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->EditNoteButton = (gcnew System::Windows::Forms::Button());
|
||||
this->PrevBeatButton = (gcnew System::Windows::Forms::Button());
|
||||
this->NextBeatButton = (gcnew System::Windows::Forms::Button());
|
||||
this->MatchNoteCheckBox = (gcnew System::Windows::Forms::CheckBox());
|
||||
@@ -506,7 +510,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->fileSystemWatcher1 = (gcnew System::IO::FileSystemWatcher());
|
||||
this->CirclePanel = (gcnew System::Windows::Forms::Panel());
|
||||
this->VisualSettingsBox = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->HighlightCheckBox = (gcnew System::Windows::Forms::CheckBox());
|
||||
this->PlayButton = (gcnew System::Windows::Forms::Button());
|
||||
this->songTrackSlider = (gcnew System::Windows::Forms::TrackBar());
|
||||
this->selectSongFile = (gcnew System::Windows::Forms::Button());
|
||||
@@ -519,7 +522,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->backgroundWorkerPaint = (gcnew System::ComponentModel::BackgroundWorker());
|
||||
this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
|
||||
this->backgroundWorker2 = (gcnew System::ComponentModel::BackgroundWorker());
|
||||
this->panel1 = (gcnew System::Windows::Forms::Panel());
|
||||
this->CurrentObjectBox = (gcnew System::Windows::Forms::GroupBox());
|
||||
this->menuStrip->SuspendLayout();
|
||||
this->NoteTypeBox->SuspendLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->VisualHispeed))->BeginInit();
|
||||
@@ -557,21 +560,22 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->SizeTrackBar))->BeginInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PosTrackBar))->BeginInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->fileSystemWatcher1))->BeginInit();
|
||||
this->CirclePanel->SuspendLayout();
|
||||
this->VisualSettingsBox->SuspendLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->songTrackSlider))->BeginInit();
|
||||
this->SongPlaybackBox->SuspendLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->SongVolume))->BeginInit();
|
||||
this->panel1->SuspendLayout();
|
||||
this->CurrentObjectBox->SuspendLayout();
|
||||
this->SuspendLayout();
|
||||
//
|
||||
// menuStrip
|
||||
//
|
||||
resources->ApplyResources(this->menuStrip, L"menuStrip");
|
||||
this->menuStrip->ImageScalingSize = System::Drawing::Size(24, 24);
|
||||
this->menuStrip->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {
|
||||
this->fileToolStripMenuItem,
|
||||
this->viewToolStripMenuItem, this->aboutToolStripMenuItem
|
||||
});
|
||||
resources->ApplyResources(this->menuStrip, L"menuStrip");
|
||||
this->menuStrip->Name = L"menuStrip";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
@@ -615,9 +619,9 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// viewToolStripMenuItem
|
||||
//
|
||||
this->viewToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {
|
||||
this->viewToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {
|
||||
this->showCursorToolStripMenuItem,
|
||||
this->showCursorDuringPlaybackToolStripMenuItem
|
||||
this->showCursorDuringPlaybackToolStripMenuItem, this->highlightViewedNoteToolStripMenuItem
|
||||
});
|
||||
this->viewToolStripMenuItem->Name = L"viewToolStripMenuItem";
|
||||
resources->ApplyResources(this->viewToolStripMenuItem, L"viewToolStripMenuItem");
|
||||
@@ -625,6 +629,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
// showCursorToolStripMenuItem
|
||||
//
|
||||
this->showCursorToolStripMenuItem->Checked = true;
|
||||
this->showCursorToolStripMenuItem->CheckOnClick = true;
|
||||
this->showCursorToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
||||
this->showCursorToolStripMenuItem->Name = L"showCursorToolStripMenuItem";
|
||||
resources->ApplyResources(this->showCursorToolStripMenuItem, L"showCursorToolStripMenuItem");
|
||||
@@ -632,15 +637,31 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// showCursorDuringPlaybackToolStripMenuItem
|
||||
//
|
||||
this->showCursorDuringPlaybackToolStripMenuItem->CheckOnClick = true;
|
||||
this->showCursorDuringPlaybackToolStripMenuItem->Name = L"showCursorDuringPlaybackToolStripMenuItem";
|
||||
resources->ApplyResources(this->showCursorDuringPlaybackToolStripMenuItem, L"showCursorDuringPlaybackToolStripMenuItem");
|
||||
this->showCursorDuringPlaybackToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::showCursorDuringPlaybackToolStripMenuItem_Click);
|
||||
//
|
||||
// highlightViewedNoteToolStripMenuItem
|
||||
//
|
||||
this->highlightViewedNoteToolStripMenuItem->Checked = true;
|
||||
this->highlightViewedNoteToolStripMenuItem->CheckOnClick = true;
|
||||
this->highlightViewedNoteToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
|
||||
this->highlightViewedNoteToolStripMenuItem->Name = L"highlightViewedNoteToolStripMenuItem";
|
||||
resources->ApplyResources(this->highlightViewedNoteToolStripMenuItem, L"highlightViewedNoteToolStripMenuItem");
|
||||
this->highlightViewedNoteToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::highlightViewedNoteToolStripMenuItem_Click);
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
this->aboutToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) { this->aboutBAKKAEditorToolStripMenuItem });
|
||||
this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
|
||||
resources->ApplyResources(this->aboutToolStripMenuItem, L"aboutToolStripMenuItem");
|
||||
//
|
||||
// aboutBAKKAEditorToolStripMenuItem
|
||||
//
|
||||
this->aboutBAKKAEditorToolStripMenuItem->Name = L"aboutBAKKAEditorToolStripMenuItem";
|
||||
resources->ApplyResources(this->aboutBAKKAEditorToolStripMenuItem, L"aboutBAKKAEditorToolStripMenuItem");
|
||||
this->aboutBAKKAEditorToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::aboutBAKKAEditorToolStripMenuItem_Click);
|
||||
//
|
||||
// TapButton
|
||||
//
|
||||
resources->ApplyResources(this->TapButton, L"TapButton");
|
||||
@@ -670,6 +691,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
resources->ApplyResources(this->RedButton, L"RedButton");
|
||||
this->RedButton->BackColor = System::Drawing::Color::Red;
|
||||
this->RedButton->ForeColor = System::Drawing::Color::White;
|
||||
this->RedButton->Name = L"RedButton";
|
||||
this->RedButton->UseVisualStyleBackColor = false;
|
||||
this->RedButton->Click += gcnew System::EventHandler(this, &MyForm::RedButton_Click);
|
||||
@@ -710,7 +732,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// NoteTypeBox
|
||||
//
|
||||
resources->ApplyResources(this->NoteTypeBox, L"NoteTypeBox");
|
||||
this->NoteTypeBox->Controls->Add(this->BonusFlairRadioButton);
|
||||
this->NoteTypeBox->Controls->Add(this->BonusGetRadioButton);
|
||||
this->NoteTypeBox->Controls->Add(this->NoBonusRadioButton);
|
||||
@@ -723,6 +744,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->NoteTypeBox->Controls->Add(this->GreenButton);
|
||||
this->NoteTypeBox->Controls->Add(this->BlueButton);
|
||||
this->NoteTypeBox->Controls->Add(this->RedButton);
|
||||
resources->ApplyResources(this->NoteTypeBox, L"NoteTypeBox");
|
||||
this->NoteTypeBox->Name = L"NoteTypeBox";
|
||||
this->NoteTypeBox->TabStop = false;
|
||||
//
|
||||
@@ -799,14 +821,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->Reverse->UseVisualStyleBackColor = true;
|
||||
this->Reverse->Click += gcnew System::EventHandler(this, &MyForm::Reverse_Click);
|
||||
//
|
||||
// Mask
|
||||
//
|
||||
resources->ApplyResources(this->Mask, L"Mask");
|
||||
this->Mask->Name = L"Mask";
|
||||
this->ToolTip->SetToolTip(this->Mask, resources->GetString(L"Mask.ToolTip"));
|
||||
this->Mask->UseVisualStyleBackColor = true;
|
||||
this->Mask->Click += gcnew System::EventHandler(this, &MyForm::Mask_Click);
|
||||
//
|
||||
// VisualHispeed
|
||||
//
|
||||
this->VisualHispeed->BackColor = System::Drawing::SystemColors::Window;
|
||||
@@ -845,6 +859,21 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->PlaybackSpeedNum->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
|
||||
this->PlaybackSpeedNum->ValueChanged += gcnew System::EventHandler(this, &MyForm::PlaybackSpeedNum_ValueChanged);
|
||||
//
|
||||
// EditNoteButton
|
||||
//
|
||||
resources->ApplyResources(this->EditNoteButton, L"EditNoteButton");
|
||||
this->EditNoteButton->Name = L"EditNoteButton";
|
||||
this->ToolTip->SetToolTip(this->EditNoteButton, resources->GetString(L"EditNoteButton.ToolTip"));
|
||||
this->EditNoteButton->UseVisualStyleBackColor = true;
|
||||
this->EditNoteButton->Click += gcnew System::EventHandler(this, &MyForm::EditNoteButton_Click);
|
||||
//
|
||||
// MaskButton
|
||||
//
|
||||
resources->ApplyResources(this->MaskButton, L"MaskButton");
|
||||
this->MaskButton->Name = L"MaskButton";
|
||||
this->MaskButton->UseVisualStyleBackColor = true;
|
||||
this->MaskButton->Click += gcnew System::EventHandler(this, &MyForm::MaskButton_Click);
|
||||
//
|
||||
// InsertButton
|
||||
//
|
||||
resources->ApplyResources(this->InsertButton, L"InsertButton");
|
||||
@@ -924,7 +953,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// GimmickBox
|
||||
//
|
||||
resources->ApplyResources(this->GimmickBox, L"GimmickBox");
|
||||
this->GimmickBox->Controls->Add(this->Reverse);
|
||||
this->GimmickBox->Controls->Add(this->Stop);
|
||||
this->GimmickBox->Controls->Add(this->Hispeed);
|
||||
@@ -932,7 +960,8 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->GimmickBox->Controls->Add(this->BPMChange);
|
||||
this->GimmickBox->Controls->Add(this->RemoveMask);
|
||||
this->GimmickBox->Controls->Add(this->AddMask);
|
||||
this->GimmickBox->Controls->Add(this->Mask);
|
||||
this->GimmickBox->Controls->Add(this->MaskButton);
|
||||
resources->ApplyResources(this->GimmickBox, L"GimmickBox");
|
||||
this->GimmickBox->Name = L"GimmickBox";
|
||||
this->GimmickBox->TabStop = false;
|
||||
//
|
||||
@@ -1225,10 +1254,10 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// MaskSettingsBox
|
||||
//
|
||||
resources->ApplyResources(this->MaskSettingsBox, L"MaskSettingsBox");
|
||||
this->MaskSettingsBox->Controls->Add(this->MaskCenter);
|
||||
this->MaskSettingsBox->Controls->Add(this->MaskCClockwise);
|
||||
this->MaskSettingsBox->Controls->Add(this->MaskClockwise);
|
||||
resources->ApplyResources(this->MaskSettingsBox, L"MaskSettingsBox");
|
||||
this->MaskSettingsBox->Name = L"MaskSettingsBox";
|
||||
this->MaskSettingsBox->TabStop = false;
|
||||
//
|
||||
@@ -1255,11 +1284,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->MaskClockwise->UseVisualStyleBackColor = true;
|
||||
this->MaskClockwise->CheckedChanged += gcnew System::EventHandler(this, &MyForm::Mask_CheckedChanged);
|
||||
//
|
||||
// label18
|
||||
//
|
||||
resources->ApplyResources(this->label18, L"label18");
|
||||
this->label18->Name = L"label18";
|
||||
//
|
||||
// CurrentObjectText
|
||||
//
|
||||
resources->ApplyResources(this->CurrentObjectText, L"CurrentObjectText");
|
||||
@@ -1369,13 +1393,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->NotesViewBox->Name = L"NotesViewBox";
|
||||
this->NotesViewBox->TabStop = false;
|
||||
//
|
||||
// EditNoteButton
|
||||
//
|
||||
resources->ApplyResources(this->EditNoteButton, L"EditNoteButton");
|
||||
this->EditNoteButton->Name = L"EditNoteButton";
|
||||
this->EditNoteButton->UseVisualStyleBackColor = true;
|
||||
this->EditNoteButton->Click += gcnew System::EventHandler(this, &MyForm::EditNoteButton_Click);
|
||||
//
|
||||
// PrevBeatButton
|
||||
//
|
||||
resources->ApplyResources(this->PrevBeatButton, L"PrevBeatButton");
|
||||
@@ -1482,6 +1499,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
// DeleteNoteButton
|
||||
//
|
||||
resources->ApplyResources(this->DeleteNoteButton, L"DeleteNoteButton");
|
||||
this->DeleteNoteButton->ForeColor = System::Drawing::Color::Red;
|
||||
this->DeleteNoteButton->Name = L"DeleteNoteButton";
|
||||
this->DeleteNoteButton->UseVisualStyleBackColor = true;
|
||||
this->DeleteNoteButton->Click += gcnew System::EventHandler(this, &MyForm::DeleteNoteButton_Click);
|
||||
@@ -1493,7 +1511,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// openFileDialogChart
|
||||
//
|
||||
this->openFileDialogChart->FileName = L"chart.mer";
|
||||
resources->ApplyResources(this->openFileDialogChart, L"openFileDialogChart");
|
||||
this->openFileDialogChart->RestoreDirectory = true;
|
||||
this->openFileDialogChart->FileOk += gcnew System::ComponentModel::CancelEventHandler(this, &MyForm::openFileDialog_FileOk);
|
||||
@@ -1507,20 +1524,20 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// CurrentNoteBox
|
||||
//
|
||||
resources->ApplyResources(this->CurrentNoteBox, L"CurrentNoteBox");
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeTrackBar);
|
||||
this->CurrentNoteBox->Controls->Add(this->PosTrackBar);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeInfo);
|
||||
this->CurrentNoteBox->Controls->Add(this->BeatNum2);
|
||||
this->CurrentNoteBox->Controls->Add(this->posInfo);
|
||||
this->CurrentNoteBox->Controls->Add(this->label1);
|
||||
this->CurrentNoteBox->Controls->Add(this->PosLabel);
|
||||
this->CurrentNoteBox->Controls->Add(this->Beat);
|
||||
this->CurrentNoteBox->Controls->Add(this->BeatNum1);
|
||||
this->CurrentNoteBox->Controls->Add(this->MeasureNum);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeLabel);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeTrackBar);
|
||||
this->CurrentNoteBox->Controls->Add(this->PosTrackBar);
|
||||
this->CurrentNoteBox->Controls->Add(this->posInfo);
|
||||
this->CurrentNoteBox->Controls->Add(this->PosLabel);
|
||||
this->CurrentNoteBox->Controls->Add(this->PosNum);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeLabel);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeInfo);
|
||||
this->CurrentNoteBox->Controls->Add(this->SizeNum);
|
||||
resources->ApplyResources(this->CurrentNoteBox, L"CurrentNoteBox");
|
||||
this->CurrentNoteBox->Name = L"CurrentNoteBox";
|
||||
this->CurrentNoteBox->TabStop = false;
|
||||
//
|
||||
@@ -1549,8 +1566,9 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// CirclePanel
|
||||
//
|
||||
resources->ApplyResources(this->CirclePanel, L"CirclePanel");
|
||||
this->CirclePanel->BackColor = System::Drawing::Color::Transparent;
|
||||
this->CirclePanel->Controls->Add(this->MadeByLabel);
|
||||
resources->ApplyResources(this->CirclePanel, L"CirclePanel");
|
||||
this->CirclePanel->Name = L"CirclePanel";
|
||||
this->CirclePanel->Paint += gcnew System::Windows::Forms::PaintEventHandler(this, &MyForm::CirclePanel_Paint);
|
||||
this->CirclePanel->MouseDown += gcnew System::Windows::Forms::MouseEventHandler(this, &MyForm::CirclePanel_MouseDown);
|
||||
@@ -1560,19 +1578,11 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
// VisualSettingsBox
|
||||
//
|
||||
resources->ApplyResources(this->VisualSettingsBox, L"VisualSettingsBox");
|
||||
this->VisualSettingsBox->Controls->Add(this->HighlightCheckBox);
|
||||
this->VisualSettingsBox->Controls->Add(this->label2);
|
||||
this->VisualSettingsBox->Controls->Add(this->VisualHispeed);
|
||||
this->VisualSettingsBox->Name = L"VisualSettingsBox";
|
||||
this->VisualSettingsBox->TabStop = false;
|
||||
//
|
||||
// HighlightCheckBox
|
||||
//
|
||||
resources->ApplyResources(this->HighlightCheckBox, L"HighlightCheckBox");
|
||||
this->HighlightCheckBox->Name = L"HighlightCheckBox";
|
||||
this->HighlightCheckBox->UseVisualStyleBackColor = true;
|
||||
this->HighlightCheckBox->CheckedChanged += gcnew System::EventHandler(this, &MyForm::HighlightCheckBox_CheckedChanged);
|
||||
//
|
||||
// PlayButton
|
||||
//
|
||||
resources->ApplyResources(this->PlayButton, L"PlayButton");
|
||||
@@ -1631,7 +1641,6 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
//
|
||||
// openFileDialogSong
|
||||
//
|
||||
this->openFileDialogSong->FileName = L"openFileDialogSong";
|
||||
resources->ApplyResources(this->openFileDialogSong, L"openFileDialogSong");
|
||||
//
|
||||
// backgroundWorkerSong
|
||||
@@ -1650,32 +1659,31 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
this->backgroundWorkerPaint->ProgressChanged += gcnew System::ComponentModel::ProgressChangedEventHandler(this, &MyForm::backgroundWorkerPaint_ProgressChanged);
|
||||
this->backgroundWorkerPaint->RunWorkerCompleted += gcnew System::ComponentModel::RunWorkerCompletedEventHandler(this, &MyForm::backgroundWorkerPaint_RunWorkerCompleted);
|
||||
//
|
||||
// panel1
|
||||
// CurrentObjectBox
|
||||
//
|
||||
resources->ApplyResources(this->panel1, L"panel1");
|
||||
this->panel1->Controls->Add(this->label18);
|
||||
this->panel1->Controls->Add(this->CurrentObjectText);
|
||||
this->panel1->Name = L"panel1";
|
||||
this->CurrentObjectBox->Controls->Add(this->CurrentObjectText);
|
||||
resources->ApplyResources(this->CurrentObjectBox, L"CurrentObjectBox");
|
||||
this->CurrentObjectBox->Name = L"CurrentObjectBox";
|
||||
this->CurrentObjectBox->TabStop = false;
|
||||
//
|
||||
// MyForm
|
||||
//
|
||||
this->AllowDrop = true;
|
||||
resources->ApplyResources(this, L"$this");
|
||||
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Dpi;
|
||||
this->Controls->Add(this->panel1);
|
||||
this->Controls->Add(this->SongPlaybackBox);
|
||||
this->Controls->Add(this->NotesViewBox);
|
||||
this->Controls->Add(this->VisualSettingsBox);
|
||||
this->Controls->Add(this->CurrentObjectBox);
|
||||
this->Controls->Add(this->GimmickBox);
|
||||
this->Controls->Add(this->NoteTypeBox);
|
||||
this->Controls->Add(this->SongPlaybackBox);
|
||||
this->Controls->Add(this->CirclePanel);
|
||||
this->Controls->Add(this->CurrentNoteBox);
|
||||
this->Controls->Add(this->MadeByLabel);
|
||||
this->Controls->Add(this->NotesViewBox);
|
||||
this->Controls->Add(this->PreChartViewBox);
|
||||
this->Controls->Add(this->MaskSettingsBox);
|
||||
this->Controls->Add(this->InitialSettingsPane);
|
||||
this->Controls->Add(this->GimmickSettingsBox);
|
||||
this->Controls->Add(this->GimmickBox);
|
||||
this->Controls->Add(this->InsertButton);
|
||||
this->Controls->Add(this->NoteTypeBox);
|
||||
this->Controls->Add(this->menuStrip);
|
||||
this->DoubleBuffered = true;
|
||||
this->KeyPreview = true;
|
||||
@@ -1731,14 +1739,16 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->SizeTrackBar))->EndInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PosTrackBar))->EndInit();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->fileSystemWatcher1))->EndInit();
|
||||
this->CirclePanel->ResumeLayout(false);
|
||||
this->CirclePanel->PerformLayout();
|
||||
this->VisualSettingsBox->ResumeLayout(false);
|
||||
this->VisualSettingsBox->PerformLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->songTrackSlider))->EndInit();
|
||||
this->SongPlaybackBox->ResumeLayout(false);
|
||||
this->SongPlaybackBox->PerformLayout();
|
||||
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->SongVolume))->EndInit();
|
||||
this->panel1->ResumeLayout(false);
|
||||
this->panel1->PerformLayout();
|
||||
this->CurrentObjectBox->ResumeLayout(false);
|
||||
this->CurrentObjectBox->PerformLayout();
|
||||
this->ResumeLayout(false);
|
||||
this->PerformLayout();
|
||||
|
||||
@@ -2068,23 +2078,23 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
switch (currentNoteType)
|
||||
{
|
||||
case TouchNoBonus:
|
||||
return "Touch (No Bonus)";
|
||||
return "Touch";
|
||||
case TouchBonus:
|
||||
return "Touch (Bonus Get)";
|
||||
return "Touch [Bonus]";
|
||||
case SnapRedNoBonus:
|
||||
return "Snap (R) (No Bonus)";
|
||||
return "Snap (R)";
|
||||
case SnapBlueNoBonus:
|
||||
return "Snap (B) (No Bonus)";
|
||||
return "Snap (B)";
|
||||
case SlideOrangeNoBonus:
|
||||
return "Slide (O) (No Bonus)";
|
||||
return "Slide (O)";
|
||||
case SlideOrangeBonus:
|
||||
return "Slide (O) (Bonus Get)";
|
||||
return "Slide (O) [Bonus]";
|
||||
case SlideGreenNoBonus:
|
||||
return "Slide (G) (No Bonus)";
|
||||
return "Slide (G)";
|
||||
case SlideGreenBonus:
|
||||
return "Slide (G) (Bonus Get)";
|
||||
return "Slide (G) [Bonus]";
|
||||
case HoldStartNoBonus:
|
||||
return "Hold Start (No Bonus)";
|
||||
return "Hold Start";
|
||||
case HoldMiddle:
|
||||
if (EndHoldBox->Checked) {
|
||||
return "Hold End";
|
||||
@@ -2119,19 +2129,19 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
case Chain:
|
||||
return "Chain";
|
||||
case TouchBonusFlair:
|
||||
return "Touch (Bonus With Flair)";
|
||||
return "Touch [R Note]";
|
||||
case SnapRedBonusFlair:
|
||||
return "Snap (R) (Bonus With Flair)";
|
||||
return "Snap (R) [R Note]";
|
||||
case SnapBlueBonusFlair:
|
||||
return "Snap (B) (Bonus With Flair)";
|
||||
return "Snap (B) [R Note]";
|
||||
case SlideOrangeBonusFlair:
|
||||
return "Slide (O) (Bonus With Flair)";
|
||||
return "Slide (O) [R Note]";
|
||||
case SlideGreenBonusFlair:
|
||||
return "Slide (G) (Bonus With Flair)";
|
||||
return "Slide (G) [R Note]";
|
||||
case HoldStartBonusFlair:
|
||||
return "Hold Start (Bonus With Flair)";
|
||||
return "Hold Start [R Note]";
|
||||
case ChainBonusFlair:
|
||||
return "Chain (Bonus With Flair)";
|
||||
return "Chain [R Note]";
|
||||
default:
|
||||
return "None Selected";
|
||||
}
|
||||
@@ -2140,23 +2150,23 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
switch (currentNoteType)
|
||||
{
|
||||
case TouchNoBonus:
|
||||
return "Touch (No Bonus)";
|
||||
return "Touch";
|
||||
case TouchBonus:
|
||||
return "Touch (Bonus Get)";
|
||||
return "Touch [Bonus]";
|
||||
case SnapRedNoBonus:
|
||||
return "Snap (R) (No Bonus)";
|
||||
return "Snap (R)";
|
||||
case SnapBlueNoBonus:
|
||||
return "Snap (B) (No Bonus)";
|
||||
return "Snap (B)";
|
||||
case SlideOrangeNoBonus:
|
||||
return "Slide (O) (No Bonus)";
|
||||
return "Slide (O)";
|
||||
case SlideOrangeBonus:
|
||||
return "Slide (O) (Bonus Get)";
|
||||
return "Slide (O) [Bonus]";
|
||||
case SlideGreenNoBonus:
|
||||
return "Slide (G) (No Bonus)";
|
||||
return "Slide (G)";
|
||||
case SlideGreenBonus:
|
||||
return "Slide (G) (Bonus Get)";
|
||||
return "Slide (G) [Bonus]";
|
||||
case HoldStartNoBonus:
|
||||
return "Hold Start (No Bonus)";
|
||||
return "Hold Start";
|
||||
case HoldMiddle:
|
||||
return "Hold Middle";
|
||||
case HoldEnd:
|
||||
@@ -2170,19 +2180,19 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
case Chain:
|
||||
return "Chain";
|
||||
case TouchBonusFlair:
|
||||
return "Touch (Bonus With Flair)";
|
||||
return "Touch [R Note]";
|
||||
case SnapRedBonusFlair:
|
||||
return "Snap (R) (Bonus With Flair)";
|
||||
return "Snap (R) [R Note]";
|
||||
case SnapBlueBonusFlair:
|
||||
return "Snap (B) (Bonus With Flair)";
|
||||
return "Snap (B) [R Note]";
|
||||
case SlideOrangeBonusFlair:
|
||||
return "Slide (O) (Bonus With Flair)";
|
||||
return "Slide (O) [R Note]";
|
||||
case SlideGreenBonusFlair:
|
||||
return "Slide (G) (Bonus With Flair)";
|
||||
return "Slide (G) [R Note]";
|
||||
case HoldStartBonusFlair:
|
||||
return "Hold Start (Bonus With Flair)";
|
||||
return "Hold Start [R Note]";
|
||||
case ChainBonusFlair:
|
||||
return "Chain (Bonus With Flair)";
|
||||
return "Chain [R Note]";
|
||||
default:
|
||||
return "List Empty";
|
||||
}
|
||||
@@ -2215,7 +2225,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
noteRefresh = false;
|
||||
refreshThePaint = true;
|
||||
}
|
||||
if (HighlightCheckBox->Checked) {
|
||||
if (highlightViewedNoteToolStripMenuItem->Checked) {
|
||||
refreshThePaint = true;
|
||||
}
|
||||
if (refreshThePaint) {
|
||||
@@ -2665,11 +2675,11 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
if (SelectedNoteType == HoldEnd) {
|
||||
if (BonusFlairRadioButton->Checked) {
|
||||
SelectedNoteType = HoldStartBonusFlair;
|
||||
CurrentObjectText->Text = "Hold Start (Bonus With Flair)";
|
||||
CurrentObjectText->Text = "Hold Start [R Note]";
|
||||
}
|
||||
else {
|
||||
SelectedNoteType = HoldStartNoBonus;
|
||||
CurrentObjectText->Text = "Hold Start (No Bonus)";
|
||||
CurrentObjectText->Text = "Hold Start";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2930,7 +2940,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
}
|
||||
RefreshPaint();
|
||||
}
|
||||
private: System::Void Mask_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
private: System::Void MaskButton_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
if (SelectedNoteType != HoldMiddle) {
|
||||
if (AddMask->Checked) {
|
||||
SelectedNoteType = MaskAdd;
|
||||
@@ -3071,6 +3081,9 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
}
|
||||
}
|
||||
private: System::Void AddMask_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
||||
if (AddMask->Checked) {
|
||||
MaskCenter->Text = "From Center";
|
||||
}
|
||||
if (SelectedLineType == NoGimmick) {
|
||||
if (SelectedNoteType == MaskRemove) {
|
||||
if (AddMask->Checked) {
|
||||
@@ -3083,6 +3096,9 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
RefreshPaint();
|
||||
}
|
||||
private: System::Void RemoveMask_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
||||
if (RemoveMask->Checked) {
|
||||
MaskCenter->Text = "To Center";
|
||||
}
|
||||
if (SelectedLineType == NoGimmick) {
|
||||
if (SelectedNoteType == MaskAdd) {
|
||||
if (RemoveMask->Checked) {
|
||||
@@ -3516,10 +3532,10 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
private: System::Void MyForm_Resize(System::Object^ sender, System::EventArgs^ e) {
|
||||
int paddingFromEdge = 28;
|
||||
int paddingBetweenObjects = 6;
|
||||
int leftPos = NoteTypeBox->Right + paddingBetweenObjects;
|
||||
int rightPos = this->Width - paddingFromEdge;
|
||||
int topPos = InitialSettingsPane->Bottom + paddingBetweenObjects;
|
||||
int botPos = NotesViewBox->Top - paddingBetweenObjects;
|
||||
int leftPos = GimmickBox->Right + paddingBetweenObjects;
|
||||
int rightPos = PreChartViewBox->Left - paddingBetweenObjects;
|
||||
int topPos = GimmickBox->Top;
|
||||
int botPos = SongPlaybackBox->Top - paddingBetweenObjects;
|
||||
int width = rightPos - leftPos;
|
||||
int height = botPos - topPos;
|
||||
/*
|
||||
@@ -3888,7 +3904,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
futArcLength -= 4;
|
||||
bufferedGfx->Graphics->DrawArc(CircleNotePen, RectFut, futStartAngle, futArcLength); //Draw highlight
|
||||
}
|
||||
if (HighlightCheckBox->Checked) {
|
||||
if (highlightViewedNoteToolStripMenuItem->Checked) {
|
||||
if (islistITREqualToViewITR(listofNotesitr)) {
|
||||
CircleNotePen->Color = HighlightColor;
|
||||
CircleNotePen->Width += highlightWidth;
|
||||
@@ -3943,7 +3959,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
futArcLength -= 4;
|
||||
bufferedGfx->Graphics->DrawArc(CircleNotePen, RectFut, futStartAngle, futArcLength); //Draw highlight
|
||||
}
|
||||
if (HighlightCheckBox->Checked) {
|
||||
if (highlightViewedNoteToolStripMenuItem->Checked) {
|
||||
if (islistITREqualToViewITR(listofNotesitr)) {
|
||||
CircleNotePen->Color = HighlightColor;
|
||||
CircleNotePen->Width += highlightWidth;
|
||||
@@ -3963,7 +3979,7 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
}
|
||||
|
||||
// Generate flag for showing cursor
|
||||
bool showCursor = showCursorToolStripMenuItem->Checked;
|
||||
bool showCursor = showCursorToolStripMenuItem->Checked || mouseDownPos != -1;
|
||||
if (currentlyPlayingSong != nullptr) {
|
||||
if (!currentlyPlayingSong->Paused) {
|
||||
showCursor = showCursorDuringPlaybackToolStripMenuItem->Checked;
|
||||
@@ -4277,47 +4293,57 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
switch (keyPressed) {
|
||||
case 'T': //Touch
|
||||
TapButton_Click(sender, e);
|
||||
TapButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'O': //Orange Slide
|
||||
OrangeButton_Click(sender, e);
|
||||
OrangeButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'G': //Green Slide
|
||||
GreenButton_Click(sender, e);
|
||||
GreenButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'R': //Red Snap
|
||||
RedButton_Click(sender, e);
|
||||
RedButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'B': //Blue Snap
|
||||
BlueButton_Click(sender, e);
|
||||
BlueButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'Y': //Chain
|
||||
YellowButton_Click(sender, e);
|
||||
YellowButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'H': //Hold
|
||||
HoldButton_Click(sender, e);
|
||||
HoldButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'M': //Mask
|
||||
Mask_Click(sender, e);
|
||||
MaskButton_Click(sender, e);
|
||||
MaskButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'I': //Insert
|
||||
InsertButton_Click(sender, e);
|
||||
InsertButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
case 'P': //Play/Pause
|
||||
PlayButton_Click(sender, e);
|
||||
PlayButton->Focus();
|
||||
e->Handled = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
private: System::Void HighlightCheckBox_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
||||
private: System::Void highlightViewedNoteToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
RefreshPaint();
|
||||
}
|
||||
/*
|
||||
@@ -4326,12 +4352,8 @@ private: System::Windows::Forms::ToolStripMenuItem^ showCursorDuringPlaybackTool
|
||||
}
|
||||
*/
|
||||
private: System::Void showCursorToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
showCursorToolStripMenuItem->Checked = !showCursorToolStripMenuItem->Checked;
|
||||
RefreshPaint();
|
||||
}
|
||||
private: System::Void showCursorDuringPlaybackToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
showCursorDuringPlaybackToolStripMenuItem->Checked = !showCursorDuringPlaybackToolStripMenuItem->Checked;
|
||||
}
|
||||
private: System::Void CirclePanel_MouseDown(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
||||
// Determine location of mouse click in the circle
|
||||
// X and Y are relative to upper left of image
|
||||
@@ -4340,14 +4362,21 @@ private: System::Void CirclePanel_MouseDown(System::Object^ sender, System::Wind
|
||||
float theta = Math::Atan2(yCen, xCen) * 180.0f / PI;
|
||||
if (theta < 0)
|
||||
theta += 360.0f;
|
||||
PosNum->Value = (int)(theta / 6.0f);
|
||||
mouseDownPos = (int)PosNum->Value;
|
||||
lastMousePos = -1;
|
||||
rolloverPos = false;
|
||||
rolloverNeg = false;
|
||||
// Left click moves the cursor
|
||||
if (e->Button == System::Windows::Forms::MouseButtons::Left) {
|
||||
PosNum->Value = (int)(theta / 6.0f);
|
||||
mouseDownPos = (int)PosNum->Value;
|
||||
lastMousePos = -1;
|
||||
rolloverPos = false;
|
||||
rolloverNeg = false;
|
||||
}
|
||||
}
|
||||
private: System::Void CirclePanel_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
||||
InsertObject();
|
||||
// Only Left Click should create notes
|
||||
if (e->Button == System::Windows::Forms::MouseButtons::Left) {
|
||||
mouseDownPos = -1;
|
||||
InsertObject();
|
||||
}
|
||||
}
|
||||
private: System::Void CirclePanel_MouseMove(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
||||
// Calculate angle
|
||||
@@ -4358,7 +4387,7 @@ private: System::Void CirclePanel_MouseMove(System::Object^ sender, System::Wind
|
||||
thetaCalc += 360.0f;
|
||||
int theta = thetaCalc / 6.0f;
|
||||
// Left click will alter the note width and possibly the position depending on which direction is being turned
|
||||
if (e->Button == System::Windows::Forms::MouseButtons::Left) {
|
||||
if (e->Button == System::Windows::Forms::MouseButtons::Left && mouseDownPos != -1) {
|
||||
int delta = theta - lastMousePos;
|
||||
// Handle rollover
|
||||
if (delta == -59) {
|
||||
@@ -4404,5 +4433,8 @@ private: System::Void CirclePanel_MouseMove(System::Object^ sender, System::Wind
|
||||
lastMousePos = theta;
|
||||
}
|
||||
}
|
||||
private: System::Void aboutBAKKAEditorToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
||||
MessageBox::Show(this->Text + "\n\nCredits:\nGoatgarien - Initial editor and idea\nZoids - Various fixes\nYellowberry - UI redesign", "About BAKKA Editor");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
+380
-444
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user