layout.h

来自「乒乓球游戏程序」· C头文件 代码 · 共 23 行

H
23
字号
/*----------------------------------------------------------------
 * layout.h -- declarations of layout variables
 *----------------------------------------------------------------
 *  These variables define the screen layout.  The colour 
 *  variables found their way in here too, for want of a better
 *  place to put them.
 */

#ifndef gf_included_layout_h
#define gf_included_layout_h


extern const int screen_width, screen_height;
extern const int arena_width, arena_height, arena_x, arena_y;
extern const int status_width, status_height, status_x, status_y;

extern const int bat_height, bat_length;

extern const int bat_colour, ball_colour;


#endif

⌨️ 快捷键说明

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