Search Results

Search results 1-20 of 70.

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

  • Font Converter issue

    anuj.tanksali - - emWin related

    Post

    Hello, Thank you for your reply. But as the font is different in any case should it not generate different name file. suppose i have used one bold pt font and one regular font in my project with different pts. if the file names for both are same suppose then when i will generate the 2nd font as it has same name it will replace the first font file in my project which is not correct. If one does not keep a track then it is more likely that the font applied for widgets will be changed unknowingly. …

  • Font Converter issue

    anuj.tanksali - - emWin related

    Post

    Hello, I am using Font converter ver 5.48d. I generate the fonts by selecting using pt option instead of pixels. I have observed that when i select Century Gothic Regular font 9pt and 10pt, for both the file name generated is the same i.e. Century Gothic17.c. is this expected? . Visually the font seem different. For bold option and different pt size then also file generated is Century Gothic17.c. Thanks Regards, Anuj

  • Hello, I used the latest version 6.14 simulation and my same code worked fine without any issue. I am currently using 5.48 version. I observed the emwin memory usage by using GUI_ALLOC_GetMaxUsedBytes and in 6.14 version the usage bytes is almost double than in case of 5.48 version. Version 5.48 and 6.10 give me the same application crash issue with GUI_MEMDEV_BlendWinBk but issue is not present for 6.14 version. Is this an issue with 5.48 version not allocating enough memory? Thanks Regards, An…

  • Hello, Thanks for your reply. I cannot share the code but i debugged the issue and found that when i reduce the widgets from the widget resource table then the issue is not observed const GUI_WIDGET_CREATE_INFO ScreenWidgetTable[] = { \ \ { WINDOW_CreateIndirect, NULL,GUI_ID_WINDOW_0,0,0,0,0,0, 0, 0 }, { BUTTON_CreateIndirect, "CANCEL", GUI_ID_BUTTON_CANCEL,0,0,0,0,0, 0, 0 }, { BUTTON_CreateIndirect, "CONFIRM", GUI_ID_BUTTON_CONFIRM,0,0,0,0,0, 0, 0 }, //{ TEXT_CreateIndirect,"",GUI_ID_TEXT_VARIA…

  • Iconview spacing

    anuj.tanksali - - emWin related

    Post

    Hello, Thanks for your reply. Regards, Anuj

  • Iconview spacing

    anuj.tanksali - - emWin related

    Post

    Hello, I am using a iconview widget and it consists of 6 icons 3 on top row and 3 on bottom row. The width of iconview is around 550 pixels so i have to add spacing in between to align the icons to fit 3 on top and 3 on bottom to 550 pixels. When i press and release the area between the icons i receive the release event which i do not want. The iconview should give the event only if the icon area is clicked. how can this be achieved. Thanks Regards, Anuj

  • Hello, Thanks for the information. Regards, Anuj

  • Hello, Please let me know how can i proceed further to resolve the above issue. Regards, Anuj

  • Hello, I am facing a problem related to GUI_MEMDEV_BlendWinBk . I display 6-7 windows one after another in my application. Please see my flow below, 1) Display Window 1 - after some delay delete window 1 and display window 2 2) Display Window 2 - on button click delete window 2 and display window 3 3) Display Window 3 - on button click delete window 3 and display window 2 4) Display Window 2 - after some delay delete Window 2 and display window 4 5) Display Window 4 - on button click delete Wind…

  • Hi, I wanted to know exactly what GUI_NUMBYTES memory is used for. If i have multiple windows and respective widgets and i always have to increase the memory if any new window is added. Is there any way to avoid this? Thanks Regards, Anuj

  • Hello, Are there any limitations of using the window related functions show and hide in WM_PAINT message. Also can i get a list of functions which should not be called from WM_PAINT message. Thanks Regards, Anuj

  • Hello, I wanted to disable button pressed and unpressed effect. The pressed and unpressed effect which is visible when button is pressed and released. Is there a way to do this? Thanks Regards, Anuj

  • GIF image drawing

    anuj.tanksali - - emWin related

    Post

    Hi, Thanks for your reply. i am familiar with GIMP and the last option would be using individual c files but wanted to know if there is any emwin api to get the images from the GIF at runtime and use IMAGE_SetGIF(). it seems there is not. Thanks, Regards Anuj

  • GIF image drawing

    anuj.tanksali - - emWin related

    Post

    Hi, Thanks for your inputs. How do i get each sub image as a c bitmap? How do i create the .c file for each sub image? Is there any way to get the sub image pointer from the gif image and use image widget to draw the sub image? Thanks Regards, Anuj

  • GIF image drawing

    anuj.tanksali - - emWin related

    Post

    Hi, Previously i was using the systic timer and IMAGE_SetBitmap to set the GIF but the GIF drawing is slow and stops in between. I am able to draw GIF images using GUI_GIF_DrawSub in paint and calling WM_InvalidateArea every 25 msec with the rectangle area which is to be updated and it is working fine. I am looking other methods which can be used to achieve the same result but with best perfromance. 1) use the above mentioned method 2) use image widget and set the individual gif sub image every …

  • Hi I was able to achieve what i wanted but facing a issue with Knob transparency. Please see the image attached. When the white window is shown on save button click then the transparency of knob widget in background window disappears. for the knob widget i have created a memdev when the window 1 is shown initially the knob is drawn ok with transparency but disappears with new window shown. The background window knob widget initialization is below, hKnob = GetWindowItem(pMessage->hWin, GUI_ID_KNO…

  • Hi, Thanks for your reply, I am sorry i cannot share any code. But I found the root cause. when i hide the knob widget from the background window and then call createwindow2 to create the smaller window then the extra rectangle is not observed. if i do not hide the knob widget then instead of GetClientRect(&pRect) called in window 2 paint i used WM_GetWindowRectEx() to get coordinates of the actual window i.e. smaller window by passing the window handle. this works and i do not get the extra rec…

  • Hello, I have two dialog boxes one larger one which fills the whole screen 800x480 other smaller one which is like a prompt window placed at center of the screen. Both these dialog boxes have same callback function and i have respective functions to call on paint event received let us use window1 and window2 for reference. i maintain the indexes of the windows. when only the window1 is shown then respective onpaint is called and it is drawn ok. i call a function on button release event to create…

  • Blur Dialog box background

    anuj.tanksali - - emWin related

    Post

    Hello, I was able to resolve the issue. For the background screen i did not use GUI_MAKE_COLOR while setting the background color. Is there any way to achieve the background effect without using MEMDEV? As MEMDEV uses lot of memory and on hardware memory might be an issue. Thanks Regards Anuj

  • Blur Dialog box background

    anuj.tanksali - - emWin related

    Post

    Hello, I have two dialog boxes one which fits the whole screen 800x480 and one which is smaller. I wanted to blur the background when the second smaller dialog box is shown. Am using GUI_MEMDEV_BlurWinBk(handle of larger dialog box, 0, 10) the background is blurred but the background color set to the larger dialog box changes to black. The original background color for the larger dialog box is grayish. What could be the issue. Thanks Regards, Anuj