--- nono/wx/fontmanager.h 2026/04/29 17:05:08 1.1 +++ nono/wx/fontmanager.h 2026/04/29 17:05:31 1.1.1.3 @@ -20,10 +20,12 @@ enum FontId { None = -1, _6x12 = 0, _8x16, + _12x24, Max, }; #define FONT_6x12 wxSize(6, 12) #define FONT_8x16 wxSize(8, 16) +#define FONT_12x24 wxSize(12, 24) // フォント管理 class FontManager @@ -47,10 +49,10 @@ class FontManager void SetGlyph7E(bool value) { glyph_7e = value; } // ASCII のグリフを返す - const uint8 *AsciiGlyph(uint8, uint attr) const; + const uint8 *AsciiGlyph(uint8) const; // 漢字のグリフを返す - std::vector KanjiGlyph(uint16, uint attr) const; + const uint8 *KanjiGlyph(uint16) const; int GetFontWidth() const { return font_width; } int GetFontHeight() const { return font_height; } @@ -68,7 +70,6 @@ class FontManager // グリフデータ std::vector ascii_glyph {}; - std::vector bold_glyph {}; // 可変のグリフ bool glyph_5c {};