?? winamp.h
字號:
#pragma once
#include <string>
using namespace std;
#include "timehandling.h"
//================================================================================
class Winamp
{
public:
void frame();
void command(const string& subcommand, const string& arg1="", const string& arg2="", const string& arg3="");
string title;
protected:
HWND hwnd;
// volume stuff
float crossfade; // 0..1
void searchWindow();
void updateTitle();
void fadein();
void fadeout();
void setfracvol();
void play ();
void pause();
bool paused;
bool playing;
EventCounter<0.1> fadeEventCounter; // fade one tick up/down every 0.1 seconds
EventCounter<10> searchForWindowEventCounter; // search for winamp window every 10 seconds
EventCounter<2> titleUpdateEventCounter; // update title every 2 seconds
public:
Winamp();
};
extern Winamp winamp;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -