--- nono/lib/textscreen.h 2026/04/29 17:04:37 1.1.1.4 +++ nono/lib/textscreen.h 2026/04/29 17:04:40 1.1.1.5 @@ -130,7 +130,7 @@ class TextScreen // ご自由にお使いください。例えばモニタの出力開始オフセットやアドレス // など、呼び出し側が設定して書き出す側がそれに従った内容を出力する // ような用途。 - uint64 userdata = 0; + uint64 userdata {}; protected: // バッファ (幅x高さちょうどの長さ、ゼロ終端文字列ではない) @@ -138,16 +138,16 @@ class TextScreen std::unique_ptr textbuf {}; // 幅 - int col = 0; + int col {}; // 高さ - int row = 0; + int row {}; // カーソル X 座標 - int X = 0; + int X {}; // カーソル Y 座標 - int Y = 0; + int Y {}; }; //