overlap.h

来自「MONA是为数不多的C++语言编写的一个很小的操作系统」· C头文件 代码 · 共 25 行

H
25
字号
// This software is in the public domain.
// There are no restrictions on any sort of usage of this software.

#ifndef __GUISERVER_OVERLAP_H__
#define __GUISERVER_OVERLAP_H__

#include <sys/types.h>
#include <gui/messages.h>

class Overlap
{
private:
	int x, y, width, height;

public:
	Overlap(int x, int y, int width, int height);
	~Overlap();
	
	void Move(int x, int y, int width, int height);
	void Draw();
	void Draw(int sx, int sy, int sw, int sh);
};

#endif  // __GUISERVER_OVERLAP_H__

⌨️ 快捷键说明

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