一時的にフォントサイズを4〜32ポイントの間で拡大・縮小するマクロ
[ファイル|再読み込み]を行うともとに戻る。
ZoomIn = %^[ ZoomOut = %^]
ZoomIn?
main { setundisp; if(text->lfHeight < 32) text->lfHeight += 2; txFlush(text); statusbarprintf("フォントサイズ:%d", text->lfHeight); setdisp; }
ZoomOut?
main { setundisp; if(text->lfHeight > 4) text->lfHeight -= 2; txFlush(text); statusbarprintf("フォントサイズ:%d", text->lfHeight); setdisp; }
この記事は役に立ちましたか?