achimdoebler / UGUI

µGUI - Open Source GUI module for embedded systems
Other
1.2k stars 415 forks source link

Inconsistent API UG_PutChar UG_PutString #40

Open mrbell321 opened 3 years ago

mrbell321 commented 3 years ago

https://github.com/achimdoebler/UGUI/blob/ce0bccb5b7d4877c42081419fccadf7aa5727303/ugui.h#L898-L899

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.