how i can implement touch in particular position and  particular box on display?  

  • Hi niku,

    You can simulate screen presses by sending GX_EVENT_PEN_DOWN followed by GX_EVENT_PEN_UP with the same co-ordinates. Here's a snippet of the demo code that's pressing 3 buttons in sequence in GUIX Weather Panel demo on SK-S7:


  • In reply to Renesas Karol:

    how i can create custom widget and implement touch function i refer x-ware pdf but i could not understood this thing can you give me example code if you have for as reference?
  • In reply to niku:

    Hi Niku-
    Have you read over and tried out the GUIX Application Projects?

    The Advanced GUIX one is useful after you have done one of the Hello World examples to get started. If you understand what is covered in these application examples and application notes the GUIX material available in the X-Ware docs zip file should be easier to digest:

  • In reply to WarrenM:

    Hello Warren,

    Thanks for replay,

    I am using custom board.. Actually i already draw a box and text (e.g"string") through code i using gx_canavs_text_draw ()and gx_canavs_line() for drawing box on display okay... and these all things are done properly. but now i want give that box and text touch functionality for selection purpose so how i can do? please suggest me and if you have this type of code so please give me for reference .. it will help me in my project ..!

  • In reply to niku:

    Hi Niku-
    I believe the above application projects show examples of how to do this. Please read them over and try them out. If you still have questions, perhaps you can reference the code in the application project that you are having trouble with.

    I believe it is a good learning experience if you can discover the answer to your questions by reading and understanding working examples.