Changeset 1311
- Timestamp:
- 11/11/07 13:24:31 (11 months ago)
- Location:
- trunk/src/buzelib
- Files:
-
- 5 modified
-
DockTabFrame/DockTabPane.h (modified) (1 diff)
-
EditorActions.cpp (modified) (1 diff)
-
PropertyListView.cpp (modified) (1 diff)
-
SequenceEditor.cpp (modified) (4 diffs)
-
SequenceEditor.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/buzelib/DockTabFrame/DockTabPane.h
r1273 r1311 532 532 CWindow win( clientViewWnd); 533 533 win.SetWindowPos( HWND_TOP, clientRect, SWP_SHOWWINDOW); 534 win.SetFocus(); // added by anders, need OnFocus for carets535 534 return true; 536 535 } -
trunk/src/buzelib/EditorActions.cpp
r1304 r1311 415 415 // NOTE: still only creating sequencer tracks for generators 416 416 417 if ((machine->getFlags() & PLUGIN_FLAGS_MASK) == GENERATOR_PLUGIN_FLAGS) { 417 bool isGenerator = (machine->getFlags() & PLUGIN_FLAGS_MASK) == GENERATOR_PLUGIN_FLAGS; 418 bool isNoInputOutput = ((machine->getFlags() & zzub_plugin_flag_has_audio_input) == 0) && ((machine->getFlags() & zzub_plugin_flag_has_audio_output) == 0); 419 420 if (isGenerator || isNoInputOutput) { 418 421 document->player->lockTick(); 419 422 sequence* track = new sequence(machine); -
trunk/src/buzelib/PropertyListView.cpp
r1304 r1311 160 160 161 161 LRESULT CPropertyListView::OnMouseActivate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { 162 return MA_ACTIVATE; 162 // we need to process WM_MOUSEACTIVATE before the docktabframework as it sets focus causing 163 // several problems with our property list. 164 if (mainFrame->frame.focusedClientView() == *this) { 165 return MA_ACTIVATE; 166 } else 167 return DefWindowProc(); 163 168 } -
trunk/src/buzelib/SequenceEditor.cpp
r1304 r1311 788 788 Invalidate(erase?TRUE:FALSE); 789 789 UpdateWindow(); 790 showCaret();790 updateCaretPosition(); 791 791 792 792 paintMode=SequenceViewAll; … … 801 801 void CSequenceEditor::createCaret() { 802 802 CreateSolidCaret(cellWidth-1, 16); 803 showCaret(); 803 caretCreated = true; 804 updateCaretPosition(); 804 805 ShowCaret(); 805 caretCreated = true;806 806 } 807 807 … … 816 816 if (!caretCreated) 817 817 createCaret(); else 818 showCaret();818 updateCaretPosition(); 819 819 } 820 820 } … … 836 836 } 837 837 838 void CSequenceEditor:: showCaret() {838 void CSequenceEditor::updateCaretPosition() { 839 839 if (mainFrame->player->getSequenceTracks()==0) return ; 840 841 if (mainFrame->frame.focusedClientView() != sequenceView->m_hWnd) return ; 840 if (GetFocus() != m_hWnd) return ; 842 841 843 842 // validate cursor position -
trunk/src/buzelib/SequenceEditor.h
r1238 r1311 43 43 void destroyCaret(); 44 44 void createCaret(); 45 void showCaret();45 void updateCaretPosition(); 46 46 47 47 int getRowsToRender();
