Sunday, February 18th 2018, 8:39pm UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 491.

Friday, February 16th 2018, 10:14am

Author: SEGGER - Schoenen

vnc emwin problem

Hi, I tried to reproduce that. I created a pretty large screen on target side (1920x1080) and connected via VNC. It is getting slow but it doesn't crash or disconnect. Quoted it closes with the slightest shaking of the VNCemwin mouse So you mean the PC mouse? Do you have the emWin cursor enabled? Regards Sven

Wednesday, February 14th 2018, 4:51pm

Author: SEGGER - Schoenen

vnc emwin problem

Hi, If you move the mouse quickly the emVNC.exe closes? I will check that. Which version of emVNC.exe are you using? Regards Sven

Wednesday, February 14th 2018, 4:33pm

Author: SEGGER - Schoenen

Watch running application (Target Hardware) on the PC

Hi, to live stream the content of the display I would recommend to use VNC. This is probably all you need (content of the display and you can control it via your mouse from PC side). This would also you to stream the content of a target which not even has a display mounted. You just need a framebuffer which can read and written by emWin. Which hardware are you using? You might want to take a look on our website mabye you will find a project which already includes anything you need. For exampel f...

Wednesday, February 14th 2018, 4:26pm

Author: SEGGER - Schoenen

PNG image show problem

Hi, As said this shouldn't be necessary. The header file GUI_Debug.h should be included indirectly via other header files. I suppose that something is not configured properly in the project you are using. Regards Sven

Wednesday, February 14th 2018, 4:05pm

Author: SEGGER - Schoenen

multilayers only visible in composite view not in display

Hi, The composite view should show all layers mixed together. Also there are different settings for the simulation how to show a multiple layer set up. This can be some sort of a simulated device or a simple Windows window showing all the single layers and one composite view. What is shown depends on how the simulation is configured. Attached is an example for a multi layer set up for the simulation. You might want to play around with the configurations in the file SIMConf.c. Regards Sven

Wednesday, February 14th 2018, 3:57pm

Author: SEGGER - Schoenen

Reading Multiedit text data via pointer

Hi, I'm afraid but this is not possible right now. There is no way to get a pointer to the memory address of the text from outside the emWin library. Since we think that this would be a useful enhancement for the MULTIEDIT widget, we will add such a function for the MULTIEDIT widget in the future. But I can not say when this will happen and how long it will take for the silicon vendors to release this version. If you buy a source code upgrade of emWin we could implement this function directly an...

Wednesday, February 14th 2018, 3:41pm

Author: SEGGER - Schoenen

PROGBAR doesn't change colors

Hi, For some widgets it is not possible to change the color with functions like <WIDGET>_SetColor() because they use a skinning routine to draw themself (e.g. the PROGBAR widget). To change the colors to be used you can set the properties (like the colors) for the widget with the function <WIDGET>_SetSkinFlexProps() (or in this case PROGBAR_SetSkinFlexProps()). Best way is to read the properties and write them back. This allows you to change only one property and leave the other unchanged. Anoth...

Wednesday, February 14th 2018, 3:33pm

Author: SEGGER - Schoenen

Format of sif file of font

Hi, The information about the SIF format can be found in the emWin user manual in chapter 11.3.2 'System Independent Font (SIF) format'. In general it has the same format as a c-file but in binary form. Also the order of the information is vice versa. Regards Sven

Wednesday, February 14th 2018, 3:27pm

Author: SEGGER - Schoenen

LISTWHEEL with semitransparent background

Hi, Unfortunately, it is not that easy. If the LISTWHEEL gets created with the transparency flag set it will be completely transparent and does not fill its background. If you want a semi transparent background you have to set a owner draw function. Within that owner draw function you check for the item which background should be drawn. Then call GUI_EnableAlpha(1) to enable the use of the alpha bits of a color, perform a clear, and disable the use of the alpha bits again. After that call LISTWH...

Wednesday, February 14th 2018, 2:10pm

Author: SEGGER - Schoenen

PNG image show problem

Hi, Are your include directories properly set? These defines can be found in GUI_Debug.h and IMAGE_Private.h, which are part of the emWin package. In general All you have to do is adding all files from the png download to your project and set an include directory to the location of these files. Regards Sven

Thursday, February 8th 2018, 2:02pm

Author: SEGGER - Schoenen

How to get position of a child window in window coordinates

Hi, To get the position of a window relative to its parent simply subtract the screen position of the parent from the screen position of the child window. Try this: C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 #include "DIALOG.h" /********************************************************************* * * Static code * **********...

Thursday, February 8th 2018, 12:02pm

Author: SEGGER - Schoenen

How to know width in pixel of a TEXT widget from inside the callback?

Hi, While calling GUI_GetStringDist) within WM_PAINT the default font is still set and you will receive the string length in pixel in combination with the default font. To get the string length of from the TEXT widget you have to set the font used by the text widget before calling GUI_GetStringDist). Try this: C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 #include "GUI.h" #include "TEXT.h" #in...

Monday, February 5th 2018, 4:33pm

Author: SEGGER - Schoenen

stemwin 5.32 : Delete Item in swipelist crashes

Hi, It's hard to say what is going wrong here. Can you post a small example which shows how to reproduce it? Regards Sven

Monday, February 5th 2018, 4:31pm

Author: SEGGER - Schoenen

STM32H7 GUI_MULTIBUF and screen tearing...

Hi, are you using the sample LCDConf.c provided by STM? On the first look it should work. C/C++ Source code 1 2 3 4 5 GUI_MULTIBUF_Begin(); GUI_DrawBitmapEx(&bmminus1, 285, 300, 0, 0, 300, 300); // Tearing occurs at this line GUI_MULTIBUF_End(); With the code above the bitmap should appear after GUI_MULTIBUF_End(). Where a do you call this code? If you call it from within a WM_PAINT case of a window callback there is no need to call any multi buffering API. Just call WM_MULTIBUF_Enable(1) before...

Monday, February 5th 2018, 4:24pm

Author: SEGGER - Schoenen

SWIPELIST_addItem and AddItemText documentation error

Hi, thanks for the hint, we will change that. Regards Sven

Monday, February 5th 2018, 4:22pm

Author: SEGGER - Schoenen

Intercepting keys in callback()

Hi, This is kind of tricky, because there are two things to consider. First is, after clicking the DROPDOWN widget the listbox will get the focus and therefore the DROPDWON won't receive any key messages once it is expanded. The other one is that the LISTBOX is created dynamically and it is not easy to set callback for the LISTBOX of the DROPDOWN widget. Attached is an example on how you could do it anyway. I have set a callback for the DROPDOWN widget. It only checks if a LISTBOX is present and...

Monday, February 5th 2018, 3:41pm

Author: SEGGER - Schoenen

Screen cut off after moving from STemWin 5.32 to 5.40

Hi, Unfortunately, I don't have any idea regarding the split screen, yet. One thing I could image is a wrong frame buffer address. But if you didn't changed anything here between 5.32 and 5.40 I doubt this is the issue. Regarding the colors, please try to add the following line to yor GUIConf.c: C/C++ Source code 1 #define GUI_USE_ARGB (1) In general it shouldn't have an effect when using a pre-compiled library but it might be possible that the libraries from V5.32 where build without this defin...

Monday, February 5th 2018, 2:55pm

Author: SEGGER - Schoenen

WM_NOTIFICATION_RELEASED message not fired

Hi, First thing you might want to try is to return the last measured coordinates even if the IsPressed variable is 1. If this doesn't work can try something like this: C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 static int aRefX[] = { 10, 790, 790, 10, 400 }; // These are reference points static int aRefY[] = { 10, 10, 470, 470, 240 }; static int aSampleX[] = { 10, 2030, 2030, 10, 1015 }; // These are A/D val...

Monday, February 5th 2018, 2:08pm

Author: SEGGER - Schoenen

Selectively activate MEMDEV for each window

Hi, In the second _aDialogCreate structure you have enabled automatic use of memory devices only for the 'root' window but not for the child windows. You have to set the WM_CF_MEMDEV_ flag for all windows you want to use memory devices. Like this: C/C++ Source code 1 2 3 4 5 6 7 8 9 10 static const GUI_WIDGET_CREATE_INFO _aDialogCreate[] = { { WINDOW_CreateIndirect, NULL, ID_WINDOW_0, 0, 0, 480, 272, WM_CF_MEMDEV, 0x0, 0}, // This window will use memory devices { LISTWHEEL_CreateIndirect, NULL, ...

Monday, February 5th 2018, 2:01pm

Author: SEGGER - Schoenen

GRAPH SetPenSize Problem

Hi, The function GRAPH_XY_SetPenSize() is only for setting the pensize of a XY-graph. You have created a YT-graph and can't use the XY related functions. Unfortunately, there is no way to adapt the pensize for a YT-graph. In this case you could try to set a user draw function with GRAPH_SetUserDraw() or create your own graph with function the GUI_DrawGraph(). Regards Sven