| 1 | /* Copyright 2012 Kjetil S. Matheussen |
| 2 | |
| 3 | This program is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU General Public License |
| 5 | as published by the Free Software Foundation; either version 2 |
| 6 | of the License, or (at your option) any later version. |
| 7 | |
| 8 | This program is distributed in the hope that it will be useful, |
| 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | GNU General Public License for more details. |
| 12 | |
| 13 | You should have received a copy of the GNU General Public License |
| 14 | along with this program; if not, write to the Free Software |
| 15 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
| 16 | |
| 17 | |
| 18 | |
| 19 | #include <QGraphicsItem> |
| 20 | |
| 21 | struct SliderPaintercxx . . $ SliderPainter#; |
| 22 | |
| 23 | SliderPaintercxx . . $ SliderPainter# *SLIDERPAINTER_createcxx . . $ SLIDERPAINTER_create(aa4da35da68ce0c2).(QSlidercxx . . $ QSlider# *qslider); |
| 24 | SliderPaintercxx . . $ SliderPainter# *SLIDERPAINTER_createcxx . . $ SLIDERPAINTER_create(64e33e97865781a9).(QGraphicsItemcxx . . $ QGraphicsItem# *graphics_item, int x1, int y1, int x2, int y2); |
| 25 | void SLIDERPAINTER_deletecxx . . $ SLIDERPAINTER_delete(8b7a4a0b4199d9a1).(SliderPaintercxx . . $ SliderPainter# *painter); |
| 26 | void SLIDERPAINTER_paintcxx . . $ SLIDERPAINTER_paint(cc527f67641552e1).(SliderPaintercxx . . $ SliderPainter# *painter, QPaintercxx . . $ QPainter# *p); |
| 27 | |
| 28 | void SLIDERPAINTER_set_num_channelscxx . . $ SLIDERPAINTER_set_num_channels(505cf284400e684c).(SliderPaintercxx . . $ SliderPainter# *painter, int num_channels); |
| 29 | |
| 30 | void SLIDERPAINTER_setValuecxx . . $ SLIDERPAINTER_setValue(505cf284400e684c).(SliderPaintercxx . . $ SliderPainter# *painter, int value); // only works with graphics item. |
| 31 | |
| 32 | float *SLIDERPAINTER_obtain_peak_value_pointerscxx . . $ SLIDERPAINTER_obtain_peak_value_pointers(518bd43f8666251c).(SliderPaintercxx . . $ SliderPainter# *painter, int num_channels); |
| 33 | void SLIDERPAINTER_set_peak_value_pointerscxx . . $ SLIDERPAINTER_set_peak_value_pointers(c94e3ca28f34c07e).(SliderPaintercxx . . $ SliderPainter# *painter, int num_channels, float *pointers); |
| 34 | float *SLIDERPAINTER_obtain_automation_value_pointercxx . . $ SLIDERPAINTER_obtain_automation_value_pointer(aad2bf8cd6d872e9).(SliderPaintercxx . . $ SliderPainter# *painter); |
| 35 | int *SLIDERPAINTER_obtain_automation_color_pointercxx . . $ SLIDERPAINTER_obtain_automation_color_pointer(e3411dab2b8a1c7).(SliderPaintercxx . . $ SliderPainter# *painter); |
| 36 | void SLIDERPAINTER_release_automation_pointerscxx . . $ SLIDERPAINTER_release_automation_pointers(8b7a4a0b4199d9a1).(SliderPaintercxx . . $ SliderPainter# *painter); |
| 37 | |
| 38 | void SLIDERPAINTER_set_alternative_colorcxx . . $ SLIDERPAINTER_set_alternative_color(8b7a4a0b4199d9a1).(SliderPaintercxx . . $ SliderPainter# *painter); |
| 39 | void SLIDERPAINTER_set_stringcxx . . $ SLIDERPAINTER_set_string(f94ce0ad34af9600).(SliderPaintercxx . . $ SliderPainter# *painter,QStringcxx . . $ QString# string); |
| 40 | QStringcxx . . $ QString# SLIDERPAINTER_get_stringcxx . . $ SLIDERPAINTER_get_string(c5f73693511090ef).(SliderPaintercxx . . $ SliderPainter# *painter); |