Unfortunately, I don't have the menus remade yet.
Anyway, here's how the screen is initialized:
<code>
init_screen_button(&net_INITIATE_button, 218u, 185u, gui_strings[385], 6, med2_font, 1, 0);
init_screen_button(&net_groups_LOGON_button, 218u, 206u, gui_strings[386], 6, med2_font, 1, 0);
init_screen_button(&unkn8_EJECT_button, 308u, 206u, gui_strings[403], 6, med2_font, 1, 0);
init_screen_button(&net_SET2_button, 562u, 251u, gui_strings[440], 6, med2_font, 1, 0);
init_screen_button(&net_SET_button, 562u, 284u, gui_strings[440], 6, med2_font, 1, 0);
init_screen_button(&net_protocol_select_button, 37u, 256u, gui_strings[498], 6, med2_font, 1, 0);
init_screen_button(&net_unkn40_button, 37u, 256u, &net_unkn40_text, 6, med2_font, 1, 0);
net_groups_LOGON_button.Width = 85;
net_INITIATE_button.Width = 85;
net_unkn40_button.Width = 21;
net_protocol_select_button.Width = 157;
init_screen_box(&net_unkn27, 213u, 72u, 171u, 155, 6);
init_screen_box(&net_unkn26, 393u, 72u, 240u, 155, 6);
init_screen_box(&net_unkn25, 213u, 236u, 73u, 67, 6);
init_screen_box(&net_unkn24, 295u, 236u, 72u, 67, 6);
init_screen_box(&net_unkn23, 376u, 236u, 257u, 67, 6);
init_screen_box(&net_unkn22, 295u, 312u, 336u, 104, 6);
init_screen_box(&net_unkn21, 7u, 312u, 279u, 104, 6);
init_screen_box(&net_unkn19_box, 7u, 252u, 197u, 51, 6);
init_screen_button(&net_protocol_option_button, 7u, 275u, unkn_opt_number_text, 6, med2_font, 1, 0);
net_protocol_option_button.Width = net_protocol_select_button.Width;
net_protocol_select_button.X = ((net_unkn19_box.Width - net_protocol_select_button.Width) >> 1) + 7;
net_protocol_option_button.X = ((net_unkn19_box.Width - net_protocol_select_button.Width) >> 1) + 7;
net_unkn40_button.X = net_protocol_select_button.Width
+ ((net_unkn19_box.Width - net_protocol_select_button.Width) >> 1)
+ 7
+ 4;
net_protocol_option_button.CallBackFn = do_net_protocol_option;
</code>
EDIT:
Amd I have no idea how to post preformatted code in this thing.
Use common standards, GOG!
Post edited June 06, 2023 by mefistotelis