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

Inconsistent API UG_PutChar UG_PutString #40

Open
mrbell321 opened this issue Sep 9, 2020 · 0 comments
Open

Inconsistent API UG_PutChar UG_PutString #40

mrbell321 opened this issue Sep 9, 2020 · 0 comments

Comments

@mrbell321
Copy link

UGUI/ugui.h

Lines 898 to 899 in ce0bccb

void UG_PutString( UG_S16 x, UG_S16 y, char* str );
void UG_PutChar( char chr, UG_S16 x, UG_S16 y, UG_COLOR fc, UG_COLOR bc );

UG_PutString, as with most other functions, has the location first, then the object, and also use the previously set colors.
UG_PutChar, on the other hand, has the object first, then the location, and then color information.
This makes for an inconsistent UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant