Hello! I need to render a string gadget with custom (say user defined) background and text colors. I couldn' t find any helpful example. Any idea?
Thanks, regards
Massi
Which GUI engine? MUI, ReAction, GadTools, native Intuition?
Well I have ReAction in mind.
Did you consider reading the autodocs and making an example by yourself? STRINGA_Pen and STRINGA_ActivePens are probably the attributes you are after.
Yes, I also focused on those attributes, but how to fill them? My guess so far is through IGraphics->ObtainBestPenA() / IGraphics->ReleasePen() but I am not sure about it. Investigation ongoing.
Fresh example: http://thomas-rapp.homepage.t-online.de/examples/getstr.c
Thanks, really handy example.
Which GUI engine? MUI, ReAction, GadTools, native Intuition?
Well I have ReAction in mind.
Did you consider reading the autodocs and making an example by yourself? STRINGA_Pen and STRINGA_ActivePens are probably the attributes you are after.
Yes, I also focused on those attributes, but how to fill them?
My guess so far is through IGraphics->ObtainBestPenA() / IGraphics->ReleasePen() but I am not sure about it.
Investigation ongoing.
Fresh example: http://thomas-rapp.homepage.t-online.de/examples/getstr.c
Thanks, really handy example.