Commit 8c8fce6f authored by Kaarlo Raiha's avatar Kaarlo Raiha Committed by Jean-Baptiste Kempf

Add ranges to font sizes

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c9d6d6da
......@@ -189,6 +189,7 @@ vlc_module_begin ()
add_integer( "freetype-fontsize", 0, FONTSIZE_TEXT,
FONTSIZE_LONGTEXT, true )
change_integer_range( 0, 4096)
change_safe()
add_integer( "freetype-rel-fontsize", 16, FONTSIZER_TEXT,
......
......@@ -169,6 +169,7 @@ vlc_module_begin ()
change_integer_list( pi_color_values, ppsz_color_descriptions )
add_integer( CFG_PREFIX "size", -1, SIZE_TEXT, SIZE_LONGTEXT,
false )
change_integer_range( -1, 4096)
set_section( N_("Misc"), NULL )
add_integer( CFG_PREFIX "timeout", 0, TIMEOUT_TEXT, TIMEOUT_LONGTEXT,
......
......@@ -211,6 +211,7 @@ vlc_module_begin ()
false )
change_integer_list( pi_color_values, ppsz_color_descriptions )
add_integer( CFG_PREFIX "size", -1, SIZE_TEXT, SIZE_LONGTEXT, false )
change_integer_range( -1, 4096)
set_section( N_("Misc"), NULL )
add_integer( CFG_PREFIX "speed", 100000, SPEED_TEXT, SPEED_LONGTEXT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment