Slightly shrink font for descriptions
This commit is contained in:
parent
abd971e49c
commit
7c1974c6b0
3 changed files with 9 additions and 1 deletions
Binary file not shown.
|
|
@ -217,6 +217,14 @@ self.windowskin = Cache.system("Window") #紅茶走
|
|||
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
|
||||
process_character(text.slice!(0, 1), text, pos) until text.empty?
|
||||
end
|
||||
|
||||
def draw_text_ex_help(x, y, text)
|
||||
reset_font_settings
|
||||
contents.font.size = 20
|
||||
text = convert_escape_characters(text)
|
||||
pos = {:x => x, :y => y, :new_x => x, :height => calc_line_height(text)}
|
||||
process_character(text.slice!(0, 1), text, pos) until text.empty?
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# ● フォント設定のリセット
|
||||
#--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -38,6 +38,6 @@ class Window_Help < Window_Base
|
|||
#--------------------------------------------------------------------------
|
||||
def refresh
|
||||
contents.clear
|
||||
draw_text_ex(4, 0, @text)
|
||||
draw_text_ex_help(4, 0, @text)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue