From 1c0d8fa06a8d2fd24b1a81c934534acbc52d7940 Mon Sep 17 00:00:00 2001 From: EvanR Date: Tue, 6 Jan 2009 01:01:40 -0600 Subject: [PATCH] Added icon for split. But split does not yet work. --- gfx/Makefile.am | 2 +- gfx/split.gif | Bin 0 -> 131 bytes src/ui.cpp | 2 ++ src/ui.fl | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 gfx/split.gif diff --git a/gfx/Makefile.am b/gfx/Makefile.am index ce6aa26..b064660 100644 --- a/gfx/Makefile.am +++ b/gfx/Makefile.am @@ -1,2 +1,2 @@ gfxdir = $(datarootdir)/@PACKAGE@/gfx -gfx_DATA = README hand.gif loop.gif color.gif conf.gif scope.gif file.gif help.gif q4.gif q8.gif q16.gif q32.gif q64.gif q128.gif q0.gif edit.gif fork.gif +gfx_DATA = README hand.gif loop.gif color.gif conf.gif scope.gif file.gif help.gif q4.gif q8.gif q16.gif q32.gif q64.gif q128.gif q0.gif edit.gif fork.gif split.gif diff --git a/gfx/split.gif b/gfx/split.gif new file mode 100644 index 0000000000000000000000000000000000000000..d576eaf09d215de51a818e92d8db1ab7f18549df GIT binary patch literal 131 zcwTe&bhEHb6k`x$IK;?cq}}S|u6YGbG%bsc{}8s)hk?Nw0GYZiEdT%j literal 0 HcwPel00001 diff --git a/src/ui.cpp b/src/ui.cpp index 5d2f39b..a9b10db 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -1179,6 +1179,8 @@ track."); edit_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/edit.gif")); color_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/color.gif")); unclone_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/fork.gif")); + split_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/split.gif")); + join_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/join.gif")); qbutton4->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q4.gif")); qbutton8->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q8.gif")); diff --git a/src/ui.fl b/src/ui.fl index 68d496a..8b06f1f 100644 --- a/src/ui.fl +++ b/src/ui.fl @@ -936,6 +936,8 @@ help_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/help.gif")); edit_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/edit.gif")); color_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/color.gif")); unclone_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/fork.gif")); +split_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/split.gif")); +join_button->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/join.gif")); qbutton4->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q4.gif")); qbutton8->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q8.gif")); @@ -943,8 +945,7 @@ qbutton16->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q16.gif")); qbutton32->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q32.gif")); qbutton64->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q64.gif")); qbutton128->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q128.gif")); -qbutton0->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q0.gif"));} {selected - } +qbutton0->image(fltk::SharedImage::get(ROOT_DATA_DIR"gfx/q0.gif"));} {} code {track_info->set_rec(0);} {} code {start_monitor();} {} code {main_window->show();} {} -- 2.11.4.GIT