⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winamp.h

📁 我对他如何控制准星、显示敌友很好奇
💻 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 + -