Skip to content
Snippets Groups Projects
Commit f17ec7b2 authored by rswindell's avatar rswindell
Browse files

Screen mode is not set here rather than in client code (SCFG).

parent 8d98cb08
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,35 @@ int uifcini(uifcapi_t* uifcapi)
api->input=uinput;
api->sethelp=sethelp;
if(api->scrn_len!=0) {
switch(api->scrn_len) {
case 14:
textmode(C80X14);
break;
case 21:
textmode(C80X21);
break;
case 25:
textmode(C80);
break;
case 28:
textmode(C80X28);
break;
case 43:
textmode(C80X43);
break;
case 50:
textmode(C80X50);
break;
case 60:
textmode(C80X60);
break;
default:
textmode(C4350);
break;
}
}
clrscr();
gettextinfo(&txtinfo);
/* unsupported mode? */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment