Custom Text Formatting (Previously: Getting long results in a program)
|
04-08-2024, 07:44 AM
Post: #51
|
|||
|
|||
RE: Getting long results in Program
Hello Tyann,
(04-08-2024 05:23 AM)Tyann Wrote: After some thought, a single atextout_p(...l) function doesn't seem too bad. We'll be able to tell from the size of the list of 8 or 9 whether we're in transparency or not Sorry, perhaps I didn't express myself clearly. I completely agree with not using a list in the atextout_p function. I just meant not to create two functions with 8 and 9 parameters, but only one with 9 parameters. In case we need 8 parameters, we can simply pass a predefined value in the 9th parameter (e.g., -1). I think it's time to establish the method of passing formatting attributes. If a string would be acceptable for you, my proposal is as follows: B - bold D - darkening I - italic U - underline S - strikethrough The formatting string could have from 0 to 5 characters. B indicates bold (1 pixel shift), and D indicates triple display, so all combinations can be made, e.g., "BD". If you have a different idea for attributes, please let me know. It would also be good to apply a semi-transparent mode because currently PPL does not support displaying semi-transparent texts. This would have to apply separately to the text and separately to the background. What do you think about this? Piotr Kowalewski |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 70 Guest(s)