|
|
@ -27,9 +27,9 @@ pub fn main() !void { |
|
|
|
var station_id_buffer: [10]u8 = .{0} ** 10; |
|
|
|
var station_id_buffer: [10]u8 = .{0} ** 10; |
|
|
|
var appState = AppState{ |
|
|
|
var appState = AppState{ |
|
|
|
.allocator = allocator, |
|
|
|
.allocator = allocator, |
|
|
|
.font = rl.LoadFontFromMemory(".ttf", noto, noto.len, 64, cp, cp_cnt), |
|
|
|
.font = rl.LoadFontFromMemory(".ttf", noto, noto.len, 100, cp, cp_cnt), |
|
|
|
.db_font = raylib.LoadFontEx("./private/db.ttf", 64, cp, cp_cnt), |
|
|
|
.db_font = raylib.LoadFontEx("./private/db.ttf", 100, cp, cp_cnt), |
|
|
|
.ns_font = raylib.LoadFontEx("./private/ns.ttf", 64, cp, cp_cnt), |
|
|
|
.ns_font = raylib.LoadFontEx("./private/ns.ttf", 100, cp, cp_cnt), |
|
|
|
.home_screen_state = .{ |
|
|
|
.home_screen_state = .{ |
|
|
|
.station_name = std.ArrayListUnmanaged(u8).initBuffer(&station_name_buffer), |
|
|
|
.station_name = std.ArrayListUnmanaged(u8).initBuffer(&station_name_buffer), |
|
|
|
.station_name_max_len = station_name_buffer.len - 1, |
|
|
|
.station_name_max_len = station_name_buffer.len - 1, |
|
|
|