Guest User

Untitled

a guest
Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. class UI::Badge
  2. ##
  3. # Path to font to be used for badge titles. Tahoma Bold works well.
  4. ##
  5. def self.title_font=(font)
  6. @title_font = font
  7. end
  8.  
  9. def self.title_font
  10. @title_font
  11. end
  12.  
  13. ##
  14. # Path to font to be used for badge subtitles. Best as a small, pixel font
  15. # such as Silkscreen.
  16. ##
  17. def self.subtitle_font=(font)
  18. @subtitle_font = font
  19. end
  20.  
  21. def self.subtitle_font
  22. @subtitle_font
  23. end
  24. end
Add Comment
Please, Sign In to add comment