mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-14 06:59:54 -05:00
Thomas Charbonnel <thomas@undata.org>:
updated to version 1.4.
This commit is contained in:
parent
6498fd396f
commit
cd8875932e
39 changed files with 2859 additions and 579 deletions
|
|
@ -32,13 +32,16 @@ HDSPMixerIOMixer::HDSPMixerIOMixer(int x, int y, int w, int h, int ch, int type)
|
|||
channel_num = ch;
|
||||
if (channel_num%2) {
|
||||
relative_num = channel_num+1;
|
||||
p_iomixer_xpm = iomixer_xpm;
|
||||
} else {
|
||||
relative_num = channel_num-1;
|
||||
p_iomixer_xpm = iomixer_r_xpm;
|
||||
}
|
||||
for (int j = 0; j < 3; ++j) {
|
||||
for (int i = 0; i < 8; ++i) {
|
||||
data[j][0][i] = new HDSPMixerStripData();
|
||||
data[j][1][i] = new HDSPMixerStripData();
|
||||
data[j][2][i] = new HDSPMixerStripData();
|
||||
}
|
||||
}
|
||||
mutesolo = new HDSPMixerMuteSolo(x+3, y+3, 0, 0, channel_num, type);
|
||||
|
|
@ -59,7 +62,7 @@ void HDSPMixerIOMixer::draw_background()
|
|||
void HDSPMixerIOMixer::draw_background(int xpos, int ypos, int w, int h)
|
||||
{
|
||||
fl_push_clip(xpos, ypos, w, h);
|
||||
fl_draw_pixmap(iomixer_xpm, x(), y());
|
||||
fl_draw_pixmap(p_iomixer_xpm, x(), y());
|
||||
fl_pop_clip();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue