class

Mayu::Theme

Inherits Reference < Object

Constants

ADULT_NAME_SUFFIX = "-h"
DIGIT_NAMES = (0..9).map(&.to_s)
GLYPH_NAMES = DIGIT_NAMES + ["_start", "_end"]

Constructors

new(name : String, glyph_images : Hash(String, GlyphImage))
Source

Class methods

directory_entries(path : String) : Array(String)
Source
load(themes_directory : String, name : String) : Theme | Nil
Source

Instance methods

adult?
Source
name
Source
render(number : Int64, padding : Int32) : String
Source