Search Results
Search results 1-20 of 1,000. There are more results available, please enhance your search parameters.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi, This is most likely because the lines do overlap each other. Unfortunately, there is no way to avoid it. You might try the SPLINE drawing operations: segger.com/doc/UM03001_emWin.html#Drawing_splines wiki.segger.com/Spline_(Sample) Regards, Sven
-
Hello, You can try the following. - Select an object in the hierarchic tree - Hold the ALT key on the keyboard - Drag the object in the editor window with your mouse Alternatively you can select the object in the hierarchic tree and modify its position by editing its properties in the the properties window on the right hand side. Regards, Sven
-
Hi, Unfortunately, there is no dedicated API function to copy an entire dialog into a memory device. But, you can create a memory device with the same size as the dialog at the same position and copy the LCD content into the memory device. This might look like this: C Source Code (6 lines)Attached is an example doing this. Regards, Sven
-
Hi Rowel, Actually, in the latest version we have fixed an issue with job processing. I have updated the AppWizard version available for download on our website: segger.com/downloads/emwin/ You might want to give it a try. Regards, Sven
-
Hi, I guess you have already a solution, but I'll post it just in case other people have a similar problem. Here is the code showing how to hook into the drawing process of the GRAPH widget and fill the area under the GRAPH. You might want to improve it by searching the largest rectangular area under the GRAPH and fill it with GUI_FillRect() instead of line by line. You can use the switch USE_PUNCH_OUT_DEVICE fill the the area with a gradient. C Source Code (171 lines)Best regards, Sven
-
Hi, You can change the bitmap by triggering the SETBITMAP job. To do so you have to set up a APPW_PARA_ITEM structure with the desired information and call APPW_DoJob(). This might look like this: C Source Code (5 lines)You will find a description of the parameter either in AppWizard.h or in the manual under the job description: segger.com/doc/UM03003_AppWizard.html#List_of_jobs Attached is an example which changes the bitmaps on a timer event. Check out ID_SCREEN_00_Slots.c regarding the code. …
-
Hi, With the default skin of the BUTTON widget the functions BUTTON_SetBkColor() and BUTTON_SetTextColor() are not working. Either set the classic skin or use SKINFLEX properties to change properties like colors. If you overwrite the callback function of a widget you can call the default callback function (e.g BUTTON_Callback()) and then draw something. Here is a brief example how this could be done: C Source Code (81 lines) Best regards, Sven
-
Hi, Quote from JackO: “Does emWIN work with the GC9A01 Driver? ” Never had one of these controllers on my desk, but according to the data sheet it should work. It seems the commands of the GC9A01 are compatible with GUIDRV_FLEXCOLOR_F66709 and GUIDRV_FLEXCOLOR_F66720. GUIDRV_FLEXCOLOR_M16C1B8 should be correct, too. A cache is required, as there are no read operations possible (you already figured this out). I'm not entirely sure how it behaves with read functions being set. So, maybe you have t…
-
Hi, You have to link the "GUI-memory" into the SDRAM. How this is done depends our your linker. emWin will allocate memory only from the block set with GUI_ALLOC_AssignMemory(). Here is an example from a GUIConf.c which does it. C Source Code (48 lines) If you are using the GUIDRV_Lin driver you might also want to link the frame buffer to the external memory. This is most likely done the same way as with the "GUI-memory". Regards Sven
-
Hi, You are right, there was a bug related to setting a new string with the same length as the old string. If that's the case the widget wasn't invalidated. Your working is almost good. Instead of setting an empty string I would simply mark the window as invalid and tell its parent about the changed text (if required). C Source Code (10 lines)Regards, Sven
-
Hi, You can set a hook function with GUI_SetControlHook() to react on the three cache commands, LCD_CC_LOCK, LCD_CC_FLUSH and LCD_CC_UNLOCK. This hook function is called right before emWin performs the desired operation. You might try to react on LCD_CC_FLUSH and wait for your VSYNC signal before letting emWin continue and update the screen. Something like this: C Source Code (25 lines)Regards, Sven
-
Hi, Unfortunately, this is not possible. Just imagine the rectangle to be send to the display has not the width of the display. Although we have a pointer to the start address we can not send it as one complete block as the memory is interrupted by pixel data not belonging to the rectangle (see attached). You might try to use the window create flag WM_C_MEMDEV when creating a window. This will result in automatic usage of memory devices. Every drawing operation into a window will be performed in…
-
Hi, If you are using the AppWizard which is provided by Renesas you can select a BSP for the RX65N from within the AppWizard. Go to Project -> Edit Options In the upcoming dialog you can select a BSP for the RX65N Envision Kit. The BSP will be located in the AppWizard project directory in the "Target" folder: c:\AppWizard\<ProjectName>\Target\ This can be opened with e²Studio. Regards, Sven