Thursday, November 23rd 2017, 12:01pm UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 414.

Yesterday, 10:16am

Author: SEGGER - Schoenen

Memory devices and M888 color conversion

Hi, The color conversion GUICC_888 and GUICC_M888 do not contain transparency information. You might try to use GUICC_8888 or GUICC_M8888I. Regards Sven

Yesterday, 10:09am

Author: SEGGER - Schoenen

how to use external SDRAM of stm32f746 discovery board to run lager memory codes of emwin

Hi, At first you have to initialize the external RAM, there is a sample intialization comming from STM which can be used. Now you have to tell the linker to place the GUI memory at an address in this SDRAM (on the STM32F46 Discovery it starts at 0xC0000000 I guess). Depending on your toolchain the declaration of the GUI memory (inside GUIConf.c) might look like this (.GUI_RAM is a label placed into the SDRAM): static U32 aMemory[GUI_NUMBYTES / 4] __attribute__((at(0xC0000000))); But be aware tha...

Yesterday, 10:00am

Author: SEGGER - Schoenen

Bug in GUI_ALLOC_GetNumFreeBlocks?

Hi, If a used block gets freed it doesn't mean it gets also deleted. It might get re-used at a later point if it fits the number of requested bytes. This means that the number of free blocks can increase over time. For example, at some point there where a lot of small blocks required, now they are freed but not deleted. Then one large block gets allocated, and the number of free bytes decreases while the number of free blocks has been increased. Lets say each letter in the brackets is 1 byte 1. ...

Yesterday, 9:19am

Author: SEGGER - Schoenen

Draw into child windows from parent paint function

Hello Max, Each window should take care about its own content. So, window P should draw only into itself and window C should draw only into window C. If you want that window C changes its content you have to tell the cild window to do so. You can use WM_Invalidate() to mark the the child window as invalid and it gets redrawn the next time GUI_Exec() or GUI_Delay() gets called. But be aware, do not call WM_Invalidate() from within WM_PAINT this might lead to at least too many redraws or in the wo...

Thursday, November 16th 2017, 10:03am

Author: SEGGER - Schoenen

TEXT widget with transparent bk

Hi, A transparent background is pretty useful if you don't have a solid color in the background, e.g. a bitmap. If a TEXT widget shouldn't display anything you simply set "" as string or call WM_HideWin(hText) to make it disappear. Regards Sven

Thursday, November 16th 2017, 10:00am

Author: SEGGER - Schoenen

ILI9163 LcdConf

Hi, Here is an example which can be used as a reference. You have to set your own read/write functions in LCD_X_Config() and of course adapt the initialization sequence, but this should give an idea how to proceed. Regards Sven

Thursday, November 16th 2017, 9:54am

Author: SEGGER - Schoenen

emWin and DMA2D

Hi, LCD_ControlCache() makes only sence if you are usin a driver for an indirect interface like GUIDRV_FlexColor. With GUIDRV_Lin it has no effect. Regards Sven

Tuesday, November 14th 2017, 9:36am

Author: SEGGER - Schoenen

How to get the window ID?

Hi, As Raash mentioned you can use the function WM_GetId(). But it will work only for widgets which have an id set. To get it working for normal windows you have to set a callback for the window and react on the message WM_GET_ID. When reacting on WM_GET_ID store the ID in pMsg->Data.v. More information are available in the emWin user manual in chapter 18.6.2 'List of messages' under the description of WM_GET_ID. Regards Sven

Tuesday, November 14th 2017, 9:32am

Author: SEGGER - Schoenen

emWin and DMA2D

Hi, emWin doesn't offer this functionality. It is not part of the emWin library itself. The LCDConf.c you are referring to configures just the interface between emWin and the hardware. How this is done is more or less user defined. So, please feel free to modify the LCDConf.c as you wish. Regards SVen

Tuesday, November 14th 2017, 9:27am

Author: SEGGER - Schoenen

Multiple Buffering

Hi, Of course you can use Memory Devices with multibuffering. If multibuffering is enabled you can not use virtual screens. Regards Sven

Friday, November 10th 2017, 11:22am

Author: SEGGER - Schoenen

Setting call back for emwin function GUI_SetRefreshHook() function

Hi, This function gets only called when using a cached version of an indirect display driver. It won't be called when using GUIDRV_Lin. The most common indirect display driver is most likely the GUIDRV_FlexColor driver. To get this function called you have to choose the cached version of the driver, for example: GUIDRV_FlexColor_SetFunc(pDevice, &PortAPI, GUIDRV_FLEXCOLOR_F66709, GUIDRV_FLEXCOLOR_M16C1B8); The red one stands for cache enabled. If you are using GUIDRV_Lin you should use the multi...

Friday, November 10th 2017, 8:19am

Author: SEGGER - Schoenen

Screen Dump/Capture Using Memory Devices

Hi, GUI_MEMDEV_CopyFromLCD() selects automatically the given memory device. A call of GUI_MEMDEV_Select() is only required if you want to perform drawing operations like GUI_DrawLine(), GUI_DrawBitmap(), or draw another memory device into another with GUI_MEMDEV_Write(). Regards Sven

Thursday, November 9th 2017, 4:33pm

Author: SEGGER - Schoenen

Re-initialising DIALOG???

Hi, You can call WM_SendMessageNoPara(hDialog, WM_INIT_DIALOG) and the dialog will receive WM_INIT_DIALOG again. But take care that you don't create widgets multiple time. For example, if you call WM_CreateWindow() inside WM_INIT_DIALOG. Another way might be to delete the dialog and create it again. Regards Sven

Thursday, November 9th 2017, 4:29pm

Author: SEGGER - Schoenen

FONT - more detail please!

Hi, Unfortunately, the values 0x21 and 0x22 are used for GUI_KEY_PGUP and GUI_KEY_PGDOWN. You can get around of this by calling EDIT_AddKey(hItem, 0x21) and EDIT_AddKey(hItem, 0x22). Regards Sven

Thursday, November 9th 2017, 4:12pm

Author: SEGGER - Schoenen

Edit not displaying chars created with Font Converter?

Hi, Not sure, can you post your application or at least a part of it which shows how you set up the EDIT widget and how the characters/strings are getting set? Did you set the font to the EDIT widget? Which character should be displayed? Regards Sven

Thursday, November 9th 2017, 4:08pm

Author: SEGGER - Schoenen

Screen Dump/Capture Using Memory Devices

Hi, In general I would do it the same way. I would leave out the GUI_MEMDEV_Select() calls, but the rest looks fine so far. Attached is an example which copies the content of the screen and draws it to the background each time the 'Capture Screen' button gets pressed. Regards, Sven

Thursday, November 9th 2017, 3:13pm

Author: SEGGER - Schoenen

Multiple Buffering

HI, Each buffer has to be large enough keep data for the whole display. It gets placed into the same area as the framebuffer. The different buffers have to be placed consecutively. When allocating memory for the framebuffer (including memory for multi buffering) you can calculate it like this: LCD_X_SIZE * LCD_Y_SIZE * BYTES_PER_PIXEL * NUM_BUFFERS Regards Sven

Wednesday, November 8th 2017, 9:59am

Author: SEGGER - Schoenen

[Question] About emwin library and embOS

Hi, For me this sound like a configuration issue. In general it shouldn't be required to define the LCD_L0_xxx() functions. Are you using a pre-compiled library offered by a silicon vendor (like STM)? Which emWin driver are you using? Can you post your configuration files (GUIConf.c/.h and LCDConf.c)? Are you using the proper embOS library? It seems you configured embOS to be used as release build but don't use the release library. In RTOS.h the function OS_CreateTask gets defined according to t...

Wednesday, November 8th 2017, 9:42am

Author: SEGGER - Schoenen

GUI KEY Define conflicts for GUI_KEY_PGUP and GUI_KEY_PGDOWN in header GUI.h

Hi, Regarding the conflicts of GUI_KEY_PGUP and GUI_KEY_PGDOWN with ASCII characters, we will discuss this. Which emWin Version are you using? The possibility to scroll up and down with page up and down was first introduced in version 5.38 of emWin. Regards Sven

Monday, November 6th 2017, 3:18pm

Author: SEGGER - Schoenen

MULTIPLE BUFFERING with GUIDRV_FlexColor driver

Hi, Multibuffering doesn't work with the GUIDRV_FlexColor driver and the SSD1963. You should use the cached version of the driver insead. As far as I know the SSD1963 doesn't support multiple buffers. Regards Sven