~ubuntu-branches/ubuntu/hardy/lmms/hardy

« back to all changes in this revision

Viewing changes to plugins/vibed/impulse_editor.h

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Doerffel
  • Date: 2007-09-17 15:00:24 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070917150024-mo0zk4ks81jawqii
Tags: 0.3.0-1ubuntu1
* Resynchronized with Debian (LP: #139759, LP: #90806, LP: #102639,
  LP: #113447, LP: #121172, LP: #124890)
* reverted changes from 0.2.1-1.1ubuntu1 as upstream merged/included them

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * impulse_editor.cpp - graphic waveform editor
3
3
 *
4
 
 * Copyright (c) 2006 Danny McRae <khjklujn/at/yahoo/com>
 
4
 * Copyright (c) 2006-2007 Danny McRae <khjklujn/at/yahoo/com>
5
5
 * 
6
6
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
7
7
 *
17
17
 *
18
18
 * You should have received a copy of the GNU General Public
19
19
 * License along with this program (see COPYING); if not, write to the
20
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
 
 * Boston, MA 02111-1307, USA.
 
20
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
21
 * Boston, MA 02110-1301 USA.
22
22
 *
23
23
 */
24
24
#ifndef _IMPULSE_EDITOR_H
44
44
#include "types.h"
45
45
#include "graph.h"
46
46
#include "pixmap_button.h"
47
 
#include "engine.h"
48
47
#include "led_checkbox.h"
49
48
 
50
 
class impulseEditor: public QWidget, public engineObject
 
49
class impulseEditor: public QWidget
51
50
{
52
51
        Q_OBJECT
53
52
public:
54
 
        impulseEditor( QWidget *parent, int _x, int _y, 
55
 
                                        engine * _engine, track * _track,
56
 
                                        Uint32 _len = 128 );
 
53
        impulseEditor( QWidget *parent, int _x, int _y, track * _track,
 
54
                                                        Uint32 _len = 128 );
57
55
        ~impulseEditor();
58
56
        
59
57
        inline float * getValues() { return( m_sampleShape ); };