brush.h

来自「通用网络游戏开发框架」· C头文件 代码 · 共 26 行

H
26
字号
// This file needs -*- c++ -*- mode
// ============================================================================
// Brush interface
//
// (c) 2003 Ken Reed
//
// This is free software. You can redistribute it and/or modify it under the
// terms of the GNU General Public License version 2 as published by the Free
// Software Foundation.
// ============================================================================

#pragma once

class Brush {
private:
   HBRUSH brush;
   HBRUSH old_brush;
   HDC    shdc;

public:
   Brush(HDC hdc, COLORREF colour);
   ~Brush();

   operator HBRUSH() const;
};

⌨️ 快捷键说明

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