Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenderText_Shaded is missing the second color #2

Closed
stacksmith opened this issue Feb 5, 2016 · 1 comment
Closed

RenderText_Shaded is missing the second color #2

stacksmith opened this issue Feb 5, 2016 · 1 comment
Labels

Comments

@stacksmith
Copy link

The Shaded functions seem to be specified same as Blended and Solid, with a single color argument. According to documentation, Shaded functions have an additional color for the background, like this:

SDL_Surface *TTF_RenderText_Shaded(TTF_Font *font, const char *text, SDL_Color fg, SDL_Color bg)

@Failproofshark
Copy link
Owner

Sorry for the late response, and thanks for the heads up. I will update the definition as soon as I can (most likely some time this week)

ReinUsesLisp added a commit to ReinUsesLisp/cl-sdl2-ttf that referenced this issue May 1, 2017
Fixed issue Failproofshark#2, "Shaded" functions now use take two colors (fg and bg) instead of one.
Added helper function FUNCTION-SYMBOL (concatenates strings and makes an upper-case symbol).
Swapped DEFINE-RENDER-FUNCTION arguments.
@ReinUsesLisp ReinUsesLisp mentioned this issue May 1, 2017
Failproofshark added a commit that referenced this issue May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants