aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/projectm/projectmwidget.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-02-28 20:16:19 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-02-28 20:16:19 +0000
commit4df23e9b87f7124b59778aa02ab776e842989e0e (patch)
tree843f342dd0d203d0f3ac2a59ab26e1894ea8144d /src/plugins/Visual/projectm/projectmwidget.h
parent73dc5b282e3fdd858910fb87de689237a58ea6a6 (diff)
downloadqmmp-4df23e9b87f7124b59778aa02ab776e842989e0e.tar.gz
qmmp-4df23e9b87f7124b59778aa02ab776e842989e0e.tar.bz2
qmmp-4df23e9b87f7124b59778aa02ab776e842989e0e.zip
enapled projectM plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@812 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/projectm/projectmwidget.h')
-rw-r--r--src/plugins/Visual/projectm/projectmwidget.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/plugins/Visual/projectm/projectmwidget.h b/src/plugins/Visual/projectm/projectmwidget.h
index 55809e80f..2cf6c9302 100644
--- a/src/plugins/Visual/projectm/projectmwidget.h
+++ b/src/plugins/Visual/projectm/projectmwidget.h
@@ -20,11 +20,11 @@
#ifndef PROJECTMWIDGET_H
#define PROJECTMWIDGET_H
-
-#include "qprojectm.h"
#include <QGLWidget>
-class QProjectM;
+
+class QMenu;
+class projectM;
/**
@@ -38,15 +38,30 @@ public:
~ProjectMWidget();
- QProjectM *projectM();
+ projectM *projectMInstance();
protected:
virtual void initializeGL();
virtual void resizeGL(int width, int height);
virtual void paintGL();
+ virtual void mousePressEvent (QMouseEvent *event);
+
+private slots:
+ void showHelp();
+ void showPresetName();
+ void showTitle();
+ void nextPreset();
+ void previousPreset();
+ void randomPreset();
+ void lockPreset();
+ void fullScreen();
+ void updateTitle();
private:
- QProjectM *m_projectM;
+ projectM *m_projectM;
+ QMenu *m_menu;
+ void createActions();
+
};