Skip to content

Commit

Permalink
Fix User bank path
Browse files Browse the repository at this point in the history
	modified:   TODO
	modified:   src/rakarrack.cxx
	modified:   src/rakarrack.fl
  • Loading branch information
holborn committed Apr 14, 2011
1 parent af50ae7 commit e994903
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Things to do before 0.7.0
-New Effects
-Echotron window to edit files.
-Repository

-Waveshaper 2.0 * sin(PERIOD/(i+1)) * sin(PERIOD/(i+1)) * sample * sample

DSP TODO:

Expand Down
2 changes: 1 addition & 1 deletion src/rakarrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10172,7 +10172,7 @@ chname=p->label();
is_modified();
char temp[128];
memset (temp, 0, sizeof (temp));
sprintf (temp, "%s%s%s", rkr->UDirFilename,chname,".rkrb");
sprintf (temp, "%s/%s%s", rkr->UDirFilename,chname,".rkrb");

int ok=rkr->loadbank(temp);
if(ok)
Expand Down
14 changes: 6 additions & 8 deletions src/rakarrack.fl
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,7 @@ when(FL_WHEN_RELEASE_ALWAYS | FL_WHEN_CHANGED);
}
}

class RKRGUI {open
} {
class RKRGUI {} {
decl {RKR *rkr;} {}
decl {int made;} {}
decl {Fl_Help_Dialog *visor;} {}
Expand Down Expand Up @@ -10901,8 +10900,8 @@ UpdateTGUI();
}
Fl_Window BankWindow {
callback {o->hide();
save_stat(1);}
xywh {1529 293 800 600} type Double color 4 selection_color 7 hide resizable size_range {640 480 3200 2400}
save_stat(1);} open
xywh {1528 288 800 600} type Double color 4 selection_color 7 hide resizable size_range {640 480 3200 2400}
} {
Fl_Box Fondo3 {
xywh {1 1 800 600}
Expand Down Expand Up @@ -11028,15 +11027,15 @@ chname=p->label();
is_modified();
char temp[128];
memset (temp, 0, sizeof (temp));
sprintf (temp, "%s%s%s", rkr->UDirFilename,chname,".rkrb");
sprintf (temp, "%s/%s%s", rkr->UDirFilename,chname,".rkrb");

int ok=rkr->loadbank(temp);
if(ok)
{
BankWin_Label(temp);
Put_Loaded_Bank();
unlight_preset(rkr->Selected_Preset);
}} open
}} open selected
xywh {549 14 117 24} down_box BORDER_BOX selection_color 7 labelcolor 7 when 6 textcolor 7
} {}
Fl_Group ob {
Expand Down Expand Up @@ -12536,8 +12535,7 @@ HideUE->redraw();

void * v=MT;
Fl::add_timeout(.04,tick,v);
Fl::add_handler(prevnext);} {selected
}
Fl::add_handler(prevnext);} {}
}
Function {Background_Color_Change(Fl_Color bcolor)} {} {
code {MenuP->color(bcolor);
Expand Down

0 comments on commit e994903

Please sign in to comment.