📄 mgsize.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -