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

📄 shape.h

📁 著名的LUA脚本语言的Symbian S60平台的移植版本
💻 H
字号:
#ifndef SHAPE_H
#define SHAPE_H

#define FALSE 0
#define TRUE 1

#include <stdio.h>

class Shape
{
public:
	Shape() {printf ("Shape constructor called ");};
	void draw (void) {printf ("draw called ");};
	void draw (double red, double green, double blue) {printf ("draw 2 called");};
	int isSelected (void) {return TRUE;};
};


class Line : public Shape
{
public:
	Line (double x1, double y1, double x2, double y2) {printf ("line constor called");};
	~Line (void) {};
};

#endif

⌨️ 快捷键说明

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