achimdoebler/UGUI

Inconsistent API UG_PutChar UG_PutString

Opened this issue · 0 comments

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.