{
vg_console_reg_var( "skip_starter_menu", &menu.skip_starter,
k_var_dtype_i32, VG_VAR_PERSISTENT );
+ vg_tex2d_load_qoi_async_file( "textures/prem.qoi",
+ VG_TEX2D_CLAMP|VG_TEX2D_NOMIP|VG_TEX2D_NEAREST,
+ &menu.prem_tex );
}
void menu_open( enum menu_page page )
else if( menu.page == k_menu_page_premium )
{
i32 R = menu_nav( &menu.prem_row, mh, 1 );
- ui_rect panel = { 0,0, 600, 400 },
+ ui_rect panel = { 0,0, 600, 400+240 },
screen = { 0,0, vg.window_x,vg.window_y };
ui_rect_center( screen, panel );
ui_fill( panel, ui_opacity( GUI_COL_DARK, 0.35f ) );
ui_split( panel, k_ui_axis_h, 28, 0, title, panel );
ui_font_face( &vgf_default_large );
+ ui_rect img;
+ ui_split( panel, k_ui_axis_h, 456, 0, img, panel );
+ ui_image( img, menu.prem_tex );
+
ui_rect end = { panel[0], panel[1] + panel[3] - 48, panel[2], 48 }, a,b;
ui_split_ratio( end, k_ui_axis_v, 0.5f, 2, a, b );