boomanalyzer.h

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C头文件 代码 · 共 53 行

H
53
字号
// Author: Max Howell <max.howell@methylblue.com>, (C) 2004// Copyright: See COPYING file that comes with this distribution//#ifndef BOOMANALYZER_H#define BOOMANALYZER_H#include "analyzerbase.h"/**@author Max Howell*/class BoomAnalyzer : public Analyzer::Base2D{Q_OBJECTpublic:    BoomAnalyzer( QWidget* );    virtual void init();    virtual void transform( Scope &s );    virtual void analyze( const Scope& );public slots:    void changeK_barHeight( int );    void changeF_peakSpeed( int );protected:    static const uint COLUMN_WIDTH = 4;    static const uint BAND_COUNT = 32;    double K_barHeight, F_peakSpeed, F;    std::vector<float> bar_height;    std::vector<float> peak_height;    std::vector<float> peak_speed;    QPixmap barPixmap;};namespace Amarok{    namespace ColorScheme    {        extern QColor Base;        extern QColor Text;        extern QColor Background;        extern QColor Foreground;    }}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?