Skip to main content

Module fn_bar

Module fn_bar 

Source

Structs§

KeyCell 🔒
1 セル分のキー定義
ModState
現在押されている修飾キーの状態

Constants§

BAR_HEIGHT
バーの高さ(px)
CELLS 🔒

Functions§

action_text 🔒
各セルの案内テキストを Modifier 状態に応じて返す。 index 0 = ESC, 1..=12 = F1..F12
draw
バーを画面最下部に描画する。 screen 全幅を使い、y = screen.height - BAR_HEIGHT から下に帯を引く。