Preparing to attempt to offload various metric calculations for a shape's glyphs to the shape itself from the draw list generator
This commit is contained in:
@ -550,7 +550,7 @@ ui_settings_menu_builder :: proc( captures : rawptr = nil ) -> ( should_raise :
|
||||
else
|
||||
{
|
||||
clear( input_str )
|
||||
append( & input_str, to_runes(str_fmt("%v", config.text_size_canvas_scalar)))
|
||||
append( & input_str, to_runes(str_fmt("%v", config.text_snap_glyph_positions)))
|
||||
}
|
||||
}
|
||||
|
||||
@ -608,7 +608,7 @@ ui_settings_menu_builder :: proc( captures : rawptr = nil ) -> ( should_raise :
|
||||
else
|
||||
{
|
||||
clear( input_str )
|
||||
append( & input_str, to_runes(str_fmt("%v", config.text_size_canvas_scalar)))
|
||||
append( & input_str, to_runes(str_fmt("%v", config.text_alpha_sharpen)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -153,8 +153,8 @@ startup :: proc( prof : ^SpallProfiler, persistent_mem, frame_mem, transient_mem
|
||||
color_theme = App_Thm_Dusk
|
||||
|
||||
text_snap_glyph_positions = true
|
||||
text_size_screen_scalar = 1.0
|
||||
text_size_canvas_scalar = 1.0
|
||||
text_size_screen_scalar = 2.0
|
||||
text_size_canvas_scalar = 2.0
|
||||
text_alpha_sharpen = 0.25
|
||||
}
|
||||
|
||||
@ -526,7 +526,7 @@ tick_work_frame :: #force_inline proc( host_delta_time_ms : f64 ) -> b32
|
||||
config := & get_state().config
|
||||
debug := & get_state().debug
|
||||
|
||||
debug.draw_ui_box_bounds_points = true
|
||||
debug.draw_ui_box_bounds_points = false
|
||||
debug.draw_ui_padding_bounds = false
|
||||
debug.draw_ui_content_bounds = false
|
||||
|
||||
|
Reference in New Issue
Block a user