summaryrefslogtreecommitdiff
path: root/noncore/multimedia/powerchord/fretboard.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/powerchord/fretboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/fretboard.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/noncore/multimedia/powerchord/fretboard.cpp b/noncore/multimedia/powerchord/fretboard.cpp
index bf78e4c..2e48f26 100644
--- a/noncore/multimedia/powerchord/fretboard.cpp
+++ b/noncore/multimedia/powerchord/fretboard.cpp
@@ -16,18 +16,16 @@
16// GNU General Public License for more details. 16// GNU General Public License for more details.
17// 17//
18// You should have received a copy of the GNU General Public License 18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software 19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 21
22//#include <FL/Fl.H>
23//#include <FL/Fl_Widget.H>
24//#include <FL/fl_draw.H>
25#include <stdio.h>
26#include <qpe/resource.h>
27#include "fretboard.h" 22#include "fretboard.h"
23
24#include <opie2/oresource.h>
25
28#include <qpainter.h> 26#include <qpainter.h>
29 27
30void FretBoard::refresh(){ 28void FretBoard::refresh(){
31 ce.calculate(); 29 ce.calculate();
32 30
33 emit nameChanged(QString(ce.label())); 31 emit nameChanged(QString(ce.label()));
@@ -71,16 +69,16 @@ FretBoard::FretBoard(QWidget *parent, const char *name )
71 ce.vary(7); 69 ce.vary(7);
72 ce.tune(0); 70 ce.tune(0);
73 refresh(); 71 refresh();
74 72
75 // setPalette( QPalette( QColor( 250, 250, 200) ) ); 73 // setPalette( QPalette( QColor( 250, 250, 200) ) );
76 74
77 stringtop_pix = Resource::loadPixmap( "powerchord/stringtop_s"); 75 stringtop_pix = Opie::Core::OResource::loadPixmap( "powerchord/stringtop_s");
78 string_pix = Resource::loadPixmap( "powerchord/string_s"); 76 string_pix = Opie::Core::OResource::loadPixmap( "powerchord/string_s");
79 finger_pix = Resource::loadPixmap( "powerchord/justfing_s"); 77 finger_pix = Opie::Core::OResource::loadPixmap( "powerchord/justfing_s");
80 mute_pix = Resource::loadPixmap( "powerchord/muted_s"); 78 mute_pix = Opie::Core::OResource::loadPixmap( "powerchord/muted_s");
81 79
82 // box(FL_NO_BOX); 80 // box(FL_NO_BOX);
83 81
84 // finger[0] = OPEN; 82 // finger[0] = OPEN;
85 // finger[1] = OPEN; 83 // finger[1] = OPEN;
86 // finger[2] = OPEN; 84 // finger[2] = OPEN;