minor adjustments
This commit is contained in:
parent
878c419a1f
commit
f18da9af05
@ -8,7 +8,7 @@ package vefontcache
|
||||
import "base:runtime"
|
||||
|
||||
// White: Cached Hit, Red: Cache Miss, Yellow: Oversized
|
||||
ENABLE_DRAW_TYPE_VIS :: true
|
||||
ENABLE_DRAW_TYPE_VIS :: false
|
||||
// See: mappings.odin for profiling hookup
|
||||
DISABLE_PROFILING :: true
|
||||
|
||||
|
@ -274,8 +274,8 @@ startup :: proc( prof : ^SpallProfiler, persistent_mem, frame_mem, transient_mem
|
||||
// path_firacode := strings.concatenate( { Path_Assets, "FiraCode-Regular.ttf" } )
|
||||
// font_firacode = font_load( path_firacode, 16.0, "FiraCode" )
|
||||
|
||||
// path_fira_cousine := strings.concatenate( { Path_Assets, "FiraCousine-Regular.ttf" } )
|
||||
// font_fira_cousine = font_load( path_fira_cousine, 16.0, "Fira Cousine" )
|
||||
path_fira_cousine := strings.concatenate( { Path_Assets, "FiraCousine-Regular.ttf" } )
|
||||
font_fira_cousine = font_load( path_fira_cousine, 16.0, "Fira Cousine" )
|
||||
|
||||
// path_open_sans := strings.concatenate( { Path_Assets, "OpenSans-Regular.ttf" } )
|
||||
// font_open_sans = font_load( path_open_sans, 16.0, "OpenSans" )
|
||||
@ -301,7 +301,7 @@ startup :: proc( prof : ^SpallProfiler, persistent_mem, frame_mem, transient_mem
|
||||
// path_arial_unicode_ms := strings.concatenate( { Path_Assets, "Arial Unicode MS.ttf" } )
|
||||
// font_arial_unicode_ms = font_load( path_arial_unicode_ms, 16.0, "Arial_Unicode_MS" )
|
||||
|
||||
default_font = font_rec_mono_semicasual_reg
|
||||
default_font = font_fira_cousine
|
||||
log( "Default font loaded" )
|
||||
}
|
||||
|
||||
@ -532,8 +532,8 @@ tick_work_frame :: #force_inline proc( host_delta_time_ms : f64 ) -> b32
|
||||
// config.engine_refresh_hz = 165
|
||||
|
||||
// config.color_theme = App_Thm_Light
|
||||
// config.color_theme = App_Thm_Dusk
|
||||
config.color_theme = App_Thm_Dark
|
||||
config.color_theme = App_Thm_Dusk
|
||||
// config.color_theme = App_Thm_Dark
|
||||
|
||||
sokol_width := sokol_app.widthf()
|
||||
sokol_height := sokol_app.heightf()
|
||||
|
@ -203,7 +203,7 @@ render_mode_screenspace :: proc( screen_extent : Extents2, screen_ui : ^UI_State
|
||||
debug_text( "Replaying Input")
|
||||
}
|
||||
|
||||
if true
|
||||
if false
|
||||
{
|
||||
using input_events
|
||||
|
||||
|
@ -151,7 +151,7 @@ update :: proc( delta_time : f64 ) -> b32
|
||||
// TODO(Ed): This should be per workspace view
|
||||
{
|
||||
Digial_Zoom_Snap_Levels := []f32{
|
||||
0.0255, // 0.4px (not practical for text, but allows extreme zoom out)
|
||||
0.0258, // 0.4px (not practical for text, but allows extreme zoom out)
|
||||
0.03125, // 0.5px
|
||||
0.0375, // 0.6px
|
||||
0.04375, // 0.7px
|
||||
|
Loading…
Reference in New Issue
Block a user