00001 #ifndef MYTHGOOM 00002 #define MYTHGOOM 00003 00004 #include "../mainvisual.h" 00005 #include "../config.h" 00006 00007 using namespace std; 00008 00009 class Goom : public VisualBase 00010 { 00011 public: 00012 Goom(void); 00013 virtual ~Goom(); 00014 00015 void resize(const QSize &size); 00016 bool process(VisualNode *node); 00017 bool draw(QPainter *p, const QColor &back); 00018 void handleKeyPress(const QString &action) {(void) action;} 00019 00020 private: 00021 QSize m_size; 00022 00023 unsigned int *m_buffer; 00024 int m_scalew, m_scaleh; 00025 }; 00026 00027 #endif //MYTHGOOM