2024-01-21 20:38:02 -08:00
|
|
|
package sectr
|
|
|
|
|
|
|
|
State :: struct {
|
|
|
|
project : Project,
|
|
|
|
|
|
|
|
screen_width : i32,
|
|
|
|
screen_height : i32,
|
|
|
|
|
|
|
|
monitor_id : i32,
|
|
|
|
monitor_refresh_hz : i32,
|
|
|
|
|
|
|
|
engine_refresh_hz : i32,
|
|
|
|
engine_refresh_target : i32,
|
|
|
|
|
2024-01-22 00:47:53 -08:00
|
|
|
font_rec_mono_semicasual_reg : Font,
|
|
|
|
default_font : Font,
|
|
|
|
|
2024-01-21 20:38:02 -08:00
|
|
|
draw_debug_text_y : f32
|
|
|
|
}
|
|
|
|
|
|
|
|
Project :: struct {
|
|
|
|
// TODO(Ed) : Support multiple workspaces
|
|
|
|
workspace : Workspace
|
|
|
|
}
|
|
|
|
|
|
|
|
Workspace :: struct {
|
|
|
|
|
|
|
|
}
|