forked from pool/seq24
This commit is contained in:
parent
89b260fe3b
commit
21f4966207
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0f9796f0b5ac30bb0f9d893e86ddeee2d20ba6bfc065e3c6d7413f510c090032
|
|
||||||
size 155745
|
|
3
seq24-0.9.0.tar.bz2
Normal file
3
seq24-0.9.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b1fc3fefa45fc265eccf5f28761f7ddcc24929d56d9936b57235edee3d7addaa
|
||||||
|
size 170369
|
@ -1,10 +0,0 @@
|
|||||||
--- src/perform.cpp
|
|
||||||
+++ src/perform.cpp
|
|
||||||
@@ -23,6 +23,7 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <sched.h>
|
|
||||||
+#include <assert.h>
|
|
||||||
|
|
||||||
//For keys
|
|
||||||
#include <gtkmm/accelkey.h>
|
|
@ -1,263 +0,0 @@
|
|||||||
--- src/font_w.xpm-dist 2007-10-22 15:52:50.000000000 +0200
|
|
||||||
+++ src/font_w.xpm 2007-10-22 15:53:09.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * font_w_xpm[] = {
|
|
||||||
+static const char * font_w_xpm[] = {
|
|
||||||
"145 209 2 1",
|
|
||||||
" c #000000",
|
|
||||||
". c #FFFFFF",
|
|
||||||
--- src/zoom.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/zoom.xpm 2007-10-22 15:56:20.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * zoom_xpm[] = {
|
|
||||||
+static const char * zoom_xpm[] = {
|
|
||||||
"16 14 10 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/play2.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/play2.xpm 2007-10-22 15:55:30.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * play2_xpm[] = {
|
|
||||||
+static const char * play2_xpm[] = {
|
|
||||||
"16 11 5 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/length.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/length.xpm 2007-10-22 15:54:52.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * length_xpm[] = {
|
|
||||||
+static const char * length_xpm[] = {
|
|
||||||
"36 11 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/undo.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/undo.xpm 2007-10-22 15:56:16.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * undo_xpm[] = {
|
|
||||||
+static const char * undo_xpm[] = {
|
|
||||||
"16 14 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/copy.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/copy.xpm 2007-10-22 15:54:32.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * copy_xpm[] = {
|
|
||||||
+static const char * copy_xpm[] = {
|
|
||||||
"33 11 4 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/event.cpp-dist 2007-10-22 15:46:20.000000000 +0200
|
|
||||||
+++ src/event.cpp 2007-10-22 15:47:03.000000000 +0200
|
|
||||||
@@ -18,6 +18,7 @@
|
|
||||||
//
|
|
||||||
//-----------------------------------------------------------------------------
|
|
||||||
#include "event.h"
|
|
||||||
+#include <cstring>
|
|
||||||
|
|
||||||
event::event()
|
|
||||||
{
|
|
||||||
--- src/midi.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/midi.xpm 2007-10-22 15:55:12.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * midi_xpm[] = {
|
|
||||||
+static const char * midi_xpm[] = {
|
|
||||||
"14 14 4 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/stop.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/stop.xpm 2007-10-22 15:56:03.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * stop_xpm[] = {
|
|
||||||
+static const char * stop_xpm[] = {
|
|
||||||
"15 11 5 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/menu_empty.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/menu_empty.xpm 2007-10-22 15:55:02.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * menu_empty_xpm[] = {
|
|
||||||
+static const char * menu_empty_xpm[] = {
|
|
||||||
"10 10 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/note_length.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/note_length.xpm 2007-10-22 15:55:17.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * note_length_xpm[] = {
|
|
||||||
+static const char * note_length_xpm[] = {
|
|
||||||
"29 12 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/expand.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/expand.xpm 2007-10-22 15:54:42.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * expand_xpm[] = {
|
|
||||||
+static const char * expand_xpm[] = {
|
|
||||||
"33 11 4 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/rec.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/rec.xpm 2007-10-22 15:55:38.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * rec_xpm[] = {
|
|
||||||
+static const char * rec_xpm[] = {
|
|
||||||
"36 14 10 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/collapse.xpm-dist 2007-10-22 15:54:15.000000000 +0200
|
|
||||||
+++ src/collapse.xpm 2007-10-22 15:54:19.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * collapse_xpm[] = {
|
|
||||||
+static const char * collapse_xpm[] = {
|
|
||||||
"27 11 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/tools.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/tools.xpm 2007-10-22 15:56:12.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * tools_xpm[] = {
|
|
||||||
+static const char * tools_xpm[] = {
|
|
||||||
"13 14 5 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/seq24.xpm-dist 2007-10-22 15:53:53.000000000 +0200
|
|
||||||
+++ src/seq24.xpm 2007-10-22 15:53:58.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * seq24_xpm[] = {
|
|
||||||
+static const char * seq24_xpm[] = {
|
|
||||||
"124 32 3 1",
|
|
||||||
" c None",
|
|
||||||
". c None",
|
|
||||||
--- src/loop.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/loop.xpm 2007-10-22 15:54:58.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * loop_xpm[] = {
|
|
||||||
+static const char * loop_xpm[] = {
|
|
||||||
"33 12 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/scale.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/scale.xpm 2007-10-22 15:55:43.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * scale_xpm[] = {
|
|
||||||
+static const char * scale_xpm[] = {
|
|
||||||
"30 14 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/key.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/key.xpm 2007-10-22 15:54:48.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * key_xpm[] = {
|
|
||||||
+static const char * key_xpm[] = {
|
|
||||||
"13 14 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/font.cpp-dist 2007-10-22 15:52:30.000000000 +0200
|
|
||||||
+++ src/font.cpp 2007-10-22 15:52:43.000000000 +0200
|
|
||||||
@@ -25,6 +25,7 @@
|
|
||||||
#include "font_b.xpm"
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
+#include <cstring>
|
|
||||||
|
|
||||||
font::font( )
|
|
||||||
{
|
|
||||||
--- src/down.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/down.xpm 2007-10-22 15:54:36.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * down_xpm[] = {
|
|
||||||
+static const char * down_xpm[] = {
|
|
||||||
"7 14 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/snap.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/snap.xpm 2007-10-22 15:55:59.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * snap_xpm[] = {
|
|
||||||
+static const char * snap_xpm[] = {
|
|
||||||
"29 12 5 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/font_b.xpm-dist 2007-10-22 15:52:48.000000000 +0200
|
|
||||||
+++ src/font_b.xpm 2007-10-22 15:53:04.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * font_b_xpm[] = {
|
|
||||||
+static const char * font_b_xpm[] = {
|
|
||||||
"145 209 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/bus.xpm-dist 2007-10-22 15:54:08.000000000 +0200
|
|
||||||
+++ src/bus.xpm 2007-10-22 15:54:12.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * bus_xpm[] = {
|
|
||||||
+static const char * bus_xpm[] = {
|
|
||||||
"36 14 4 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/perfedit.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/perfedit.xpm 2007-10-22 15:55:25.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * perfedit_xpm[] = {
|
|
||||||
+static const char * perfedit_xpm[] = {
|
|
||||||
"23 14 11 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/thru.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/thru.xpm 2007-10-22 15:56:08.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * thru_xpm[] = {
|
|
||||||
+static const char * thru_xpm[] = {
|
|
||||||
"62 14 10 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/play.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/play.xpm 2007-10-22 15:55:34.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * play_xpm[] = {
|
|
||||||
+static const char * play_xpm[] = {
|
|
||||||
"36 14 10 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/sequences.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/sequences.xpm 2007-10-22 15:55:55.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * sequences_xpm[] = {
|
|
||||||
+static const char * sequences_xpm[] = {
|
|
||||||
"30 14 3 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
||||||
--- src/menu_full.xpm-dist 2007-10-22 15:54:24.000000000 +0200
|
|
||||||
+++ src/menu_full.xpm 2007-10-22 15:55:07.000000000 +0200
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
/* XPM */
|
|
||||||
-static char * menu_full_xpm[] = {
|
|
||||||
+static const char * menu_full_xpm[] = {
|
|
||||||
"10 10 2 1",
|
|
||||||
" c None",
|
|
||||||
". c #000000",
|
|
@ -1,498 +0,0 @@
|
|||||||
--- src/perfedit.h-dist 2008-04-16 16:45:32.000000000 +0200
|
|
||||||
+++ src/perfedit.h 2008-04-16 16:50:05.000000000 +0200
|
|
||||||
@@ -64,7 +64,7 @@
|
|
||||||
#include "perftime.h"
|
|
||||||
|
|
||||||
using namespace Gtk;
|
|
||||||
-using namespace SigC;
|
|
||||||
+using namespace sigc;
|
|
||||||
|
|
||||||
/* has a seqroll and paino roll */
|
|
||||||
class perfedit:public Gtk::Window
|
|
||||||
--- src/perfedit.cpp-dist 2008-04-16 16:44:52.000000000 +0200
|
|
||||||
+++ src/perfedit.cpp 2008-04-16 16:50:21.000000000 +0200
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#include "undo.xpm"
|
|
||||||
#include "down.xpm"
|
|
||||||
|
|
||||||
-using namespace SigC;
|
|
||||||
+using namespace sigc;
|
|
||||||
|
|
||||||
perfedit::perfedit( perform *a_perf )
|
|
||||||
{
|
|
||||||
@@ -99,12 +99,12 @@
|
|
||||||
m_table->attach( *m_button_grow, 2, 3, 3, 4, Gtk::SHRINK, Gtk::SHRINK );
|
|
||||||
|
|
||||||
m_menu_snap = manage( new Menu());
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/1", SigC::bind(mem_fun(*this,&perfedit::set_snap), 1 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/2", SigC::bind(mem_fun(*this,&perfedit::set_snap), 2 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/4", SigC::bind(mem_fun(*this,&perfedit::set_snap), 4 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/8", SigC::bind(mem_fun(*this,&perfedit::set_snap), 8 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/16", SigC::bind(mem_fun(*this,&perfedit::set_snap), 16 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/32", SigC::bind(mem_fun(*this,&perfedit::set_snap), 32 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/1", sigc::bind(mem_fun(*this,&perfedit::set_snap), 1 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/2", sigc::bind(mem_fun(*this,&perfedit::set_snap), 2 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/4", sigc::bind(mem_fun(*this,&perfedit::set_snap), 4 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/8", sigc::bind(mem_fun(*this,&perfedit::set_snap), 8 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/16", sigc::bind(mem_fun(*this,&perfedit::set_snap), 16 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/32", sigc::bind(mem_fun(*this,&perfedit::set_snap), 32 )));
|
|
||||||
|
|
||||||
|
|
||||||
/* snap */
|
|
||||||
@@ -121,11 +121,11 @@
|
|
||||||
m_menu_bw = manage( new Menu() );
|
|
||||||
|
|
||||||
/* bw */
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("1", SigC::bind(mem_fun(*this,&perfedit::set_bw), 1 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("2", SigC::bind(mem_fun(*this,&perfedit::set_bw), 2 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("4", SigC::bind(mem_fun(*this,&perfedit::set_bw), 4 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("8", SigC::bind(mem_fun(*this,&perfedit::set_bw), 8 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("16", SigC::bind(mem_fun(*this,&perfedit::set_bw), 16 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("1", sigc::bind(mem_fun(*this,&perfedit::set_bw), 1 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("2", sigc::bind(mem_fun(*this,&perfedit::set_bw), 2 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("4", sigc::bind(mem_fun(*this,&perfedit::set_bw), 4 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("8", sigc::bind(mem_fun(*this,&perfedit::set_bw), 8 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("16", sigc::bind(mem_fun(*this,&perfedit::set_bw), 16 )));
|
|
||||||
|
|
||||||
char b[20];
|
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@
|
|
||||||
|
|
||||||
/* length */
|
|
||||||
m_menu_bpm->items().push_back(MenuElem(b,
|
|
||||||
- SigC::bind(mem_fun(*this,&perfedit::set_bpm),
|
|
||||||
+ sigc::bind(mem_fun(*this,&perfedit::set_bpm),
|
|
||||||
i+1 )));
|
|
||||||
}
|
|
||||||
|
|
||||||
--- src/mainwnd.h-dist 2008-04-16 16:44:55.000000000 +0200
|
|
||||||
+++ src/mainwnd.h 2008-04-16 16:52:12.000000000 +0200
|
|
||||||
@@ -109,7 +109,7 @@ class mainwnd : public Gtk::Window
|
|
||||||
|
|
||||||
Entry *m_entry_notes;
|
|
||||||
|
|
||||||
- SigC::Connection m_timeout_connect;
|
|
||||||
+ sigc::connection m_timeout_connect;
|
|
||||||
|
|
||||||
void file_new_dialog( void );
|
|
||||||
void file_save_dialog( void );
|
|
||||||
--- src/seqedit.cpp-dist 2008-04-16 16:44:46.000000000 +0200
|
|
||||||
+++ src/seqedit.cpp 2008-04-16 16:47:00.000000000 +0200
|
|
||||||
@@ -283,75 +283,75 @@
|
|
||||||
char b[20];
|
|
||||||
|
|
||||||
/* zoom */
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:1", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 1 )));
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:2", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 2 )));
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:4", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 4 )));
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:8", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 8 )));
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:16", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 16 )));
|
|
||||||
- m_menu_zoom->items().push_back(MenuElem("1:32", SigC::bind(mem_fun(*this,&seqedit::set_zoom), 32 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:1", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 1 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:2", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 2 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:4", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 4 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:8", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 8 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:16", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 16 )));
|
|
||||||
+ m_menu_zoom->items().push_back(MenuElem("1:32", sigc::bind(mem_fun(*this,&seqedit::set_zoom), 32 )));
|
|
||||||
|
|
||||||
/* note snap */
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 4 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/2", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 2 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/4", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 1 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/8", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 2 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/16", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 4 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/32", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 8 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/64", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 16 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/128", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 32 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 4 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/2", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 2 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/4", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 1 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/8", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 2 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/16", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 4 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/32", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 8 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/64", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 16 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/128", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 32 )));
|
|
||||||
m_menu_snap->items().push_back(SeparatorElem());
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/3", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 4 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/6", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 2 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/12", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 1 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/24", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 2 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/48", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 4 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/96", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 8 / 3 )));
|
|
||||||
- m_menu_snap->items().push_back(MenuElem("1/192", SigC::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 16 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/3", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 4 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/6", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 2 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/12", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn * 1 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/24", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 2 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/48", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 4 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/96", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 8 / 3 )));
|
|
||||||
+ m_menu_snap->items().push_back(MenuElem("1/192", sigc::bind(mem_fun(*this,&seqedit::set_snap), c_ppqn / 16 / 3 )));
|
|
||||||
|
|
||||||
/* note note_length */
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 4 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/2", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 2 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/4", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 1 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/8", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 2 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/16", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 4 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/32", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 8 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/64", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 16 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/128", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 32 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 4 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/2", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 2 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/4", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 1 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/8", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 2 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/16", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 4 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/32", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 8 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/64", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 16 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/128", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 32 )));
|
|
||||||
m_menu_note_length->items().push_back(SeparatorElem());
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/3", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 4 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/6", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 2 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/12", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 1 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/24", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 2 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/48", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 4 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/96", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 8 / 3 )));
|
|
||||||
- m_menu_note_length->items().push_back(MenuElem("1/192", SigC::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 16 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/3", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 4 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/6", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 2 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/12", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn * 1 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/24", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 2 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/48", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 4 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/96", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 8 / 3 )));
|
|
||||||
+ m_menu_note_length->items().push_back(MenuElem("1/192", sigc::bind(mem_fun(*this,&seqedit::set_note_length), c_ppqn / 16 / 3 )));
|
|
||||||
|
|
||||||
/* Key */
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[0], SigC::bind(mem_fun(*this,&seqedit::set_key), 0 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[1], SigC::bind(mem_fun(*this,&seqedit::set_key), 1 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[2], SigC::bind(mem_fun(*this,&seqedit::set_key), 2 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[3], SigC::bind(mem_fun(*this,&seqedit::set_key), 3 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[4], SigC::bind(mem_fun(*this,&seqedit::set_key), 4 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[5], SigC::bind(mem_fun(*this,&seqedit::set_key), 5 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[6], SigC::bind(mem_fun(*this,&seqedit::set_key), 6 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[7], SigC::bind(mem_fun(*this,&seqedit::set_key), 7 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[8], SigC::bind(mem_fun(*this,&seqedit::set_key), 8 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[9], SigC::bind(mem_fun(*this,&seqedit::set_key), 9 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[10], SigC::bind(mem_fun(*this,&seqedit::set_key), 10 )));
|
|
||||||
- m_menu_key->items().push_back(MenuElem( c_key_text[11], SigC::bind(mem_fun(*this,&seqedit::set_key), 11 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[0], sigc::bind(mem_fun(*this,&seqedit::set_key), 0 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[1], sigc::bind(mem_fun(*this,&seqedit::set_key), 1 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[2], sigc::bind(mem_fun(*this,&seqedit::set_key), 2 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[3], sigc::bind(mem_fun(*this,&seqedit::set_key), 3 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[4], sigc::bind(mem_fun(*this,&seqedit::set_key), 4 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[5], sigc::bind(mem_fun(*this,&seqedit::set_key), 5 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[6], sigc::bind(mem_fun(*this,&seqedit::set_key), 6 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[7], sigc::bind(mem_fun(*this,&seqedit::set_key), 7 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[8], sigc::bind(mem_fun(*this,&seqedit::set_key), 8 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[9], sigc::bind(mem_fun(*this,&seqedit::set_key), 9 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[10], sigc::bind(mem_fun(*this,&seqedit::set_key), 10 )));
|
|
||||||
+ m_menu_key->items().push_back(MenuElem( c_key_text[11], sigc::bind(mem_fun(*this,&seqedit::set_key), 11 )));
|
|
||||||
|
|
||||||
/* bw */
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("1", SigC::bind(mem_fun(*this,&seqedit::set_bw), 1 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("2", SigC::bind(mem_fun(*this,&seqedit::set_bw), 2 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("4", SigC::bind(mem_fun(*this,&seqedit::set_bw), 4 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("8", SigC::bind(mem_fun(*this,&seqedit::set_bw), 8 )));
|
|
||||||
- m_menu_bw->items().push_back(MenuElem("16", SigC::bind(mem_fun(*this,&seqedit::set_bw), 16 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("1", sigc::bind(mem_fun(*this,&seqedit::set_bw), 1 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("2", sigc::bind(mem_fun(*this,&seqedit::set_bw), 2 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("4", sigc::bind(mem_fun(*this,&seqedit::set_bw), 4 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("8", sigc::bind(mem_fun(*this,&seqedit::set_bw), 8 )));
|
|
||||||
+ m_menu_bw->items().push_back(MenuElem("16", sigc::bind(mem_fun(*this,&seqedit::set_bw), 16 )));
|
|
||||||
|
|
||||||
|
|
||||||
/* music scale */
|
|
||||||
- m_menu_scale->items().push_back(MenuElem(c_scales_text[0], SigC::bind(mem_fun(*this,&seqedit::set_scale), c_scale_off )));
|
|
||||||
- m_menu_scale->items().push_back(MenuElem(c_scales_text[1], SigC::bind(mem_fun(*this,&seqedit::set_scale), c_scale_major )));
|
|
||||||
- m_menu_scale->items().push_back(MenuElem(c_scales_text[2], SigC::bind(mem_fun(*this,&seqedit::set_scale), c_scale_minor )));
|
|
||||||
+ m_menu_scale->items().push_back(MenuElem(c_scales_text[0], sigc::bind(mem_fun(*this,&seqedit::set_scale), c_scale_off )));
|
|
||||||
+ m_menu_scale->items().push_back(MenuElem(c_scales_text[1], sigc::bind(mem_fun(*this,&seqedit::set_scale), c_scale_major )));
|
|
||||||
+ m_menu_scale->items().push_back(MenuElem(c_scales_text[2], sigc::bind(mem_fun(*this,&seqedit::set_scale), c_scale_minor )));
|
|
||||||
|
|
||||||
/* midi channel menu */
|
|
||||||
for( int i=0; i<16; i++ ){
|
|
||||||
@@ -360,16 +360,16 @@
|
|
||||||
|
|
||||||
/* length */
|
|
||||||
m_menu_length->items().push_back(MenuElem(b,
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_measures),
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_measures),
|
|
||||||
i+1 )));
|
|
||||||
/* length */
|
|
||||||
m_menu_bpm->items().push_back(MenuElem(b,
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_bpm),
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_bpm),
|
|
||||||
i+1 )));
|
|
||||||
}
|
|
||||||
|
|
||||||
- m_menu_length->items().push_back(MenuElem("32", SigC::bind(mem_fun(*this,&seqedit::set_measures), 32 )));
|
|
||||||
- m_menu_length->items().push_back(MenuElem("64", SigC::bind(mem_fun(*this,&seqedit::set_measures), 64 )));
|
|
||||||
+ m_menu_length->items().push_back(MenuElem("32", sigc::bind(mem_fun(*this,&seqedit::set_measures), 32 )));
|
|
||||||
+ m_menu_length->items().push_back(MenuElem("64", sigc::bind(mem_fun(*this,&seqedit::set_measures), 64 )));
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -394,29 +394,29 @@
|
|
||||||
Menu *holder2;
|
|
||||||
|
|
||||||
holder = manage( new Menu());
|
|
||||||
- holder->items().push_back( MenuElem( "All Notes", SigC::bind(mem_fun(*this,&seqedit::do_action), select_all_notes,0 )));
|
|
||||||
- holder->items().push_back( MenuElem( "Inverse Notes", SigC::bind(mem_fun(*this,&seqedit::do_action), select_inverse_notes,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "All Notes", sigc::bind(mem_fun(*this,&seqedit::do_action), select_all_notes,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Inverse Notes", sigc::bind(mem_fun(*this,&seqedit::do_action), select_inverse_notes,0 )));
|
|
||||||
|
|
||||||
if ( m_editing_status != EVENT_NOTE_ON &&
|
|
||||||
m_editing_status != EVENT_NOTE_OFF ){
|
|
||||||
|
|
||||||
holder->items().push_back( SeparatorElem( ));
|
|
||||||
- holder->items().push_back( MenuElem( "All Events", SigC::bind(mem_fun(*this,&seqedit::do_action), select_all_events,0 )));
|
|
||||||
- holder->items().push_back( MenuElem( "Inverse Events", SigC::bind(mem_fun(*this,&seqedit::do_action), select_inverse_events,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "All Events", sigc::bind(mem_fun(*this,&seqedit::do_action), select_all_events,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Inverse Events", sigc::bind(mem_fun(*this,&seqedit::do_action), select_inverse_events,0 )));
|
|
||||||
}
|
|
||||||
|
|
||||||
m_menu_tools->items().push_back( MenuElem( "Select", *holder ));
|
|
||||||
|
|
||||||
holder = manage( new Menu());
|
|
||||||
- holder->items().push_back( MenuElem( "Quantize Selected Notes", SigC::bind(mem_fun(*this,&seqedit::do_action), quantize_notes,0 )));
|
|
||||||
- holder->items().push_back( MenuElem( "Tighten Selected Notes", SigC::bind(mem_fun(*this,&seqedit::do_action), tighten_notes,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Quantize Selected Notes", sigc::bind(mem_fun(*this,&seqedit::do_action), quantize_notes,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Tighten Selected Notes", sigc::bind(mem_fun(*this,&seqedit::do_action), tighten_notes,0 )));
|
|
||||||
|
|
||||||
if ( m_editing_status != EVENT_NOTE_ON &&
|
|
||||||
m_editing_status != EVENT_NOTE_OFF ){
|
|
||||||
|
|
||||||
holder->items().push_back( SeparatorElem( ));
|
|
||||||
- holder->items().push_back( MenuElem( "Quantize Selected Events", SigC::bind(mem_fun(*this,&seqedit::do_action), quantize_events,0 )));
|
|
||||||
- holder->items().push_back( MenuElem( "Tighten Selected Events", SigC::bind(mem_fun(*this,&seqedit::do_action), tighten_events,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Quantize Selected Events", sigc::bind(mem_fun(*this,&seqedit::do_action), quantize_events,0 )));
|
|
||||||
+ holder->items().push_back( MenuElem( "Tighten Selected Events", sigc::bind(mem_fun(*this,&seqedit::do_action), tighten_events,0 )));
|
|
||||||
|
|
||||||
}
|
|
||||||
m_menu_tools->items().push_back( MenuElem( "Modify Time", *holder ));
|
|
||||||
@@ -432,7 +432,7 @@
|
|
||||||
|
|
||||||
if ( i!=0 ){
|
|
||||||
sprintf( num, "%+d [%s]", i, c_interval_text[ abs(i) ] );
|
|
||||||
- holder2->items().push_front( MenuElem( num, SigC::bind(mem_fun(*this,&seqedit::do_action), transpose, i )));
|
|
||||||
+ holder2->items().push_front( MenuElem( num, sigc::bind(mem_fun(*this,&seqedit::do_action), transpose, i )));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -445,7 +445,7 @@
|
|
||||||
|
|
||||||
if ( i!=0 ){
|
|
||||||
sprintf( num, "%+d [%s]", (i<0) ? i-1 : i+1, c_chord_text[ abs(i) ] );
|
|
||||||
- holder2->items().push_front( MenuElem( num, SigC::bind(mem_fun(*this,&seqedit::do_action), transpose_h, i )));
|
|
||||||
+ holder2->items().push_front( MenuElem( num, sigc::bind(mem_fun(*this,&seqedit::do_action), transpose_h, i )));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -574,7 +574,7 @@
|
|
||||||
/* beats per measure */
|
|
||||||
m_button_bpm = manage( new Button());
|
|
||||||
m_button_bpm->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( down_xpm ))));
|
|
||||||
- m_button_bpm->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_bpm ));
|
|
||||||
+ m_button_bpm->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_bpm ));
|
|
||||||
m_tooltips->set_tip( *m_button_bpm, "Time Signature. Beats per Measure" );
|
|
||||||
m_entry_bpm = manage( new Entry());
|
|
||||||
m_entry_bpm->set_width_chars(2);
|
|
||||||
@@ -588,7 +588,7 @@
|
|
||||||
/* beat width */
|
|
||||||
m_button_bw = manage( new Button());
|
|
||||||
m_button_bw->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( down_xpm ))));
|
|
||||||
- m_button_bw->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_bw ));
|
|
||||||
+ m_button_bw->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_bw ));
|
|
||||||
m_tooltips->set_tip( *m_button_bw, "Time Signature. Length of Beat" );
|
|
||||||
m_entry_bw = manage( new Entry());
|
|
||||||
m_entry_bw->set_width_chars(2);
|
|
||||||
@@ -601,7 +601,7 @@
|
|
||||||
/* length */
|
|
||||||
m_button_length = manage( new Button());
|
|
||||||
m_button_length->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( length_xpm ))));
|
|
||||||
- m_button_length->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_length ));
|
|
||||||
+ m_button_length->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_length ));
|
|
||||||
m_tooltips->set_tip( *m_button_length, "Sequence length in Bars." );
|
|
||||||
m_entry_length = manage( new Entry());
|
|
||||||
m_entry_length->set_width_chars(2);
|
|
||||||
@@ -664,7 +664,7 @@
|
|
||||||
/* snap */
|
|
||||||
m_button_snap = manage( new Button());
|
|
||||||
m_button_snap->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( snap_xpm ))));
|
|
||||||
- m_button_snap->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_snap ));
|
|
||||||
+ m_button_snap->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_snap ));
|
|
||||||
m_tooltips->set_tip( *m_button_snap, "Grid snap." );
|
|
||||||
m_entry_snap = manage( new Entry());
|
|
||||||
m_entry_snap->set_width_chars(5);
|
|
||||||
@@ -677,7 +677,7 @@
|
|
||||||
/* note_length */
|
|
||||||
m_button_note_length = manage( new Button());
|
|
||||||
m_button_note_length->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( note_length_xpm ))));
|
|
||||||
- m_button_note_length->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_note_length ));
|
|
||||||
+ m_button_note_length->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_note_length ));
|
|
||||||
m_tooltips->set_tip( *m_button_note_length, "Note Length." );
|
|
||||||
m_entry_note_length = manage( new Entry());
|
|
||||||
m_entry_note_length->set_width_chars(5);
|
|
||||||
@@ -690,7 +690,7 @@
|
|
||||||
/* zoom */
|
|
||||||
m_button_zoom = manage( new Button());
|
|
||||||
m_button_zoom->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( zoom_xpm ))));
|
|
||||||
- m_button_zoom->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_zoom ));
|
|
||||||
+ m_button_zoom->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_zoom ));
|
|
||||||
m_tooltips->set_tip( *m_button_zoom, "Zoom. Pixels to Ticks" );
|
|
||||||
m_entry_zoom = manage( new Entry());
|
|
||||||
m_entry_zoom->set_width_chars(4);
|
|
||||||
@@ -705,7 +705,7 @@
|
|
||||||
/* key */
|
|
||||||
m_button_key = manage( new Button());
|
|
||||||
m_button_key->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( key_xpm ))));
|
|
||||||
- m_button_key->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_key ));
|
|
||||||
+ m_button_key->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_key ));
|
|
||||||
m_tooltips->set_tip( *m_button_key, "Key of Sequence" );
|
|
||||||
m_entry_key = manage( new Entry());
|
|
||||||
m_entry_key->set_width_chars(5);
|
|
||||||
@@ -717,7 +717,7 @@
|
|
||||||
/* music scale */
|
|
||||||
m_button_scale = manage( new Button());
|
|
||||||
m_button_scale->add( *manage( new Image(Gdk::Pixbuf::create_from_xpm_data( scale_xpm ))));
|
|
||||||
- m_button_scale->signal_clicked().connect( SigC::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_scale ));
|
|
||||||
+ m_button_scale->signal_clicked().connect( sigc::bind<Menu *>( mem_fun( *this, &seqedit::popup_menu), m_menu_scale ));
|
|
||||||
m_tooltips->set_tip( *m_button_scale, "Musical Scale" );
|
|
||||||
m_entry_scale = manage( new Entry());
|
|
||||||
m_entry_scale->set_width_chars(5);
|
|
||||||
@@ -745,17 +745,17 @@
|
|
||||||
#if 0
|
|
||||||
/* Select */
|
|
||||||
m_radio_select = manage( new RadioButton( "Sel", true ));
|
|
||||||
- m_radio_select->signal_clicked().connect( SigC::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_select ));
|
|
||||||
+ m_radio_select->signal_clicked().connect( sigc::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_select ));
|
|
||||||
m_hbox3->pack_start( *m_radio_select, false, false );
|
|
||||||
|
|
||||||
/* Draw */
|
|
||||||
m_radio_draw = manage( new RadioButton( "Draw" ));
|
|
||||||
- m_radio_draw->signal_clicked().connect( SigC::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_draw ));
|
|
||||||
+ m_radio_draw->signal_clicked().connect( sigc::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_draw ));
|
|
||||||
m_hbox3->pack_start( *m_radio_draw, false, false );
|
|
||||||
|
|
||||||
/* Grow */
|
|
||||||
m_radio_grow = manage( new RadioButton( "Grow" ));
|
|
||||||
- m_radio_grow->signal_clicked().connect( SigC::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_grow ));
|
|
||||||
+ m_radio_grow->signal_clicked().connect( sigc::bind(mem_fun( *this, &seqedit::mouse_action ), e_action_grow ));
|
|
||||||
m_hbox3->pack_start( *m_radio_grow, false, false );
|
|
||||||
|
|
||||||
/* Stretch */
|
|
||||||
@@ -800,7 +800,7 @@
|
|
||||||
mastermidibus *masterbus = m_mainperf->get_master_midi_bus();
|
|
||||||
for ( int i=0; i< masterbus->get_num_out_buses(); i++ ){
|
|
||||||
m_menu_midibus->items().push_back(MenuElem(masterbus->get_midi_out_bus_name(i),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_midi_bus), i)));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_midi_bus), i)));
|
|
||||||
}
|
|
||||||
|
|
||||||
m_menu_midibus->popup(0,0);
|
|
||||||
@@ -832,7 +832,7 @@
|
|
||||||
string(")") );
|
|
||||||
}
|
|
||||||
m_menu_midich->items().push_back(MenuElem(name,
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_midi_channel),
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_midi_channel),
|
|
||||||
i )));
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -853,7 +853,7 @@
|
|
||||||
m_menu_sequences = manage( new Menu());
|
|
||||||
|
|
||||||
m_menu_sequences->items().push_back(MenuElem("Off",
|
|
||||||
- SigC::bind(mem_fun(*this, &seqedit::set_background_sequence), -1)));
|
|
||||||
+ sigc::bind(mem_fun(*this, &seqedit::set_background_sequence), -1)));
|
|
||||||
m_menu_sequences->items().push_back( SeparatorElem( ));
|
|
||||||
|
|
||||||
for ( int ss=0; ss<c_max_sets; ++ss ){
|
|
||||||
@@ -881,7 +881,7 @@
|
|
||||||
sprintf( name, "[%d] %.13s", i, seq->get_name() );
|
|
||||||
|
|
||||||
menu_ss->items().push_back(MenuElem(name,
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_background_sequence), i)));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_background_sequence), i)));
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -964,29 +964,29 @@
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "Note On Velocity",
|
|
||||||
*create_menu_image( note_on ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_NOTE_ON, 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_NOTE_ON, 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( SeparatorElem( ));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "Note Off Velocity",
|
|
||||||
*create_menu_image( note_off ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_NOTE_OFF, 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_NOTE_OFF, 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "AfterTouch",
|
|
||||||
*create_menu_image( aftertouch ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_AFTERTOUCH, 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_AFTERTOUCH, 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "Program Change",
|
|
||||||
*create_menu_image( program_change ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_PROGRAM_CHANGE, 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_PROGRAM_CHANGE, 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "Channel Pressure",
|
|
||||||
*create_menu_image( channel_pressure ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_CHANNEL_PRESSURE, 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_CHANNEL_PRESSURE, 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( ImageMenuElem( "Pitch Wheel",
|
|
||||||
*create_menu_image( pitch_wheel ),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_PITCH_WHEEL , 0 )));
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type), (unsigned char) EVENT_PITCH_WHEEL , 0 )));
|
|
||||||
|
|
||||||
m_menu_data->items().push_back( SeparatorElem( ));
|
|
||||||
|
|
||||||
@@ -1007,7 +1007,7 @@
|
|
||||||
|
|
||||||
menu_cc->items().push_back( ImageMenuElem( controller_name,
|
|
||||||
*create_menu_image( ccs[i*16+j]),
|
|
||||||
- SigC::bind(mem_fun(*this,&seqedit::set_data_type),
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqedit::set_data_type),
|
|
||||||
(unsigned char) EVENT_CONTROL_CHANGE, i*16+j)));
|
|
||||||
}
|
|
||||||
m_menu_data->items().push_back( MenuElem( string(b), *menu_cc ));
|
|
||||||
--- src/seqmenu.cpp-dist 2008-04-16 16:44:43.000000000 +0200
|
|
||||||
+++ src/seqmenu.cpp 2008-04-16 16:47:04.000000000 +0200
|
|
||||||
@@ -104,7 +104,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
menu_channels->items().push_back(MenuElem(name,
|
|
||||||
- SigC::bind(mem_fun(*this,&seqmenu::set_bus_and_midi_channel),
|
|
||||||
+ sigc::bind(mem_fun(*this,&seqmenu::set_bus_and_midi_channel),
|
|
||||||
i, j )));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
--- src/options.cpp-dist 2008-04-16 16:44:37.000000000 +0200
|
|
||||||
+++ src/options.cpp 2008-04-16 16:46:56.000000000 +0200
|
|
||||||
@@ -86,9 +86,9 @@
|
|
||||||
rb_on->set_group (group);
|
|
||||||
rb_mod->set_group (group);
|
|
||||||
|
|
||||||
- rb_off->signal_toggled().connect (SigC::bind(mem_fun (*this, &options::clock_callback_off), i, rb_off ));
|
|
||||||
- rb_on->signal_toggled ().connect (SigC::bind(mem_fun (*this, &options::clock_callback_on), i, rb_on ));
|
|
||||||
- rb_mod->signal_toggled().connect (SigC::bind(mem_fun (*this, &options::clock_callback_mod), i, rb_mod ));
|
|
||||||
+ rb_off->signal_toggled().connect (sigc::bind(mem_fun (*this, &options::clock_callback_off), i, rb_off ));
|
|
||||||
+ rb_on->signal_toggled ().connect (sigc::bind(mem_fun (*this, &options::clock_callback_on), i, rb_on ));
|
|
||||||
+ rb_mod->signal_toggled().connect (sigc::bind(mem_fun (*this, &options::clock_callback_mod), i, rb_mod ));
|
|
||||||
|
|
||||||
hbox2->pack_end (*rb_mod, false, false );
|
|
||||||
hbox2->pack_end (*rb_on, false, false);
|
|
||||||
@@ -117,7 +117,7 @@
|
|
||||||
|
|
||||||
vbox->pack_start( *hbox2, false, false );
|
|
||||||
|
|
||||||
- clock_mod_adj->signal_value_changed().connect( SigC::bind(mem_fun(*this,&options::clock_mod_callback),clock_mod_adj));
|
|
||||||
+ clock_mod_adj->signal_value_changed().connect( sigc::bind(mem_fun(*this,&options::clock_mod_callback),clock_mod_adj));
|
|
||||||
|
|
||||||
|
|
||||||
// Input Buses
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 11 13:50:42 CEST 2009 - tiwai@suse.de
|
||||||
|
|
||||||
|
- updated to version 0.9.0:
|
||||||
|
* Several bug fixs, contains adaptations to library API changes,
|
||||||
|
string buffer overruns, 64Bit incompatibility and memory leaks
|
||||||
|
for MIDI file format errors.
|
||||||
|
* See ChangeLog for more details
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 16 16:55:26 CEST 2008 - tiwai@suse.de
|
Wed Apr 16 16:55:26 CEST 2008 - tiwai@suse.de
|
||||||
|
|
||||||
|
41
seq24.spec
41
seq24.spec
@ -1,10 +1,17 @@
|
|||||||
#
|
#
|
||||||
# spec file for package seq24 (Version 0.8.7)
|
# spec file for package seq24 (Version 0.9.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
|
||||||
# package are under the same license as the package itself.
|
|
||||||
#
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
@ -19,16 +26,13 @@ BuildRequires: gtkmm2-devel
|
|||||||
BuildRequires: gtkmm24-devel
|
BuildRequires: gtkmm24-devel
|
||||||
%endif
|
%endif
|
||||||
Summary: A Small, Real-Time MIDI Sequencer
|
Summary: A Small, Real-Time MIDI Sequencer
|
||||||
Version: 0.8.7
|
Version: 0.9.0
|
||||||
Release: 232
|
Release: 1
|
||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: Productivity/Multimedia/Sound/Midi
|
Group: Productivity/Multimedia/Sound/Midi
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %name.desktop
|
Source1: %name.desktop
|
||||||
Source2: seq24.png
|
Source2: seq24.png
|
||||||
Patch: seq24-gcc43-fixes.diff
|
|
||||||
Patch1: seq24-assert.patch
|
|
||||||
Patch2: seq24-sigc-2.2-fix.diff
|
|
||||||
Url: http://www.filter24.org/seq24/
|
Url: http://www.filter24.org/seq24/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -43,17 +47,12 @@ Authors:
|
|||||||
Rob C. Buse <rcbuse@filter24.org>
|
Rob C. Buse <rcbuse@filter24.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%patch
|
|
||||||
%patch1
|
|
||||||
%if %suse_version > 1030
|
|
||||||
%patch2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
%configure
|
%configure
|
||||||
make
|
make %{?jobs:-j %jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
@ -67,11 +66,19 @@ cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog README RTC SEQ24
|
%doc AUTHORS COPYING ChangeLog README RTC SEQ24
|
||||||
|
%doc seq24usr.example
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
/usr/share/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/pixmaps/*.png
|
%{_datadir}/pixmaps/*.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 11 2009 tiwai@suse.de
|
||||||
|
- updated to version 0.9.0:
|
||||||
|
* Several bug fixs, contains adaptations to library API changes,
|
||||||
|
string buffer overruns, 64Bit incompatibility and memory leaks
|
||||||
|
for MIDI file format errors.
|
||||||
|
* See ChangeLog for more details
|
||||||
* Wed Apr 16 2008 tiwai@suse.de
|
* Wed Apr 16 2008 tiwai@suse.de
|
||||||
- fix build with recent sigc++-2.
|
- fix build with recent sigc++-2.
|
||||||
* Wed Nov 28 2007 tiwai@suse.de
|
* Wed Nov 28 2007 tiwai@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user