From 81fe5efb53874c7bcd13cb308120ae88c583f07b Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 13 Feb 2008 01:06:48 -0600 Subject: [PATCH] Make detached sequence window double-buffered too. --- Makefile | 3 +++ gui/ui.fl | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7c4bdbf..a8fb92f 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,9 @@ clean: rm -f non makedepend $(OBJS) @ echo Done +valgrind: + valgrind ./non + .C.o: @ echo -n "Compiling: "; tput bold; tput setaf 3; echo $<; tput sgr0; true @ $(CXX) $(CXXFLAGS) -c $< -o $@ diff --git a/gui/ui.fl b/gui/ui.fl index d82d8c7..af2bf5b 100644 --- a/gui/ui.fl +++ b/gui/ui.fl @@ -960,16 +960,17 @@ else } } } - Function {make_seq_window()} {} { + Function {make_seq_window()} {open + } { Fl_Window seq_window { + label {Non Sequencer - Sequence} callback {sequence_tab->activate(); o->hide(); - -detach_button->value( 0 );} - xywh {189 27 1278 1003} type Single hide resizable +detach_button->value( 0 );} open + xywh {681 189 876 675} type Double resizable visible } { - Fl_Group seq_detached_group {open - xywh {0 0 1277 1003} resizable + Fl_Group seq_detached_group {open selected + xywh {0 0 876 675} resizable } {} } } @@ -1145,8 +1146,7 @@ free( s ); if ( playback_mode_menu ) - playback_mode_menu->value( song.play_mode );} {selected - } + playback_mode_menu->value( song.play_mode );} {} } Function {update_mapping_menu()} {open } {