MULTIPAGE gradient window background

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • MULTIPAGE gradient window background

    Hello!

    I'm trying to set up an application, which uses MULTIPAGE widget. Now, I have successfully created my pages, and I can add other object to this view (button, texts, etc), but I can not figure out, how to change the background of this window. I carefully looked through the documentation, and this is I want to achieve: [img]http://s24.postimg.org/q0cg8f251/Untitled.png[/img]

    But rather than using one color, I'd want something like this:

    C Source Code

    1. GUI_DrawGradientV(0,0,320,240, GUI_BLACK, GUI_BLUE)


    I'm sure it is not that hard, but cant seem to figure it out...
    Thanks for the help in advanced!
  • Hi,

    Please find attached a sample which shows how it works.

    Regards, Jörg
    Images
    • Support_151118_CustomMultipage.png

      846 Byte, 312×50, viewed 508 times
    Files
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.