# File ext/widgets.rb, line 361 def draw if not @initialized @x2 = @x1 + @theme.font.default.text_width(@text) @y2 = @y1 + @theme.font.default.height @initialized = true end @theme.font.default.draw(@text, @x1, @y1, ZOrder::Text, 1, 1, @theme.font.color) end