#ifndef __DIALOGUE__ #define __DIALOGUE__ /** * ダイアログ・ウィンドウ * * @property bool showing */ #module \ Dialogue #const DIALOGUE_WIDTH 840 #const DIALOGUE_HEIGHT 600 #const DIALOGUE_TOP 360 #const DIALOGUE_BOTTOM (DIALOGUE_TOP + DIALOGUE_HEIGHT) #const DIALOGUE_LEFT ((DISPLAY_WIDTH - DIALOGUE_WIDTH) / 2) #const DIALOGUE_RIGHT ((DISPLAY_WIDTH + DIALOGUE_WIDTH) / 2) /** * ダイアログを表示する. * * @return void */ #deffunc local \ Show showing = True Return /** * ダイアログを隠す. * * @return void */ #deffunc local \ Hide showing = False Return /** * ダイアログを描画する. * * @return void */ #deffunc local \ Draw If showing = False { Return } Pos DIALOGUE_LEFT, DIALOGUE_TOP CelPut bufferId Return #global #endif ; not __DIALOGUE__