Re: [AD] to prefix or not to prefix (sigh) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> - Get rid of (some) global variables and states. E.g. `text_mode()'
> could be an argument to `textout()' rather than a global variable. (I've
> never understood why background and foreground color should be treated
> differently in the API.) I don't know if it is worth the effort though.
And probably fix a thing that is problematic with text_mode(), and it is
that when you use for example a RGBA color (say for example 250, 250, 250,
250, that is 0xFAFAFAFA, it gets interpreted as a negative number, that is,
transparent mode when it is not.