Team Ai
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes847downloads
ScrnCodes.txt29 linesDownload Raw Back to Demo
1 2/*See TextBase Layer for the format3of the U32 you pass to TextChar()4 5See ::/Doc/CharOverview.DD, ::/Demo/ExtChars.HC,6and ::/Demo/Graphics/FontEd.HC.7 8Hold <ALT> and press a 3 digit decimal number9or press <CTRL-ALT-a> to enter extended characters.10*/11 12U0 DrawIt(CTask *task,CDC *)13{14  I64 i;15  for (i=0;i<256;i++)16    TextChar(task,,(i&15)*2,(i/16)*2,i+BLACK<<12+WHITE<<8);17}18 19U0 ScrnCodes()20{21  SettingsPush; //See SettingsPush22  DocClear;23  Fs->draw_it=&DrawIt;24  GetChar(,FALSE);25  SettingsPop;26}27 28ScrnCodes;29