anuj.tanksali Community Member

  • Member since May 16th 2013
Last Activity

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

  • anuj.tanksali -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hi, Thanks for your reply. By "separate window" do you mean using image widget for each of the drawings? ? If yes then not sure if possible as for the first drawing I can use image widget as it is GIF which I want to show but for drawing other 2 areas…
  • anuj.tanksali -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hello, I was not able to understand clearly. My paint event is SetBkColor(color); GUI_Clear(); if(variable1) { GIF_drawsub(); } if( variable2) { variable2 = 0; drawArc() } if( variable3) { variable2 = 0; GUI_MEMDEV_WriteAt(); } I want to retain…
  • anuj.tanksali -

    Replied to the thread Handle redraw of specific parts of a dialog.

    Post
    Hello, Thanks for your reply. Is my code correct above. if I want to update an area continuously and update different areas intermittently do I need to draw all areas in PAINT as shown in above code. As currently GUI_Clear is called I may have to…
  • anuj.tanksali -

    Posted the thread Handle redraw of specific parts of a dialog.

    Thread
    Hello, I have a GIF animation which I want to continuously show on a dialog window based on a variable. Currently the animation works but it slows down the system. I have a function which is called every 25msec in my super loop while(1). In the function…
  • anuj.tanksali -

    Replied to the thread Dialog Navigation slow.

    Post
    Hello, I was able to display the bmp and rotate it through memdev. I created the memdev's required in a different function, performed the rotate and kept the memdev ready. I displayed the memdev in WM_PAINT by GUI_MEMDEV_WriteAt…
  • anuj.tanksali -

    Replied to the thread Dialog Navigation slow.

    Post
    Hello, I tried out as per the link given but facing some issues. I have made a function which does the task of writing to memory device. My code is as below, static GUI_MEMDEV_Handle hDst = 0; static GUI_MEMDEV_Handle hSrc = 0; int xSize = 235; int…
  • anuj.tanksali -

    Replied to the thread Dialog Navigation slow.

    Post
    Hello, Thanks, I checked out the above link and will try it. There is a onpaint function for the dialog so the above code should go in onpaint or in my normal superloop while(1)? as we have to rotate the bmp at runtime depending on angle. If there is…
  • anuj.tanksali -

    Replied to the thread Dialog Navigation slow.

    Post
    Hello, Thanks for your reply. I have the circular image with arrow at 90 deg position. Can we use memdev to draw the image and then rotate it. I think it will be possible. please me know. Thanks Regards Anuj
  • anuj.tanksali -

    Replied to the thread Dialog Navigation slow.

    Post
    Hello, Thanks for the reply. I have already used the LCD_SetDevFunc() to set the custom copy buffer function. I will check the DMA option. Will using 3 buffers cause an improvement in speed regarding dialog loading? As mentioned above the knob widget…
  • anuj.tanksali -

    Posted the thread Dialog Navigation slow.

    Thread
    Hello, I have a number of dialog windows for screens and navigate from one dialog to another. I had used RGB565 with multibuffering and Memdev enabled using WM_SetCreateFlags(WM_CF_MEMDEV) but observed dialog loading is slow. I call GUI_exec()…
  • anuj.tanksali -

    Replied to the thread Reistive touch issue.

    Post
    Hi , Thanks for your reply. I realized this earlier and had already corrected the code but still same issue. Please see latest code below, touchState is declared as static uint16_t touchX = 0; uint16_t touchY = 0; uint8_t pressed = FALSE; static…
  • anuj.tanksali -

    Posted the thread Reistive touch issue.

    Thread
    Hello, Am using iMXRT1064 with Emwin library and 7" resistive touch screen. I am using a custom ADC driver to read x and y values. // points p0,p1,p2 x and y pixels int touchRefValX[3] = {40,760,400}; int touchRefValY[3] = {24,240,456}; // ADC x and y…
  • anuj.tanksali -

    Replied to the thread Colors issue on Hardware.

    Post
    Hi Florian, Thanks for the reply. Just a point to mention the colors look same when compared with the colors on LCD but on the LCD they look dull when compared with the simulation. Regards, Anuj
  • anuj.tanksali -

    Posted the thread Colors issue on Hardware.

    Thread
    Hi, I am using a simulator for my application and porting the code to my Hardware on iMXRT1064. I see a difference in colors on my PC simulation application when compared to colors on the LCD with hardware. color mode is RGB 565 on both simulation and…