wonx/WWScreenP.h
Hiroaki Sakai 96b108c909 In UNIXTimer.c, callback function is called every time the callback function is called
Fix to reconfigure.
(Add signal () in UNIXTimer_ON ())
(In IRIX, coping with the fact that the callback function is cleared for each call)

Since ualarm () is BSD dependent, it is modified to use alarm ().

Unit Timer class interval time setting unit changed from microseconds to milliseconds.

Supports serial communication.  (See WonxSerialPort, WWSerialPort, comm.c)

With printf () in key.c, when the function name was not displayed when displaying the return value
Fix.

Version 0.4 beta - from wonx-b04.tar.gz
2018-03-07 23:06:28 +00:00

54 lines
1.9 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _WWScreenP_h_INCLUDED_
#define _WWScreenP_h_INCLUDED_
/*****************************************************************************/
/* ここから */
/*****************************************************************************/
#include "WWScreen.h"
/*****************************************************************************/
/* クラスの定義 */
/*****************************************************************************/
/* スクリーンのマス目ごとに決まる,表示情報 */
typedef struct _WWScreenCharacter {
int horizontal; /* 横方向反転フラグ */
int vertical; /* 縦方向反転フラグ */
WWPalette palette; /* パレット番号015 のパレット番号 */
WWCharacter character; /* 表示キャラクタ */
} _WWScreenCharacter;
typedef struct _WWScreenCharacter * WWScreenCharacter;
typedef struct _WWScreen {
int number;
int width;
int height;
int roll_x;
int roll_y;
WWScreenCharacter * screen_characters;
int enable; /* 表示/非表示のフラグ */
int mode; /* 表示モード */
/* WW_SCREEN_DRAW_ALL, WW_SCREEN_INSIDE_ONLY, WW_SCREEN_OUTSIDE_ONLY の */
/* いずれかの値を取る */
/* 表示領域(スクリーン2のウインドウ機能用.スクリーン1では未使用) */
int draw_x, draw_y;
int draw_width, draw_height;
} _WWScreen;
/*****************************************************************************/
/* ここまで */
/*****************************************************************************/
#endif
/*****************************************************************************/
/* End of File. */
/*****************************************************************************/