mgsize.h
来自「monqueror一个很具有参考价值的源玛」· C头文件 代码 · 共 29 行
H
29 行
#ifndef _MGSIZE_H_#define _MGSIZE_H_class MGSize{public: MGSize(); ~MGSize(); MGSize( int w, int h ); MGSize( const MGSize& s ); MGSize& operator=( const MGSize& s ); bool operator==( const MGSize& s ) const; bool operator!=( const MGSize& s ) const; int width() const; int height() const; void setWidth( int w ); void setHeight( int h );protected: int wd; int ht;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?