docking.h

来自「mp3 频谱分析源码, mp3播放器开发必备源码,」· C头文件 代码 · 共 28 行

H
28
字号
// Header file for docking code. This file & its cpp file contain
// a couple of functions to make docking with winamp really easy.

#if !defined(__Docking_H_)
#define __Docking_H_

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif

#include <windows.h>

// Winamp Window Class Names
#define WINAMP_MAIN "Winamp v1.x"
#define WINAMP_EQ   "Winamp EQ"
#define WINAMP_PE   "Winamp PE"
#define WINAMP_MB   "Winamp MB"

// docks hwnd with winamp only
void winamp_dock(HWND hwnd, int* x, int* y, int sd);
// docks hwnd with a list of rectangles
void rect_list_dock(HWND hwnd, int* x, int* y, int sd, LPRECT ar_rect, int rects);
// dock thing
bool is_docked_winamp(HWND hwnd, int x, int y);
// 
bool is_docked_list(HWND hwnd, int x, int y, LPRECT ar_rect, int nrects);

#endif

⌨️ 快捷键说明

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