Skip to content

Commit

Permalink
Added a couple of comments to gl_drawcompositefont.h explaining the t…
Browse files Browse the repository at this point in the history
…erms Text and Text fragment in the context of this API.
  • Loading branch information
danij-deng committed May 22, 2010
1 parent 9b3df05 commit 0b5fa1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/plugins/common/include/gl_drawcompositefont.h
Expand Up @@ -84,7 +84,7 @@ void R_InitFont(gamefontid_t fontid, const fontpatch_t* patches, size
/*@}*/

/**
* Text strings (formatted).
* Text strings: A block of possibly formatted and/or multi-line text.
*/
void GL_DrawText(const char* string, int x, int y, gamefontid_t font, short flags, int defTracking, float defRed, float defGreen, float defBlue, float defAlpha, boolean defCase);

Expand All @@ -93,7 +93,7 @@ int GL_TextWidth(const char* string, gamefontid_t font);
int GL_TextHeight(const char* string, gamefontid_t font);

/**
* Text string fragments:
* Text string fragments: A single line of unformatted text.
*/
void GL_DrawTextFragment(const char* string, int x, int y);
void GL_DrawTextFragment2(const char* string, int x, int y, gamefontid_t font);
Expand All @@ -108,7 +108,7 @@ int GL_TextFragmentWidth2(const char* string, gamefontid_t font, int
int GL_TextFragmentHeight(const char* string, gamefontid_t font);

/**
* Single character:
* Single character.
*/
void GL_DrawChar(unsigned char ch, int x, int y);
void GL_DrawChar2(unsigned char ch, int x, int y, gamefontid_t font);
Expand Down

0 comments on commit 0b5fa1f

Please sign in to comment.