You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.1 KiB
Plaintext

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

{\rtf1\ansi\ansicpg1252\deff0\deflang3079{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fswiss\fprq2\fcharset0 System;}}
{\colortbl ;\red0\green0\blue255;\red0\green0\blue0;\red128\green0\blue0;\red128\green128\blue128;\red0\green128\blue0;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\cf1\lang1033\f0\fs20 void\cf2 \cf3 llgfx_DrawText\cf2 (\par
\cf1 llgfx_id\cf2 \cf4 dst\cf2 , \cf5 // Zielgrafik id\par
\cf2 \cf1 const\cf2 \cf1 char\cf2 * \cf4 text\cf2 , \cf5 // Text\par
\cf2 \cf1 int\cf2 \cf4 blitflags\cf2 =0, \cf5 // blitter\par
\cf2 \cf1 llgfx_sBLITFX\cf2 * \cf4 blitfx\cf2 =0 \cf5 // blitter\par
\cf2 );\cf0\lang3079\b\f1\par
\cf2\lang1033\b0\f0\par
//:--------/---Inline Hilfsfunktionen---/-----------\par
\par
// blitflag = BLIT_FXCOLOR\par
// blitfx.fixalpha = 1.0f\par
// blitfx.color = color\par
\cf1 void\cf2 \cf3 llgfx_DrawText\cf2 ( \par
\tab\tab\cf1 llgfx_id\cf2 \cf4 dst\cf2 , \par
\tab\tab\cf1 const\cf2 \cf1 char\cf2 * \cf4 text\cf2 , \par
\tab\tab\cf1 TxU32\cf2 \cf4 color\cf2 );\par
\cf0 // dst=0\par
// blitflag=0\par
// blitfx=0\par
\cf1 void\cf2 \cf3 llgfx_DrawText\cf2 ( \par
\tab\tab\cf1 const\cf2 \cf1 char\cf2 * \cf4 text \cf2 );\par
\par
\cf0 // dst=0\par
// blitflags = BLIT_FXCOLOR\par
// blitfx.fixalpha = 1.0f\par
// blitfx.color = color\par
\cf1 void\cf2 \cf3 llgfx_DrawText\cf2 ( \par
\tab\tab\cf1 const\cf2 \cf1 char\cf2 * \cf4 text\cf2 , \par
\tab\tab\cf1 TxU32\cf2 \cf4 color \cf2 );\par
\cf1\par
\cf0 // x,y werden nach llgfx_text_xpos - ypos gespeichert, \par
// dst=0, \par
// blitflags=0 \par
// blitfx=0\par
\cf1 void\cf2 \cf3 llgfx_DrawText\cf2 ( \tab\tab\tab\tab\par
\tab\tab\cf1 int\cf2 \cf4 x\cf2 , \par
\cf1\tab\tab int\cf2 \cf4 y\cf2 , \par
\tab\tab\cf1 const\cf2 \cf1 char\cf2 * \cf4 text\cf2 );\par
\par
// dst=0 \cf1\par
void\cf2 \cf3 llgfx_DrawText\cf2 ( \tab\tab\tab\par
\tab\tab\cf1 const\cf2 \cf1 char\cf2 * \cf4 text\cf2 , \par
\tab\tab\cf1 int\cf2 \cf4 blitflags\cf2 , \par
\tab\tab\cf1 llgfx_sBLITFX\cf2 *\cf4 blitfx\cf2 );\par
\par
}