mirror of https://github.com/minexew/Shrine.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
592 B
28 lines
592 B
8 years ago
|
/*See $LK,"TextBase Layer",A="HI:TextBase Layer"$ for the format
|
||
|
of the U32 you pass to TextChar()
|
||
10 years ago
|
|
||
6 years ago
|
See $LK,"::/Doc/CharOverview.DD"$, $LK,"::/Demo/ExtChars.HC"$,
|
||
|
and $LK,"::/Demo/Graphics/FontEd.HC"$.
|
||
8 years ago
|
|
||
|
Hold <ALT> and press a 3 digit decimal number
|
||
|
or press <CTRL-ALT-a> to enter extended characters.
|
||
|
*/
|
||
10 years ago
|
|
||
|
U0 DrawIt(CTask *task,CDC *)
|
||
|
{
|
||
|
I64 i;
|
||
|
for (i=0;i<256;i++)
|
||
8 years ago
|
TextChar(task,,(i&15)*2,(i/16)*2,i+BLACK<<12+WHITE<<8);
|
||
10 years ago
|
}
|
||
|
|
||
6 years ago
|
U0 ScrnCodes()
|
||
10 years ago
|
{
|
||
9 years ago
|
SettingsPush; //See $LK,"SettingsPush",A="MN:SettingsPush"$
|
||
10 years ago
|
DocClear;
|
||
|
Fs->draw_it=&DrawIt;
|
||
9 years ago
|
GetChar(,FALSE);
|
||
10 years ago
|
SettingsPop;
|
||
|
}
|
||
|
|
||
6 years ago
|
ScrnCodes;
|