Jump to content

craigzyc

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by craigzyc

  1. So it seems the very basic system is working but nothing else. 

    I have the config file setup correctly and I can draw shapes, etc on the screen. Making a call to the below causes a core panic.

    //with defines
    #define   textColor    HTML2COLOR(0x001f2b)
    font_t font = gdispOpenFont("UI2");
    
    //in setup
    gdispGDrawString(0,20,20,"TEST",font,textColor);
    
    //These work in setup
    gdispFillArea(0, 0, 320, 240, mainBackground);
    gdispFillArea(0, 0, 320, 40, menuActive);
    gdispDrawLine(0,40,320,40, menuOutline);

     

    Also trying to use the GWIN module needs the GINPUT module and that fails. I'm far from figuring that out but it's only worth the effort if I can get the text to draw. 

     

    Maybe I have a false understanding of uGFX. 

    I would like to make some widgets on the screen that I can move and update from code. I'd like to handle the navigation on my own and be able to highlight areas, etc. Why do I require GINPUT to use GWIN?

×
×
  • Create New...